JPluginHelper::getPlugin

Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned.