Actions

API17

Difference between revisions of "JPluginHelper::getPlugin"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 35: Line 35:
 
mixed An array of plugin data objects, or a plugin data object.
 
mixed An array of plugin data objects, or a plugin data object.
 
===Defined in===
 
===Defined in===
libraries/joomla/plugin/helper.php
+
libraries/joomla/plugin/helper.php (line 32)
 +
* see source code in [[jplatform:plugin/helper.php#cl-32|BitBucket]]
 
===Referenced by===
 
===Referenced by===
* [[JEditor/_loadEditor/11.1|JEditor::_loadEditor]]
+
* [[JEditor::_loadEditor/11.1|JEditor::_loadEditor]]
* [[JAuthentication/authenticate/11.1|JAuthentication::authenticate]]
+
* [[JAuthentication::authenticate/11.1|JAuthentication::authenticate]]
* [[JEditor/getButtons/11.1|JEditor::getButtons]]
+
* [[JEditor::getButtons/11.1|JEditor::getButtons]]
 
===See also===
 
===See also===
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">

Revision as of 20:05, 23 April 2011

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::getPlugin

Description

Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned.

Description:JPluginHelper::getPlugin [Edit Descripton]

Since

Joomla 11.1

Synopsis

public static JPluginHelper::getPlugin ($type, $plugin=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.

Returns

mixed An array of plugin data objects, or a plugin data object.

Defined in

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

Referenced by

See also

[Edit See Also]

SeeAlso:JPluginHelper::getPlugin

Examples

<CodeExamplesForm />