API17:JPluginHelper::importPlugin
From Joomla! Documentation
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.
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
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)
- see source code in BitBucket
Referenced by
- JAuthentication::__construct
- JEditor::_loadEditor
- JUser::delete
- JModelAdmin::delete
- JApplication::dispatch
- JEditor::getButtons
- JUserHelper::getProfile
- JApplication::initialise
- JInstaller::install
- JHtmlContent::prepare
- JModelForm::preprocessForm
- JModelAdmin::publish
- JApplication::render
- JApplication::route
- JUser::save
- JModelAdmin::save
- JInstaller::uninstall
- JInstaller::update
See also
SeeAlso:JPluginHelper::importPlugin
Examples
<CodeExamplesForm />
