Difference between revisions of "JComponentHelper::isEnabled"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JComponentHelper::isEnabled|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JComponentHelper::isEnabled|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function isEnabled ( |
+ | $option | ||
+ | $strict=false | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' boolean | |
− | boolean | + | * '''Defined''' on line 65 of libraries/joomla/application/component/helper.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/application/component/helper.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JComponentHelper::isEnabled source code''' on [[jplatform:application/component/helper.php#cl-57|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JComponentHelper/11.1|JComponentHelper]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]] | ||
+ | * [[JComponentHelper::isEnabled|Other versions of JComponentHelper::isEnabled]] | ||
+ | {{SeeAlso:JComponentHelper::isEnabled}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JComponentHelper::isEnabled|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JComponentHelper::isEnabled|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 53: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JComponentHelper]][[Category:JComponentHelper::isEnabled]]</noinclude> | <noinclude>[[Category:JComponentHelper]][[Category:JComponentHelper::isEnabled]]</noinclude> |
Revision as of 20:21, 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.
JComponentHelper::isEnabled[edit]
Description[edit]
Checks if the component is enabled.
Template:Description:JComponentHelper::isEnabled [Edit Descripton]
public static function isEnabled (
$option
$strict=false
)
Parameter | Type | Default | Description |
---|---|---|---|
$option | string | The component option. | |
$strict | boolean | false | $string If set and the component does not exist, false will be returned |
See also[edit]
- JComponentHelper::isEnabled source code on BitBucket
- Class JComponentHelper
- Subpackage Application
- Other versions of JComponentHelper::isEnabled
Template:SeeAlso:JComponentHelper::isEnabled [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />