Difference between revisions of "JPluginHelper"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JPluginHelper== | =={{JVer|11.1}} JPluginHelper== | ||
===Description=== | ===Description=== | ||
− | + | ||
− | + | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 14: | Line 12: | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JPluginHelper::getPlugin | + | |[[API17:JPluginHelper::getPlugin|getPlugin]] |
|Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned. | |Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JPluginHelper::importPlugin | + | |[[API17:JPluginHelper::importPlugin|importPlugin]] |
|Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific pugin is loaded. | |Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific pugin is loaded. | ||
|- | |- | ||
|public static | |public static | ||
− | |[[JPluginHelper::isEnabled | + | |[[API17:JPluginHelper::isEnabled|isEnabled]] |
|Checks if a plugin is enabled. | |Checks if a plugin is enabled. | ||
|- | |- | ||
|protected static | |protected static | ||
− | |[[JPluginHelper::_import | + | |[[API17:JPluginHelper::_import|_import]] |
|Loads the plugin file. | |Loads the plugin file. | ||
|- | |- | ||
|protected static | |protected static | ||
− | |[[JPluginHelper::_load | + | |[[API17:JPluginHelper::_load|_load]] |
|Loads the published plugins. | |Loads the published plugins. | ||
|- | |- | ||
Line 39: | Line 37: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JPluginHelper source code''' on [[jplatform:plugin/helper.php|BitBucket]] | * {{JVer|11.1}} '''JPluginHelper source code''' on [[jplatform:plugin/helper.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Plugin | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Plugin|Plugin]] |
− | * [[JPluginHelper|Other versions of JPluginHelper]] | + | * [[API17:JPluginHelper|Other versions of JPluginHelper]] |
− | + | ||
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JPluginHelper | category=JPluginHelper | ||
− | + | namespace=CodeExample | |
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
Line 56: | Line 52: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 22:33, 24 March 2017
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JPluginHelper[edit]
Description[edit]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public static | getPlugin | Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned. |
public static | importPlugin | Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific pugin is loaded. |
public static | isEnabled | Checks if a plugin is enabled. |
protected static | _import | Loads the plugin file. |
protected static | _load | Loads the published plugins. |
- Defined in libraries/joomla/plugin/helper.php
Importing[edit]
jimport( 'joomla.plugin.helper' );
See also[edit]
- JPluginHelper source code on BitBucket
- Subpackage Plugin
- Other versions of JPluginHelper
User contributed notes[edit]
Code Examples[edit]