TemplateContainer
Class TemplateContainer
Namespace
IO\Helper
Type | Name | Description |
---|---|---|
|
||
|
||
|
||
|
||
|
Methods
public static get()
public setTemplate($template):TemplateContainer
Set the layout to use for current request.
Type |
Name |
Description |
|
The template to use for current request. |
public getTemplate()
Get the provided layout to use for current request.
public hasTemplate()
Check whether a separate layout plugin has set a template to use for the current request.
public getTemplateData()
Get the template data to pass to current template.
public setTemplateData($customData):TemplateContainer
Override template data used by LayoutController when rendering a template for current request.
Type |
Name |
Description |
|
public getTemplateKey():string
public setTemplateKey($templateKey):Helper
Type |
Name |
Description |
|
public setContext($contextClass)
Type |
Name |
Description |
|
public getContext()
public withData($data, $identifier):TemplateContainer
Add additional template data to the existing values.
Type |
Name |
Description |
|
The data to add to map. |
|
|
An identifying string to access the given data |
Thank you for your feedback!