28 private $_bHasNavigation;
43 $this->_bHasNavigation=
false;
53 if(array_key_exists($sVar,$this->_tVar)){
55 if(is_array($this->_tVar[$sVar]) ){
56 return array_map(
'customHtmlentities',$this->_tVar[$sVar]);
58 return customHtmlentities($this->_tVar[$sVar]);
60 return $this->_tVar[$sVar];
82 $this->_tVar[$sVar]=$val;
93 return array_map(
'customHtmlentities',$this->_tVar);
105 foreach($_GET as $key => $val){
106 $tParam[customHtmlentities($key)]=customHtmlentities($val);
122 return array_map(
'customHtmlentities',$_POST);
153 return $this->_bHasNavigation;
161 $this->_sModule=$sModule;
169 $this->_sAction=$sAction;
177 return $this->_sModule;
185 return $this->_sAction;
188 private function loadContext(){
203 $this->_bHasNavigation=
true;
206 if(preg_match(
'/::/',$sChaine)){
207 list($sModule,$sAction)=preg_split(
'/::/',$sChaine);
227 if($_SERVER[
'REQUEST_METHOD']==
'POST'){
return true;}
236 if($_SERVER[
'REQUEST_METHOD']==
'GET'){
return true;}
240 public function stripslashes_deep($value){
241 if(is_array($value)){
242 return array_map(
'stripslashes_deep', $value);
244 return stripslashes($value);
247 public function magic_quote(){
248 $this->_tVar=array_map(
'stripslashes_deep', $this->_tVar);
251 public function __set($sVar,$sVal){
252 $this->_tVar[$sVar]=$sVal;
254 public function __get($sVar){
255 return $this->_tVar[$sVar];
getParam($sVar, $else=null)
static getConfigVar($sCatAndVar, $uDefaut=null)
loadModuleAndAction($sChaine)