smarty_modifier_escape (line 24)
Smarty escape modifier plugin
Type: modifier
Name: escape
Purpose: escape string for output
string
smarty_modifier_escape
(string $string, [string $esc_type = 'html'], [string $char_set = null], [boolean $double_encode = true])
-
string
$string: input string
-
string
$esc_type: escape type
-
string
$char_set: character set, used for htmlspecialchars() or htmlentities()
-
boolean
$double_encode: encode already encoded entitites again, used for htmlspecialchars() or htmlentities()