Difference between revisions of "JComponentHelper::getParams"
From Joomla! Documentation
(Bulk upload by Doxiki2) |
m (preparing for archive only) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
Gets the parameter object for the component. | Gets the parameter object for the component. | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public static | + | public static function getParams ( |
+ | $option | ||
+ | $strict=false | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 30: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' As of 1.6, this method returns a (previous versions returned ). | |
− | As of 1.6, this method returns a (previous versions returned ). | + | * '''Defined''' on line 81 of libraries/joomla/application/component/helper.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/application/component/helper.php | + | * '''Referenced by''' |
− | + | ** [[API17:JHelp::createURL|JHelp::createURL]] | |
− | * [[JHelp | + | ** [[API17:JAccess::getGroupsByUser|JAccess::getGroupsByUser]] |
− | * [[JAccess | + | ** [[API17:JModuleHelper::getModules|JModuleHelper::getModules]] |
− | * [[JModuleHelper | + | ** [[API17:JModelAdmin::populateState|JModelAdmin::populateState]] |
− | * [[JModelAdmin | + | ** [[API17:JModuleHelper::renderModule|JModuleHelper::renderModule]] |
− | * [[JModuleHelper | + | ** [[API17:JInstallerLanguage::uninstall|JInstallerLanguage::uninstall]] |
− | * [[JInstallerLanguage | ||
===See also=== | ===See also=== | ||
− | + | * {{JVer|11.1}} '''JComponentHelper::getParams source code''' on [[jplatform:application/component/helper.php#cl-73|BitBucket]] | |
− | + | * {{JVer|11.1}} Class [[API17:JComponentHelper|JComponentHelper]] | |
− | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]] | |
− | * | + | * [[API17:JComponentHelper::getParams|Other versions of JComponentHelper::getParams]] |
− | * [[JComponentHelper::getParams|Other versions of | + | |
− | + | ||
− | ===Examples=== | + | ===User contributed notes=== |
− | + | === Code Examples === | |
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JComponentHelper::getParams | category=JComponentHelper::getParams | ||
− | + | namespace=CodeExample | |
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude>[[Category: | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Latest revision as of 21:30, 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.
JComponentHelper::getParams[edit]
Description[edit]
Gets the parameter object for the component.
public static function getParams (
$option
$strict=false
)
Parameter | Type | Default | Description |
---|---|---|---|
$option | string | The option for the component. | |
$strict | boolean | false | If set and the component does not exist, false will be returned |
- Returns As of 1.6, this method returns a (previous versions returned ).
- Defined on line 81 of libraries/joomla/application/component/helper.php
- Since
- Referenced by
See also[edit]
- JComponentHelper::getParams source code on BitBucket
- Class JComponentHelper
- Subpackage Application
- Other versions of JComponentHelper::getParams
User contributed notes[edit]
Code Examples[edit]