[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Extension/ -> ActionPlugin.php (source)

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