Actions

API17

JPluginHelper::getPlugin

From Joomla! Documentation

Revision as of 19:06, 20 April 2011 by Doxiki2 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

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.

Description:JPluginHelper::getPlugin [Edit Descripton]

Since

Joomla 11.1

Synopsis

public static JPluginHelper::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 in

libraries/joomla/plugin/helper.php

Referenced by

See also

[Edit See Also]

SeeAlso:JPluginHelper::getPlugin

Examples

<CodeExamplesForm />