You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

22 lines
463 B

  1. <?php
  2. namespace dokuwiki\Extension;
  3. /**
  4. * Action Plugin Prototype
  5. *
  6. * Handles action hooks within a plugin
  7. *
  8. * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
  9. * @author Christopher Smith <chris@jalakai.co.uk>
  10. */
  11. abstract class ActionPlugin extends Plugin
  12. {
  13. /**
  14. * Registers a callback function for a given event
  15. *
  16. * @param EventHandler $controller
  17. */
  18. abstract public function register(EventHandler $controller);
  19. }