Zikula_Template_Plugins
[ class tree: Zikula_Template_Plugins ] [ index: Zikula_Template_Plugins ] [ all elements ]

Procedural File: function.pnvarcleanfrominput.php

Source Location: /system/pnRender/plugins/function.pnvarcleanfrominput.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pnvarcleanfrominput.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
license:  GNU/GPL








smarty_function_pnvarcleanfrominput [line 31]

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:

return:  the variables content
author:  Jörg Napp
since:  08.03.2004


Parameters

array   $params   All attributes passed to this function from the template
object   &$smarty   Reference to the Smarty object
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:46:12 +0200 by phpDocumentor 1.4.1