Interface IRoute

Hierarchy

Index

Properties

Methods

Properties

optional public action?: string

[Config Option] (String)

optional public alias?: Array<string>

[Config Option] (String[])

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public conditions?: any

[Config Option] (Object)

optional public config?: any

[Config Option] (Object)

optional public controller?: string

[Config Option] (String)

optional public extend?: string

[Config Option] (String)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public mixins?: any

[Config Option] (Object)

optional public paramsInMatchString?: any

[Property] (Object)

optional public platformConfig?: any

[Config Option] (Object)

optional public self?: IClass

[Property] (Ext.Class)

optional public singleton?: boolean

[Config Option] (Boolean)

optional public statics?: any

[Config Option] (Object)

optional public url?: string

[Config Option] (String)

optional public uses?: Array<string>

[Config Option] (String[])

Methods

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public destroy()

[Method]

optional public getAction(): string

[Method] Returns the value of action

Returns

string

String

optional public getConditions(): any

[Method] Returns the value of conditions

Returns

any

Object

optional public getController(): string

[Method] Returns the value of controller

Returns

string

String

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getUrl(): string

[Method] Returns the value of url

Returns

string

String

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public recognize(url?: string): any

[Method] Attempts to recognize a given url string and return controller action pair for it

Parameters

  • url?: string optional

    String The url to recognize.

Returns

any

Object/Boolean The matched data, or false if no match.

optional public setAction(action?: string)

[Method] Sets the value of action

Parameters

  • action?: string optional

    String

optional public setConditions(conditions?: any)

[Method] Sets the value of conditions

Parameters

  • conditions?: any optional

    Object

optional public setController(controller?: string)

[Method] Sets the value of controller

Parameters

  • controller?: string optional

    String

optional public setUrl(url?: string)

[Method] Sets the value of url

Parameters

  • url?: string optional

    String