task #1438 Remplacement de HtmlInput par Http_Input

Clean code and improve doc
This commit is contained in:
Dany De Bontridder 2017-08-28 18:20:46 +02:00
parent 3a199f1906
commit 5735be5c7c
3 changed files with 89 additions and 40 deletions

View file

@ -75,9 +75,10 @@ class HttpInput
/**
* Retrieve from $this->array the variable
* @param $p_name name of the variable
* @param $p_type type of the variable
* @param $p_type type of the variable (number,string,date('dd.mm.yyyy'),array)
* @param $p_default default value is variable
* @throws Exception if invalid
* @see check_type
*/
function get_value($p_name, $p_type="string", $p_default="")
{