API17:JPluginHelper::getPlugin
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::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
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)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JPluginHelper::getPlugin
Examples
<CodeExamplesForm />
