?
Ce document utilise Manuel du site Web PHP chinois Libérer
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}.
這是一個(gè)修正器數(shù)組變量,這些修正器隱式地作用于模板中的每個(gè)變量.例如:針對(duì)HTML,用數(shù)組('escape:"htmlall"')默認(rèn)地忽略每個(gè)變量;為了使一個(gè)變量免除于默認(rèn)修正器,請(qǐng)將參數(shù)為"nodefaults"的特殊"smarty"修正器作用于它,例如:{$var|smarty:nodefaults}.