Difference between revisions of "JPluginHelper::isEnabled"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
(Updated to r1448:247ba8d88526) |
||
(One intermediate revision by the same 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> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function isEnabled ( |
+ | $type | ||
+ | $plugin=null | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' boolean | |
− | boolean | + | * '''Defined''' on line 67 of libraries/joomla/plugin/helper.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/plugin/helper.php | + | * '''Referenced by''' |
− | + | ** [[JApplication::initialise/11.1|JApplication::initialise]] | |
− | * [[JApplication | ||
===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> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<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 21:30, 27 April 2011
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::isEnabled[edit]
Description[edit]
Checks if a plugin is enabled.
Template: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[edit]
- JPluginHelper::isEnabled source code on BitBucket
- Class JPluginHelper
- Subpackage Plugin
- Other versions of JPluginHelper::isEnabled
Template:SeeAlso:JPluginHelper::isEnabled [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />