23 lines
		
	
	
		
			478 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			478 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace dokuwiki\Extension;
 | 
						|
 | 
						|
/**
 | 
						|
 * Action Plugin Prototype
 | 
						|
 *
 | 
						|
 * Handles action hooks within a plugin
 | 
						|
 *
 | 
						|
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 | 
						|
 * @author     Christopher Smith <chris@jalakai.co.uk>
 | 
						|
 */
 | 
						|
abstract class ActionPlugin extends Plugin
 | 
						|
{
 | 
						|
 | 
						|
    /**
 | 
						|
     * Registers a callback function for a given event
 | 
						|
     *
 | 
						|
     * @param \Doku_Event_Handler $controller
 | 
						|
     */
 | 
						|
    abstract public function register(\Doku_Event_Handler $controller);
 | 
						|
}
 |