JApplicationHelper::getComponentName
From Joomla! Documentation
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.
JApplicationHelper::getComponentName[edit]
Description[edit]
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[edit]
- JApplicationHelper::getComponentName source code on BitBucket
- Class JApplicationHelper
- Subpackage Application
- Other versions of JApplicationHelper::getComponentName
User contributed notes[edit]
Code Examples[edit]