aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/smarty/smarty/docs/programmers/api-variables/variable-default-modifiers.md
blob: c6b73eb1206fcb84e87a8af5fda8492f3a915bc8 (plain) (blame)
1
2
3
4
5
6
7
8
\$default\_modifiers {#variable.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, add the \'nofilter\' attribute to the output tag such as
`{$var nofilter}`.