Class Record

Index

Methods

Methods

public static addMembers(members?: any)

[Method] Add methods properties to the prototype of this class

Parameters

  • members?: any optional

    Object

public static addStatics(members?: any): IBase

[Method] Add override static properties of this class

Parameters

  • members?: any optional

    Object

Returns

IBase

Ext.Base this

public static callParent(args?: any)

[Method]

Parameters

  • args?: any optional

    Object

public static create(): any

[Method] Create a new instance of this Class

Returns

any

Object the created instance.

public static createAlias(alias?: any, origin?: any)

[Method] Create aliases for existing prototype methods

Parameters

  • alias?: any optional

    String/Object The new method name, or an object to set multiple aliases. See flexSetter

  • origin?: any optional

    String/Object The original method name

public static getName(): string

[Method] Get the current class name in string format

Returns

string

String className

public static load(id?: number, config?: any, scope?: any)

[Method] Asynchronously loads a model instance by id

Parameters

  • id?: number optional

    Number The id of the model to load

  • config?: any optional

    Object Config object containing fields:

  • scope?: any optional

    Object Same as config.scope.

public static override(members?: any): IBase

[Method] Override members of this class

Parameters

  • members?: any optional

    Object The properties to add to this class. This should be specified as an object literal containing one or more properties.

Returns

IBase

Ext.Base this class