API17:JComponentHelper
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→User contributed notes: bad link repair) |
||
| (2 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JComponentHelper== | ||
| + | ===Description=== | ||
| + | {{Description:JComponentHelper}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JComponentHelper|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JComponentHelper|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public static | ||
|[[JComponentHelper::getComponent/11.1|getComponent]] | |[[JComponentHelper::getComponent/11.1|getComponent]] | ||
|Get the component information. | |Get the component information. | ||
|- | |- | ||
| + | |public static | ||
|[[JComponentHelper::getParams/11.1|getParams]] | |[[JComponentHelper::getParams/11.1|getParams]] | ||
|Gets the parameter object for the component. | |Gets the parameter object for the component. | ||
|- | |- | ||
| + | |public static | ||
|[[JComponentHelper::isEnabled/11.1|isEnabled]] | |[[JComponentHelper::isEnabled/11.1|isEnabled]] | ||
|Checks if the component is enabled. | |Checks if the component is enabled. | ||
|- | |- | ||
| + | |public static | ||
|[[JComponentHelper::renderComponent/11.1|renderComponent]] | |[[JComponentHelper::renderComponent/11.1|renderComponent]] | ||
|Render the component. | |Render the component. | ||
|- | |- | ||
| + | |protected static | ||
|[[JComponentHelper::_load/11.1|_load]] | |[[JComponentHelper::_load/11.1|_load]] | ||
|Load the installed components into the _components property. | |Load the installed components into the _components property. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/application/component/helper.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.application.component.helper' );</source> | <source lang="php">jimport( 'joomla.application.component.helper' );</source> | ||
===See also=== | ===See also=== | ||
| − | * [[JComponentHelper|Other versions of | + | * {{JVer|11.1}} '''JComponentHelper source code''' on [[jplatform:application/component/helper.php|BitBucket]] |
| + | * {{JVer|11.1}} Subpackage [[Subpackage Application/11.1|Application]] | ||
| + | * [[JComponentHelper|Other versions of JComponentHelper]] | ||
{{SeeAlso:JComponentHelper}} | {{SeeAlso:JComponentHelper}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JComponentHelper|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JComponentHelper|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 48: | Line 53: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JComponentHelper]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JComponentHelper]]</noinclude> |
Revision as of 13:32, 29 August 2012
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.
JComponentHelper
Description
Description:JComponentHelper [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | getComponent | Get the component information. |
| public static | getParams | Gets the parameter object for the component. |
| public static | isEnabled | Checks if the component is enabled. |
| public static | renderComponent | Render the component. |
| protected static | _load | Load the installed components into the _components property. |
- Defined in libraries/joomla/application/component/helper.php
Importing
jimport( 'joomla.application.component.helper' );
See also
-
JComponentHelper source code on BitBucket
-
Subpackage Application
- Other versions of JComponentHelper
SeeAlso:JComponentHelper [Edit See Also]
User contributed notes
<CodeExamplesForm />
