Actions

API17

Difference between revisions of "JPluginHelper::isEnabled"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JPluginHelper::isEnabled|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JPluginHelper::isEnabled|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JPluginHelper::isEnabled ($type, $plugin=null)
+
public static function isEnabled (
 +
        $type
 +
        $plugin=null
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean
boolean
+
* '''Defined''' on line 67 of libraries/joomla/plugin/helper.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/plugin/helper.php
+
* '''Referenced by'''
===Referenced by===
+
** [[JApplication::initialise/11.1|JApplication::initialise]]
* [[JApplication/initialise/11.1|JApplication::initialise]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JPluginHelper::isEnabled source code''' on [[jplatform:plugin/helper.php#cl-59|BitBucket]]
 +
* {{JVer|11.1}} Class [[JPluginHelper/11.1|JPluginHelper]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Plugin/11.1|Plugin]]
 +
* [[JPluginHelper::isEnabled|Other versions of JPluginHelper::isEnabled]]
 +
{{SeeAlso:JPluginHelper::isEnabled}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JPluginHelper::isEnabled|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JPluginHelper::isEnabled|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JPluginHelper/11.1|JPluginHelper]]
+
===User contributed notes===
* [[JPluginHelper::isEnabled|Other versions of this method]]
+
{{SeeAlso:JPluginHelper::isEnabled}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 54:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JPluginHelper]][[Category:JPluginHelper::isEnabled]]</noinclude>
 
<noinclude>[[Category:JPluginHelper]][[Category:JPluginHelper::isEnabled]]</noinclude>

Revision as of 20:30, 27 April 2011

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::isEnabled

Description

Checks if a plugin is enabled.

Description:JPluginHelper::isEnabled [Edit Descripton]

public static function isEnabled (
        $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.

See also

SeeAlso:JPluginHelper::isEnabled [Edit See Also]

User contributed notes

<CodeExamplesForm />