JApplicationHelper::getComponentName: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Return the name of the request component [main component]. | Return the name of the request component [main component]. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 33: | 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]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JApplicationHelper::getComponentName | category=JApplicationHelper::getComponentName | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 02:20, 25 March 2017
JApplicationHelper::getComponentName
Description
Return the name of the request component [main component].
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
User contributed notes
Code Examples