JPluginHelper::getPlugin
Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned.
Signature
public function getPlugin(string
$type,
[string
$plugin = null] )
Parameters
-
$type
- The plugin type, relates to the sub-directory in the plugins directory.
-
$plugin
- The plugin name.
Returns
- mixed
- An array of plugin data objects, or a plugin data object.