Exemplo n.º 1
0
 public function __call($method, $args)
 {
     if ($method == 'isXmlHttpRequest') {
         throw new exception('test testAjaxContextIsRequestDependent failed');
     }
     return parent::__call($method, $args);
 }