API17

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/__construct/11.1|JAuthentication::__construct]]
+
* [[JAuthentication::__construct/11.1|JAuthentication::__construct]]
* [[JEditor/_loadEditor/11.1|JEditor::_loadEditor]]
+
* [[JEditor::_loadEditor/11.1|JEditor::_loadEditor]]
* [[JUser/delete/11.1|JUser::delete]]
+
* [[JUser::delete/11.1|JUser::delete]]
* [[JModelAdmin/delete/11.1|JModelAdmin::delete]]
+
* [[JModelAdmin::delete/11.1|JModelAdmin::delete]]
* [[JApplication/dispatch/11.1|JApplication::dispatch]]
+
* [[JApplication::dispatch/11.1|JApplication::dispatch]]
* [[JEditor/getButtons/11.1|JEditor::getButtons]]
+
* [[JEditor::getButtons/11.1|JEditor::getButtons]]
* [[JUserHelper/getProfile/11.1|JUserHelper::getProfile]]
+
* [[JUserHelper::getProfile/11.1|JUserHelper::getProfile]]
* [[JApplication/initialise/11.1|JApplication::initialise]]
+
* [[JApplication::initialise/11.1|JApplication::initialise]]
* [[JInstaller/install/11.1|JInstaller::install]]
+
* [[JInstaller::install/11.1|JInstaller::install]]
* [[JHtmlContent/prepare/11.1|JHtmlContent::prepare]]
+
* [[JHtmlContent::prepare/11.1|JHtmlContent::prepare]]
* [[JModelForm/preprocessForm/11.1|JModelForm::preprocessForm]]
+
* [[JModelForm::preprocessForm/11.1|JModelForm::preprocessForm]]
* [[JModelAdmin/publish/11.1|JModelAdmin::publish]]
+
* [[JModelAdmin::publish/11.1|JModelAdmin::publish]]
* [[JApplication/render/11.1|JApplication::render]]
+
* [[JApplication::render/11.1|JApplication::render]]
* [[JApplication/route/11.1|JApplication::route]]
+
* [[JApplication::route/11.1|JApplication::route]]
* [[JUser/save/11.1|JUser::save]]
+
* [[JUser::save/11.1|JUser::save]]
* [[JModelAdmin/save/11.1|JModelAdmin::save]]
+
* [[JModelAdmin::save/11.1|JModelAdmin::save]]
* [[JInstaller/uninstall/11.1|JInstaller::uninstall]]
+
* [[JInstaller::uninstall/11.1|JInstaller::uninstall]]
* [[JInstaller/update/11.1|JInstaller::update]]
+
* [[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.

Joomla 11.1 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]

Joomla 11.1

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)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JPluginHelper::importPlugin

Examples[edit]

<CodeExamplesForm />