Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class JPluginHelper

Description

Plugin helper class

Located in /joomla/application/plugin/helper.php (line 27)

Class JPluginHelper   (Subpackage Application)
Method Summary
Method mixed &getPlugin (string $group, [string $plugin = null])
Method boolean importPlugin (string $group, [string $plugin = null])
Methods
getPlugin (line 38)

Get the plugin data of a group if no specific plugin is specified otherwise only the specific plugin data is returned

  • return: An array of plugin data objects, or a plugin data object
  • access: public
mixed &getPlugin (string $group, [string $plugin = null])
  • string $group: The group name, relates to the sub-directory in the plugins directory
  • string $plugin: The plugin name
importPlugin (line 75)

Loads all the plugin files for a particular group if no specific plugin is specified otherwise only the specific pugin is loaded.

  • return: True if success
  • access: public
boolean importPlugin (string $group, [string $plugin = null])
  • string $group: The group name, relates to the sub-directory in the plugins directory
  • string $plugin: The plugin name

Documentation generated on Mon, 05 Mar 2007 21:05:33 +0000 by phpDocumentor 1.3.1