ActionPlugin.php 478 B

12345678910111213141516171819202122
  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 \Doku_Event_Handler $controller
  17. */
  18. abstract public function register(\Doku_Event_Handler $controller);
  19. }