[ Index ]
 

Code source de DokuWiki 2006-11-06

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/plugins/ -> action.php (source)

   1  <?php
   2  /**
   3   * Admin Plugin Prototype
   4   * 
   5   * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
   6   * @author     Christopher Smith <chris@jalakai.co.uk>
   7   */
   8  // must be run within Dokuwiki
   9  if(!defined('DOKU_INC')) die();
  10  
  11  if(!defined('DOKU_PLUGIN')) define('DOKU_PLUGIN',DOKU_INC.'lib/plugins/');
  12  require_once (DOKU_PLUGIN.'base.php');
  13  
  14  /**
  15   * All DokuWiki plugins to extend the admin function
  16   * need to inherit from this class
  17   */
  18  class DokuWiki_Action_Plugin extends DokuWiki_Plugin {
  19  
  20    function register($controller) {
  21      trigger_error('register() not implemented in '.get_class($this), E_USER_WARNING);
  22    }
  23  
  24  }


Généré le : Tue Apr 3 20:47:31 2007 par Balluche grâce à PHPXref 0.7