[ 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       * Registers a callback function for a given event
  17       *
  18       * @param EventHandler $controller
  19       */
  20      abstract public function register(EventHandler $controller);
  21  }