dokuwiki-matrixnotifierwas-plugin – Diff between revs 1 and 5

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 1 Rev 5
Line 12... Line 12...
12   12  
13 if ( !defined ( 'DOKU_LF' ) ) define ( 'DOKU_LF', "\n" ); 13 if ( !defined ( 'DOKU_LF' ) ) define ( 'DOKU_LF', "\n" );
14 if ( !defined ( 'DOKU_TAB' ) ) define ( 'DOKU_TAB', "\t" ); 14 if ( !defined ( 'DOKU_TAB' ) ) define ( 'DOKU_TAB', "\t" );
Line 15... Line 15...
15 if ( !defined ( 'DOKU_PLUGIN' ) ) define ( 'DOKU_PLUGIN', DOKU_INC . 'lib/plugins/' ); 15 if ( !defined ( 'DOKU_PLUGIN' ) ) define ( 'DOKU_PLUGIN', DOKU_INC . 'lib/plugins/' );
Line 16... Line 16...
16   16  
17 class action_plugin_matrixnotifier extends DokuWiki_Action_Plugin { 17 class action_plugin_matrixnotifierwas extends DokuWiki_Action_Plugin {
18   18  
Line 19... Line 19...
19 function register ( Doku_Event_Handler $controller ) { 19 function register ( Doku_Event_Handler $controller ) {
20 $controller -> register_hook ( 'COMMON_WIKIPAGE_SAVE', 'AFTER', $this, '_handle' ); 20 $controller -> register_hook ( 'COMMON_WIKIPAGE_SAVE', 'AFTER', $this, '_handle' );
21 } 21 }
Line 22... Line 22...
22   22  
23 function _handle ( Doku_Event $event, $param ) { 23 function _handle ( Doku_Event $event, $param ) {
Line 24... Line 24...
24 /** @var helper_plugin_approve $helper */ 24 /** @var helper_plugin_approve $helper */