previousDefining blocks (Previous) (Next) Parsing blocksnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Setting variables

This is the most easy part: Just use setVar() with the variable name and its new value. An optional third boolean parameter tells if the value should be appended to the existing value (defaults to false).

Setting a variable

<?php
$t
->setVar('AUTHOR_NAME''Christian Weiske');
?>

Variables set influence all variables in the template, no matter if they are defined within a block or not.

previousDefining blocks (Previous) (Next) Parsing blocksnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.