What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
This is an array of modifiers to implicitly apply to every variable in a
template. For example, to HTML-escape every variable by default, use
array('escape:"htmlall"')
.
To make a variable exempt from default
modifiers, pass the special smarty
modifier with a
parameter value of
nodefaults
modifier to it, such as
{$var|smarty:nodefaults}
.