action.php
changeset 5 11ccac7668ec
parent 3 88d936428bed
equal deleted inserted replaced
4:dffe53229d26 5:11ccac7668ec
    19 
    19 
    20     function action_plugin_datapopup() {
    20     function action_plugin_datapopup() {
    21         $this->dthlp =& plugin_load('helper', 'data');
    21         $this->dthlp =& plugin_load('helper', 'data');
    22     }
    22     }
    23 
    23 
    24     function register(&$controller) {
    24     function register(Doku_Event_Handler $controller) {
    25         global $JSINFO;
    25         global $JSINFO;
    26         $JSINFO['plugin']['datapopup']['registered_types'] = $this->getConf('registered_types');
    26         $JSINFO['plugin']['datapopup']['registered_types'] = $this->getConf('registered_types');
    27         
    27         
    28         $controller->register_hook('AJAX_CALL_UNKNOWN', 'BEFORE', $this, 'handle_ajax_call_unknown');
    28         $controller->register_hook('AJAX_CALL_UNKNOWN', 'BEFORE', $this, 'handle_ajax_call_unknown');
    29     }
    29     }