PEAR-Handbuch | ||
---|---|---|
Zurück | Nach vorne |
creates an if statement, with the argument as a variable or method. You must close an if statement with an {end:} statement, and you may use {else:} with it.
Beispiel 42-1. Setting variables for if
|
Beispiel 42-2. The template
|
Beispiel 42-3. Compiled template
|
Beispiel 42-4. The output
|
Zurück | Zum Anfang | Nach vorne |
{foreach:variable,key,value} | Nach oben | {end:} |