This commit is contained in:
Dany De Bontridder 2011-04-26 21:25:01 +00:00
parent a5a538abf9
commit d68ed18d93

View file

@ -496,25 +496,25 @@ class HtmlInput
$r=self::array_to_hidden($array,$_GET );
return $r;
}
/**
*transform $_POST data to hidden
*@param $array is an of indices
*@see HtmlInput::request_to_hidden
*@return html string with the hidden data
*/
static function post_to_hidden($array)
{
$r=self::array_to_hidden($array,$_POST );
return $r;
}
/**
*transform $_REQUEST data to hidden
*@param $array is an of indices
*@see HtmlInput::request_to_hidden
*@return html string with the hidden data
*/
static function request_to_hidden($array)
{
$r=self::array_to_hidden($array,$_REQUEST );