Actions

API17

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>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JComponentHelper::isEnabled ($option, $strict=false)
+
public static function isEnabled (
 +
        $option
 +
        $strict=false
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' boolean
boolean
+
* '''Defined''' on line 65 of libraries/joomla/application/component/helper.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/application/component/helper.php (line 65)
+
* see source code in [[jplatform:application/component/helper.php#cl-65|BitBucket]]
+
===Referenced by===
+
 
===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>
* [[JComponentHelper/11.1|JComponentHelper]]
+
===User contributed notes===
* [[JComponentHelper::isEnabled|Other versions of this method]]
+
{{SeeAlso:JComponentHelper::isEnabled}}
+
===Examples===
+
 
<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 19:21, 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 JComponentHelper::isEnabled

Description

Checks if the component is enabled.

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
  • Returns boolean
  • Defined on line 65 of libraries/joomla/application/component/helper.php
  • Since Joomla 11.1

See also

SeeAlso:JComponentHelper::isEnabled [Edit See Also]

User contributed notes

<CodeExamplesForm />