JPluginHelper::importPlugin
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JPluginHelper::importPlugin[edit]
Description[edit]
Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific pugin is loaded.
public static function 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 on line 85 of libraries/joomla/plugin/helper.php
- Since
- 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[edit]
JPluginHelper::importPlugin source code on BitBucket
Class JPluginHelper
Subpackage Plugin
- Other versions of JPluginHelper::importPlugin
User contributed notes[edit]
Code Examples[edit]