API17

API17:JPluginHelper::getPlugin

From Joomla! Documentation

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.


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.

See also


User contributed notes

Code Examples