?
本文檔使用 PHP中文網手冊 發(fā)布
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}.
這是一個修正器數(shù)組變量,這些修正器隱式地作用于模板中的每個變量.例如:針對HTML,用數(shù)組('escape:"htmlall"')默認地忽略每個變量;為了使一個變量免除于默認修正器,請將參數(shù)為"nodefaults"的特殊"smarty"修正器作用于它,例如:{$var|smarty:nodefaults}.