string smarty_function_pnvarcleanfrominput(
array $params, object &$smarty)
|
|
Smarty function to obtain form variable
this plugin obtains the variable from the input namespace. It removes any preparsing done by PHP to ensure that the string is exactly as expected, without any escaped characters. it also removes any HTML tags that could be considered dangerous to the Zikula system's security.
Available parameters:
- name: the name of the parameter
- assign: If set, the results are assigned to the corresponding variable instead of printed out
Tags:
Parameters
| array |
$params |
All attributes passed to this function from the template |
| object |
&$smarty |
Reference to the Smarty object |