TemplateContext
TemplateContext class
Represents a model object interface for a template engine.
getGlobal
Name | Description |
---|---|
getGlobal () | Returns global storage of the host document. Read-only Storage. |
Returns: Storage
getLocal
Name | Description |
---|---|
getLocal () | Returns local storage of the current template context. Read-only Storage. |
Returns: Storage
getObject
Name | Description |
---|---|
getObject () | Returns the model object. Read-only Object. |
Returns: TObject
getOutput
Name | Description |
---|---|
getOutput () | Returns collection of output elements of the host document. Read-only Output( #getOutput). |
Returns: Output
subModel
Name | Description |
---|---|
subModel (TSubModel) | Creates a child template context. |
Parameters:
Name | Type | Description |
---|---|---|
subModel | TSubModel | Child model object. |
Returns: TemplateContext