Lines Matching +full:security +full:- +full:events
13 $controller->register_hook('AJAX_CALL_UNKNOWN', 'BEFORE', $this, '_ajax_call');
18 * Register the events
24 if ($event->data !== 'plugin_explorertree') {
28 $event->stopPropagation();
29 $event->preventDefault();
31 global $INPUT; //available since release 2012-10-13 "Adora Belle"
33 $data = array('error'=>true,'msg'=>'invalid security token!');
35 switch($INPUT->str('operation')){
41 if (!($route = $helper->loadRoute($INPUT->str('route'),$INPUT->arr('loader')))){
42 $data = array('error'=>true,'msg'=>"Can't load route '".$INPUT->str('route')."'!");
44 …$data = array('html' => $helper->htmlExplorer($INPUT->str('route'),ltrim(':'.$INPUT->str('itemid')…
52 $route = $helper->loadRoute($INPUT->str('route'),$INPUT->arr('loader'));
53 if (!$route || !is_callable(@$route['callbacks'][$INPUT->str(event)])) {
54 …a = array('error'=>true,'msg'=>"Can't load callback '".$INPUT->str('event')."'for '".$INPUT->str('…
56 …$data = @call_user_func_array($route['callbacks'][$INPUT->str(event)],array($INPUT->str('itemid'))…
57 …if (!is_array($data)) $data = array('error'=>true,'msg'=>"Callback for '".$INPUT->str('event')."' …
60 $data = array('error'=>true,'msg'=>'Unknown operation: '.$INPUT->str('operation'));
70 header('Content-Type: application/json');
71 echo $json->encode($data);
72 // $this->get_helper()->check_meta_changes();