This makes the values of the supplied object (and optionally loads the HTML_Template_Flexy_Elements) available to the template when it is run.
object $controllerObject - The object you want to use with the template, the values of the object will relate to the $controllerObject->tag will map to {tag} on the template
array $elements - This is an associative array of form, or dynamic elements names (or id's) which will be merged with the one defined in the template.
Пример 42-1. PHP code initiating the template, and outputing it
|
Пример 42-2. The Template with some tags
|
Пример 42-3. Resulting output
|
Пред. | Начало | След. |
$flexy->compile() | Уровень выше | $flexy->bufferedOutputObject() |
HIVE: All information for read only. Please respect copyright! |