JPluginHelper::getPlugin
From Joomla! Documentation
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::getPlugin[edit]
Description[edit]
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[edit]
JPluginHelper::getPlugin source code on BitBucket
Class JPluginHelper
Subpackage Plugin
- Other versions of JPluginHelper::getPlugin
User contributed notes[edit]
Code Examples[edit]