API17:JPluginHelper::getPlugin
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
| (One intermediate revision by one user not shown) | |||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JPluginHelper::getPlugin|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JPluginHelper::getPlugin|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public static | + | public static function getPlugin ( |
| + | $type | ||
| + | $plugin=null | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' mixed An array of plugin data objects, or a plugin data object. | |
| − | mixed An array of plugin data objects, or a plugin data object. | + | * '''Defined''' on line 32 of libraries/joomla/plugin/helper.php |
| − | + | * '''Since''' {{JVer|11.1 }} | |
| − | libraries/joomla/plugin/helper.php | + | * '''Referenced by''' |
| − | + | ** [[JEditor::_loadEditor/11.1|JEditor::_loadEditor]] | |
| − | * [[JEditor | + | ** [[JAuthentication::authenticate/11.1|JAuthentication::authenticate]] |
| − | * [[JAuthentication | + | ** [[JEditor::getButtons/11.1|JEditor::getButtons]] |
| − | * [[JEditor | + | |
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JPluginHelper::getPlugin source code''' on [[jplatform:plugin/helper.php#cl-24|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JPluginHelper/11.1|JPluginHelper]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Plugin/11.1|Plugin]] | ||
| + | * [[JPluginHelper::getPlugin|Other versions of JPluginHelper::getPlugin]] | ||
| + | {{SeeAlso:JPluginHelper::getPlugin}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JPluginHelper::getPlugin|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JPluginHelper::getPlugin|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 55: | Line 56: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JPluginHelper]][[Category:JPluginHelper::getPlugin]]</noinclude> | <noinclude>[[Category:JPluginHelper]][[Category:JPluginHelper::getPlugin]]</noinclude> | ||
Revision as of 21:29, 27 April 2011
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.
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]
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
-
JPluginHelper::getPlugin source code on BitBucket
-
Class JPluginHelper
-
Subpackage Plugin
- Other versions of JPluginHelper::getPlugin
SeeAlso:JPluginHelper::getPlugin [Edit See Also]
User contributed notes
<CodeExamplesForm />
