Package IO\Template\data
DefaultTemplateData | This class is a default implementation of the TemplateData interface. |
TemplateData | This interface describes data which are assigned to a template. There are two types of data:
A template contains global variables which are available in the whole template and local variable which are only defined into a loop. To define a loop, you just have to use assign_block_vars with the same loop identifier for each loop iteration. Loops can be nested and embed both variables and subtemplates. |