Smarty escape modifier plugin Type: modifier Name: escape Purpose: escape string for output
Parameters | |||
---|---|---|---|
string
|
$string |
input string |
# |
string
|
$esc_type = 'html' |
escape type |
# |
string
|
$char_set = null |
character set, used for htmlspecialchars() or htmlentities() |
# |
boolean
|
$double_encode = true |
encode already encoded entitites again, used for htmlspecialchars() or htmlentities() |
# |
Returns | |
---|---|
string
|
escaped input string |