/**
  * Clean-up the request parameters
  */
 function cleanRequest()
 {
     if ($this->requestIsGpc && get_magic_quotes_gpc()) {
         $this->request = array_map('stripslashes', $this->request);
     }
     if (!empty($this->parametersDef)) {
         $this->request = xoops_kernel_Module::requestValues($this->parametersDef, $this->request);
     }
 }
Beispiel #2
0
 function requestParameters($source = 'R')
 {
     $loc =& $this->moduleLocations[$this->currentLocation];
     return isset($loc['parameters']) ? xoops_kernel_Module::requestValues($loc['parameters'], $source) : array();
 }