API17:JPluginHelper::getPlugin
From Joomla! Documentation
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.
public static function 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 on line 32 of libraries/joomla/plugin/helper.php
- Since

- Referenced by
See also
JPluginHelper::getPlugin source code on BitBucket
Class JPluginHelper
Subpackage Plugin- Other versions of JPluginHelper::getPlugin
User contributed notes
Code Examples