TemplateContainer
Class TemplateContainer
Namespace
IO\Helper
| Type | Name | Description | 
|---|---|---|
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | ||
| 
 | 
Methods
public static get()public setTemplate($template):TemplateContainerSet 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):TemplateContainerOverride template data used by LayoutController when rendering a template for current request.
| Type | Name | Description | 
| 
 | 
public getTemplateKey():stringpublic setTemplateKey($templateKey):Helper| Type | Name | Description | 
| 
 | 
public setContext($contextClass)| Type | Name | Description | 
| 
 | 
public getContext()public withData($data, $identifier):TemplateContainerAdd 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!