File: action.php

package info (click to toggle)
dokuwiki 0.0.20061106-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 9,600 kB
  • ctags: 6,733
  • sloc: php: 52,011; perl: 203; sh: 184; makefile: 51
file content (24 lines) | stat: -rw-r--r-- 616 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
24
<?php
/**
 * Admin 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();

if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
require_once(DOKU_PLUGIN.'base.php');

/**
 * All DokuWiki plugins to extend the admin function
 * need to inherit from this class
 */
class DokuWiki_Action_Plugin extends DokuWiki_Plugin {

  function register($controller) {
    trigger_error('register() not implemented in '.get_class($this), E_USER_WARNING);
  }

}