Class JPluginHelper

Description

Plugin helper class

Located in /application/extension/plugin.php (line 77)


	
			
Method Summary
 object The &getPlugin (string $folder, string $name)
 void import (string $folder, string $element, int $published, [string $params = ''])
 void importGroup (string $group)
 void _load ()
Methods
getPlugin (line 87)

Get plugin by folder and element

  • return: Plugin object
  • access: public
object The &getPlugin (string $folder, string $name)
  • string $folder: The folder of the plugin
  • string $name: The element of the plugin
import (line 129)

Loads the bot file

void import (string $folder, string $element, int $published, [string $params = ''])
  • string $folder: The folder (group)
  • string $element: The elements (name of file without extension)
  • int $published: Published state
  • string $params: The params for the bot
importGroup (line 109)

Loads all the bot files for a particular group

void importGroup (string $group)
  • string $group: The group name, relates to the sub-directory in the plugins directory
_load (line 139)
void _load ()

Documentation generated on Sat, 4 Feb 2006 14:26:04 +0100 by phpDocumentor 1.3.0RC4