API17

Difference between revisions of "JComponentHelper::getComponent"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 35: Line 35:
 
object An object with the fields for the component.
 
object An object with the fields for the component.
 
===Defined in===
 
===Defined in===
libraries/joomla/application/component/helper.php
+
libraries/joomla/application/component/helper.php (line 39)
 +
* see source code in [[jplatform:application/component/helper.php#cl-39|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:06, 23 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.

Joomla 11.1 JComponentHelper::getComponent[edit]

Description[edit]

Get the component information.

Template:Description:JComponentHelper::getComponent [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

public static JComponentHelper::getComponent ($option, $strict=false)
Parameter Type Default Description
$option string The component option.
$strict boolean false $string If set and the component does not exist, the enabled attribue will be set to false

Returns[edit]

object An object with the fields for the component.

Defined in[edit]

libraries/joomla/application/component/helper.php (line 39)

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JComponentHelper::getComponent

Examples[edit]

<CodeExamplesForm />