Interface IXTemplateParser

Hierarchy

Index

Properties

Methods

Properties

optional public alias?: Array<string>

[Config Option] (String[])

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public config?: any

[Config Option] (Object)

optional public extend?: string

[Config Option] (String)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public level?: number

[Property] (Number)

optional public mixins?: any

[Config Option] (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 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 doCase(action?: string, actions?: any)

[Method] This method is called to process lt tpl case action gt

Parameters

  • action?: string optional

    String

  • actions?: any optional

    Object Other actions keyed by the attribute name (such as 'exec').

optional public doDefault()

[Method] This method is called to process lt tpl default gt

optional public doElse()

[Method] This method is called to process lt tpl else gt

optional public doElseIf(action?: string, actions?: any)

[Method] This method is called to process lt tpl elseif action gt

Parameters

  • action?: string optional

    String

  • actions?: any optional

    Object Other actions keyed by the attribute name (such as 'exec').

optional public doEnd(type?: string, actions?: any)

[Method] This method is called to process lt tpl gt

Parameters

  • type?: string optional

    String The type of action that is being ended.

  • actions?: any optional

    Object The other actions keyed by the attribute name (such as 'exec').

optional public doEval(text?: string)

[Method] This method is called to process text

Parameters

  • text?: string optional

    String

optional public doExec(action?: string, actions?: any)

[Method] This method is called to process lt tpl exec action gt

Parameters

  • action?: string optional

    String

  • actions?: any optional

    Object Other actions keyed by the attribute name.

optional public doExpr(expr?: string)

[Method] This method is called to process expressions like expr

Parameters

  • expr?: string optional

    String The body of the expression (inside "{[" and "]}").

optional public doFor(action?: string, actions?: any)

[Method] This method is called to process lt tpl for action gt

Parameters

  • action?: string optional

    String

  • actions?: any optional

    Object Other actions keyed by the attribute name (such as 'exec').

optional public doIf(action?: string, actions?: any)

[Method] This method is called to process lt tpl if action gt

Parameters

  • action?: string optional

    String

  • actions?: any optional

    Object Other actions keyed by the attribute name (such as 'exec').

optional public doSwitch(action?: string, actions?: any)

[Method] This method is called to process lt tpl switch action gt

Parameters

  • action?: string optional

    String

  • actions?: any optional

    Object Other actions keyed by the attribute name (such as 'exec').

optional public doTag(tag?: string)

[Method] This method is called to process simple tags like tag

Parameters

  • tag?: string optional

    String

optional public doText(text?: string)

[Method] This method is called to process a piece of raw text from the tpl

Parameters

  • text?: string optional

    String

optional public doTpl()

[Method] This method is called to process an empty lt tpl gt

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 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