Smarty Manual
Prev | Chapter 12. Smarty Class Variables | Next

# $default_modifiers

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}`.

Prev | Home | Next
$use_sub_dirs | Up | $default_resource_type