JPluginHelper: Difference between revisions
From Joomla! Documentation
No edit summary |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JPluginHelper}} | |||
{{Description:JPluginHelper}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 25: | Line 22: | ||
<source lang="php">jimport( 'joomla.plugin.helper' );</source> | <source lang="php">jimport( 'joomla.plugin.helper' );</source> | ||
{{subst:SeeAlso:JPluginHelper}} | |||
{{SeeAlso:JPluginHelper}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 13:23, 24 March 2017
{{subst:Description:JPluginHelper}}
Defined in
libraries/joomla/plugin/helper.php
Methods
| Method name | Description |
|---|---|
| getPlugin | Get the plugin data of a specific type if no specific plugin is specified otherwise only the specific plugin data is returned |
| isEnabled | Checks if a plugin is enabled |
| importPlugin | Loads all the plugin files for a particular type if no specific plugin is specified otherwise only the specific pugin is loaded. |
Importing
jimport( 'joomla.plugin.helper' );
{{subst:SeeAlso:JPluginHelper}}
Examples
<CodeExamplesForm />