Lines Matching refs:controller
26 * plugin should use this method to register its handlers with the dokuwiki's event controller
28 function register(Doku_Event_Handler $controller) {
29 /* @var Doku_event_handler $controller */
30 $controller->register_hook('INDEXER_PAGE_ADD', 'BEFORE', $this, 'handle_indexer');
31 $controller->register_hook('INDEXER_VERSION_GET', 'BEFORE', $this, 'handle_indexer_version');
32 $controller->register_hook('PARSER_CACHE_USE','BEFORE', $this, '_cache_prepare');
33 $controller->register_hook('HTML_EDITFORM_OUTPUT', 'BEFORE', $this, 'handle_form'); // todo remove
34 $controller->register_hook('FORM_EDIT_OUTPUT', 'BEFORE', $this, 'handle_form');
35 $controller->register_hook('HTML_CONFLICTFORM_OUTPUT', 'BEFORE', $this, 'handle_form'); // todo remove
36 $controller->register_hook('FORM_CONFLICT_OUTPUT', 'BEFORE', $this, 'handle_form');
37 $controller->register_hook('HTML_DRAFTFORM_OUTPUT', 'BEFORE', $this, 'handle_form'); // todo remove
38 $controller->register_hook('FORM_DRAFT_OUTPUT', 'BEFORE', $this, 'handle_form');
39 $controller->register_hook('ACTION_SHOW_REDIRECT', 'BEFORE', $this, 'handle_redirect');
40 $controller->register_hook('PARSER_HANDLER_DONE', 'BEFORE', $this, 'handle_parser');
41 $controller->register_hook('PARSER_METADATA_RENDER', 'AFTER', $this, 'handle_metadata');
42 $controller->register_hook('HTML_SECEDIT_BUTTON', 'BEFORE', $this, 'handle_secedit_button');
43 $controller->register_hook('PLUGIN_MOVE_HANDLERS_REGISTER', 'BEFORE', $this, 'handle_move_register');