Difference between revisions of "JApplicationHelper::getComponentName"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (preparing for archive only) |
||
(4 intermediate revisions by the same user not shown) | |||
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"> | ||
public static function getComponentName ($default=NULL) | public static function getComponentName ($default=NULL) | ||
Line 28: | Line 26: | ||
* '''Since''' {{JVer|11.1 }} | * '''Since''' {{JVer|11.1 }} | ||
* '''Referenced by''' | * '''Referenced by''' | ||
− | ** [[JView::_setPath | + | ** [[API17:JView::_setPath|JView::_setPath]] |
− | ** [[JHelp::createURL | + | ** [[API17:JHelp::createURL|JHelp::createURL]] |
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JApplicationHelper::getComponentName source code''' on [[jplatform:application/helper.php#cl-27|BitBucket]] | * {{JVer|11.1}} '''JApplicationHelper::getComponentName source code''' on [[jplatform:application/helper.php#cl-27|BitBucket]] | ||
− | * {{JVer|11.1}} Class [[JApplicationHelper | + | * {{JVer|11.1}} Class [[API17:JApplicationHelper|JApplicationHelper]] |
− | * {{JVer|11.1}} Subpackage [[Subpackage_Application | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] |
− | * [[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=* | ||
Line 50: | Line 46: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:20, 24 March 2017
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]