[ Index ]
 

Code source de DokuWiki 2006-11-06

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

title

Body

[fermer]

/inc/ -> pluginutils.php (sommaire)

Utilities for handling plugins

Author: Andreas Gohr <andi@splitbrain.org>
License: GPL 2 (http://www.gnu.org/licenses/gpl.html)
Poids: 95 lignes (3 kb)
Inclus ou requis: 3 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 5 fonctions

  plugin_list()
  plugin_load()
  plugin_isdisabled()
  plugin_enable()
  plugin_disable()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

plugin_list($type='',$all=false)   X-Ref
Returns a list of available plugins of given type

author: Andreas Gohr <andi@splitbrain.org>
param: $type  string, plugin_type name;
param: $all   bool;
return: array of plugin names

plugin_load($type,$name)   X-Ref
Loads the given plugin and creates an object of it

author: Andreas Gohr <andi@splitbrain.org>
param: $type string     type of plugin to load
param: $name string     name of the plugin to load
return: objectreference  the plugin object or null on failure

plugin_isdisabled($name)   X-Ref
Pas de description

plugin_enable($name)   X-Ref
Pas de description

plugin_disable($name)   X-Ref
Pas de description



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