JApplicationHelper::getComponentName: Difference between revisions
From Joomla! Documentation
m moving preparation |
m clean up |
||
| Line 4: | Line 4: | ||
Return the name of the request component [main component]. | Return the name of the request component [main component]. | ||
{{Description:JApplicationHelper::getComponentName}} | {{subst:Description:JApplicationHelper::getComponentName}} | ||
<source lang="php"> | <source lang="php"> | ||
public static function getComponentName ($default=NULL) | public static function getComponentName ($default=NULL) | ||
| Line 35: | Line 33: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | ||
* [[API17:JApplicationHelper::getComponentName|Other versions of JApplicationHelper::getComponentName]] | * [[API17:JApplicationHelper::getComponentName|Other versions of JApplicationHelper::getComponentName]] | ||
{{SeeAlso:JApplicationHelper::getComponentName}} | {{subst:SeeAlso:JApplicationHelper::getComponentName}} | ||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
Revision as of 14:45, 24 March 2017
JApplicationHelper::getComponentName
Description
Return the name of the request component [main component].
{{subst:Description:JApplicationHelper::getComponentName}}
public static function getComponentName ($default=NULL)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $default | string | NULL | The default option |
- Returns string Option
- Defined on line 35 of libraries/joomla/application/helper.php
- Since

- Referenced by
See also
JApplicationHelper::getComponentName source code on BitBucket
Class JApplicationHelper
Subpackage Application- Other versions of JApplicationHelper::getComponentName
{{subst:SeeAlso:JApplicationHelper::getComponentName}}
User contributed notes
<CodeExamplesForm />