Actions

API17

Difference between revisions of "JPluginHelper"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (User contributed notes: bad link repair)
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} 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>
{{Description:JPluginHelper}}
 
===Defined in===
 
libraries/joomla/plugin/helper.php
 
===Subpackage===
 
[[Subpackage Plugin/11.1|Plugin]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public static
 
|[[JPluginHelper::getPlugin/11.1|getPlugin]]
 
|[[JPluginHelper::getPlugin/11.1|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
 
|[[JPluginHelper::importPlugin/11.1|importPlugin]]
 
|[[JPluginHelper::importPlugin/11.1|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
 
|[[JPluginHelper::isEnabled/11.1|isEnabled]]
 
|[[JPluginHelper::isEnabled/11.1|isEnabled]]
 
|Checks if a plugin is enabled.  
 
|Checks if a plugin is enabled.  
 
|-
 
|-
 +
|protected static
 
|[[JPluginHelper::_import/11.1|_import]]
 
|[[JPluginHelper::_import/11.1|_import]]
 
|Loads the plugin file.  
 
|Loads the plugin file.  
 
|-
 
|-
 +
|protected static
 
|[[JPluginHelper::_load/11.1|_load]]
 
|[[JPluginHelper::_load/11.1|_load]]
 
|Loads the published plugins.  
 
|Loads the published plugins.  
 
|-
 
|-
 
|}
 
|}
 +
* '''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===
* [[JPluginHelper|Other versions of this class]]
+
* {{JVer|11.1}} '''JPluginHelper source code''' on [[jplatform:plugin/helper.php|BitBucket]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage Plugin/11.1|Plugin]]
 +
* [[JPluginHelper|Other versions of JPluginHelper]]
 
{{SeeAlso: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>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 48: Line 53:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JPluginHelper]]</noinclude>
+
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JPluginHelper]]</noinclude>

Revision as of 14:00, 29 August 2012

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

Description

Description:JPluginHelper [Edit Descripton]

Methods

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

jimport( 'joomla.plugin.helper' );

See also

SeeAlso:JPluginHelper [Edit See Also]

User contributed notes

<CodeExamplesForm />