Difference between revisions of "JPluginHelper::importPlugin"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Layout updates) |
||
Line 45: | Line 45: | ||
boolean True on success. | boolean True on success. | ||
===Defined in=== | ===Defined in=== | ||
− | libraries/joomla/plugin/helper.php | + | libraries/joomla/plugin/helper.php (line 85) |
+ | * see source code in [[jplatform:plugin/helper.php#cl-85|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
− | * [[JAuthentication | + | * [[JAuthentication::__construct/11.1|JAuthentication::__construct]] |
− | * [[JEditor | + | * [[JEditor::_loadEditor/11.1|JEditor::_loadEditor]] |
− | * [[JUser | + | * [[JUser::delete/11.1|JUser::delete]] |
− | * [[JModelAdmin | + | * [[JModelAdmin::delete/11.1|JModelAdmin::delete]] |
− | * [[JApplication | + | * [[JApplication::dispatch/11.1|JApplication::dispatch]] |
− | * [[JEditor | + | * [[JEditor::getButtons/11.1|JEditor::getButtons]] |
− | * [[JUserHelper | + | * [[JUserHelper::getProfile/11.1|JUserHelper::getProfile]] |
− | * [[JApplication | + | * [[JApplication::initialise/11.1|JApplication::initialise]] |
− | * [[JInstaller | + | * [[JInstaller::install/11.1|JInstaller::install]] |
− | * [[JHtmlContent | + | * [[JHtmlContent::prepare/11.1|JHtmlContent::prepare]] |
− | * [[JModelForm | + | * [[JModelForm::preprocessForm/11.1|JModelForm::preprocessForm]] |
− | * [[JModelAdmin | + | * [[JModelAdmin::publish/11.1|JModelAdmin::publish]] |
− | * [[JApplication | + | * [[JApplication::render/11.1|JApplication::render]] |
− | * [[JApplication | + | * [[JApplication::route/11.1|JApplication::route]] |
− | * [[JUser | + | * [[JUser::save/11.1|JUser::save]] |
− | * [[JModelAdmin | + | * [[JModelAdmin::save/11.1|JModelAdmin::save]] |
− | * [[JInstaller | + | * [[JInstaller::uninstall/11.1|JInstaller::uninstall]] |
− | * [[JInstaller | + | * [[JInstaller::update/11.1|JInstaller::update]] |
===See also=== | ===See also=== | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> |
Revision as of 21:05, 23 April 2011
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.
Template:Description:JPluginHelper::importPlugin [Edit Descripton]
Since[edit]
Synopsis[edit]
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[edit]
boolean True on success.
Defined in[edit]
libraries/joomla/plugin/helper.php (line 85)
- see source code in BitBucket
Referenced by[edit]
- 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]
Template:SeeAlso:JPluginHelper::importPlugin
Examples[edit]
<CodeExamplesForm />