Exemplo n.º 1
0
Arquivo: jqGrid.php Projeto: Moro3/duc
 /**
  * This is the ONLY entry-point for external data
  *
  * @return array
  */
 protected function getInput()
 {
     $req = array_merge($_GET, $_POST);
     #Ajax input is always utf-8 -> convert it
     if ($this->loader->get('encoding') != 'utf-8' and isset($_SERVER['HTTP_X_REQUESTED_WITH'])) {
         $req = jqGrid_Utils::arrayIconv($req, 'utf-8', $this->loader->get('encoding'));
     }
     return $req;
 }