File: action.php

package info (click to toggle)
dokuwiki 0.0.20120125b-2%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 21,016 kB
  • sloc: php: 114,495; sh: 530; perl: 200; xml: 196; makefile: 38
file content (23 lines) | stat: -rw-r--r-- 594 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * Action Plugin Prototype
 *
 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
 * @author     Christopher Smith <chris@jalakai.co.uk>
 */
// must be run within Dokuwiki
if(!defined('DOKU_INC')) die();

/**
 * All DokuWiki plugins to interfere with the event system
 * need to inherit from this class
 */
class DokuWiki_Action_Plugin extends DokuWiki_Plugin {

     /**
      * Registers a callback function for a given event
      */
      function register($controller) {
        trigger_error('register() not implemented in '.get_class($this), E_USER_WARNING);
      }
}