dokuwiki-source-plugin – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 34... Line 34...
34 } 34 }
Line 35... Line 35...
35   35  
36 /** 36 /**
37 * plugin should use this method to register its handlers with the dokuwiki's event controller 37 * plugin should use this method to register its handlers with the dokuwiki's event controller
38 */ 38 */
39 function register(&$controller) { 39 function register(Doku_Event_Handler $controller) {
40 $controller->register_hook('PARSER_CACHE_USE','BEFORE', $this, '_cache_prepare'); 40 $controller->register_hook('PARSER_CACHE_USE','BEFORE', $this, '_cache_prepare');
Line 41... Line 41...
41 } 41 }
42   42