Public Member Functions | |
__construct () | |
getParam ($sVar, $else=null) | |
setParam ($sVar, $val) | |
getParams () | |
getParamsGET () | |
getParamsPOST () | |
getParamNav () | |
setParamNav ($sNav) | |
hasNavigation () | |
setModule ($sModule) | |
setAction ($sAction) | |
getModule () | |
getAction () | |
loadModuleAndAction ($sChaine) | |
isPost () | |
isGet () | |
stripslashes_deep ($value) | |
magic_quote () | |
__set ($sVar, $sVal) | |
__get ($sVar) | |
_request classe pour gerer le les requete
Definition at line 23 of file class_request.php.
__construct | ( | ) |
constructeur public
array | $tTab | tableau de la requete $_GET, $_POST... |
Definition at line 35 of file class_request.php.
getAction | ( | ) |
retourne l'action public
Definition at line 184 of file class_request.php.
getModule | ( | ) |
retourne le module public
Definition at line 176 of file class_request.php.
getParam | ( | $sVar, | |
$else = null |
|||
) |
retourne le parametre $sVar ou $else public
string | $sVar | variable a retourner |
Definition at line 51 of file class_request.php.
getParamNav | ( | ) |
retourne la valeur de navigation public
Definition at line 133 of file class_request.php.
getParams | ( | ) |
recupere un tableau de l'ensemble des parametres
Definition at line 91 of file class_request.php.
getParamsGET | ( | ) |
recupere un tableau de l'ensemble des parametres GET (hors navigation: module::action)
Definition at line 102 of file class_request.php.
getParamsPOST | ( | ) |
recupere un tableau de l'ensemble des parametres POST
Definition at line 120 of file class_request.php.
hasNavigation | ( | ) |
retourne le parametre $sVar ou $else public
string | $sVar | variable a retourner |
Definition at line 152 of file class_request.php.
isGet | ( | ) |
indique si la requete utilise la methode GET public
Definition at line 235 of file class_request.php.
isPost | ( | ) |
indique si la requete utilise la methode POST (soumission de formulaire par exple) public
Definition at line 226 of file class_request.php.
loadModuleAndAction | ( | $sChaine | ) |
initialise module/action a partir d'une chaine module::action public
string | $sChaine |
Definition at line 201 of file class_request.php.
setAction | ( | $sAction | ) |
defini le module $sAction public
string | $sAction |
Definition at line 168 of file class_request.php.
setModule | ( | $sModule | ) |
defini le module $sModule public
string | $sModule |
Definition at line 160 of file class_request.php.
setParam | ( | $sVar, | |
$val | |||
) |
force une variable de request public
string | $sVar | |
string | $val |
Definition at line 81 of file class_request.php.
setParamNav | ( | $sNav | ) |
force une variable de navigation public
string | $sNav |
Definition at line 142 of file class_request.php.