JPluginHelper/1.5
From Joomla! Documentation
< JPluginHelper(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→See also: fixing link to API) |
||
| (One intermediate revision by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|1.5}} JPluginHelper== | ||
| + | ===Description=== | ||
| + | {{Description:JPluginHelper}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JPluginHelper|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JPluginHelper|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JPluginHelper::_import/1.5|_import]] | |[[JPluginHelper::_import/1.5|_import]] | ||
|Loads the plugin file. | |Loads the plugin file. | ||
|- | |- | ||
| + | |public | ||
|[[JPluginHelper::_load/1.5|_load]] | |[[JPluginHelper::_load/1.5|_load]] | ||
|Loads the published plugins. | |Loads the published plugins. | ||
|- | |- | ||
| + | |public | ||
|[[JPluginHelper::getPlugin/1.5|getPlugin]] | |[[JPluginHelper::getPlugin/1.5|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 | ||
|[[JPluginHelper::importPlugin/1.5|importPlugin]] | |[[JPluginHelper::importPlugin/1.5|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 | ||
|[[JPluginHelper::isEnabled/1.5|isEnabled]] | |[[JPluginHelper::isEnabled/1.5|isEnabled]] | ||
|Checks if a plugin is enabled. | |Checks if a plugin is enabled. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/plugin/helper.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.plugin.helper' );</source> | <source lang="php">jimport( 'joomla.plugin.helper' );</source> | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|1.5}} '''JPluginHelper''' on [http://api.joomla.org/1.5/Joomla-Framework/Plugin/JPluginHelper.html api.joomla.org] | ||
| + | * {{JVer|1.5}} '''JPluginHelper source code''' on [[jframework15:plugin/helper.php|JoomlaCode]] | ||
| + | * {{JVer|1.5}} Subpackage [[Subpackage Plugin/1.5|Plugin]] | ||
| + | * [[JPluginHelper|Other versions of JPluginHelper]] | ||
| + | {{SeeAlso:JPluginHelper}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JPluginHelper|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JPluginHelper|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 49: | Line 54: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JPluginHelper]]</noinclude> | <noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JPluginHelper]]</noinclude> | ||
Latest revision as of 16:05, 13 February 2013
[edit]
JPluginHelper
[edit] Description
Description:JPluginHelper [Edit Descripton]
[edit] Methods
| Visibility | Method name | Description |
|---|---|---|
| public | _import | Loads the plugin file. |
| public | _load | Loads the published plugins. |
| public | getPlugin | Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned. |
| public | importPlugin | Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific pugin is loaded. |
| public | isEnabled | Checks if a plugin is enabled. |
- Defined in libraries/joomla/plugin/helper.php
[edit] Importing
jimport( 'joomla.plugin.helper' );
[edit] See also
-
JPluginHelper on api.joomla.org
-
JPluginHelper source code on JoomlaCode
-
Subpackage Plugin
- Other versions of JPluginHelper
SeeAlso:JPluginHelper [Edit See Also]
[edit] User contributed notes
<CodeExamplesForm />