{method(arguments,#quoted arguments#)}
Описание
creates an PHP method call, any with any number of arguments, as variables or literals (quoted in #). the return value is echoed, and passed by a modifier (like variables)
No Modifier - does htmlspecialchars($variable)
:h - echos without any change - eg. raw
:u - echos urlencode($variable)
Пример
Пример 43-1. Including another template
|
Пример 43-2. Calling includeBody in template, and ucfirst
|
Пример 43-3. Compiled template
|
Пример 43-4. Output from the code
|
Пред. | Начало | След. |
{variable} | Уровень выше | {foreach:variable,key,value} |