Actions

API17

JPluginHelper::importPlugin

From Joomla! Documentation

Revision as of 21:05, 23 April 2011 by Doxiki2 (Talk | contribs)

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JPluginHelper::importPlugin

Description

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

Description:JPluginHelper::importPlugin [Edit Descripton]

Since

Joomla 11.1

Synopsis

public static JPluginHelper::importPlugin ($type, $plugin=null, $autocreate=true, $dispatcher=null)
Parameter Type Default Description
$type string The plugin type, relates to the sub-directory in the plugins directory.
$plugin string null The plugin name.
$autocreate boolean true
$dispatcher null Optionally allows the plugin to use a different dispatcher.

Returns

boolean True on success.

Defined in

libraries/joomla/plugin/helper.php (line 85)

Referenced by

See also

[Edit See Also]

SeeAlso:JPluginHelper::importPlugin

Examples

<CodeExamplesForm />