Actions

API17

Difference between revisions of "JComponentHelper::getParams"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JComponentHelper::getParams|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JComponentHelper::getParams|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JComponentHelper::getParams ($option, $strict=false)
+
public static function getParams (
 +
        $option
 +
        $strict=false
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''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
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/application/component/helper.php (line 81)
+
* '''Referenced by'''
* see source code in [[jplatform:application/component/helper.php#cl-81|BitBucket]]
+
** [[JHelp::createURL/11.1|JHelp::createURL]]
===Referenced by===
+
** [[JAccess::getGroupsByUser/11.1|JAccess::getGroupsByUser]]
* [[JHelp::createURL/11.1|JHelp::createURL]]
+
** [[JModuleHelper::getModules/11.1|JModuleHelper::getModules]]
* [[JAccess::getGroupsByUser/11.1|JAccess::getGroupsByUser]]
+
** [[JModelAdmin::populateState/11.1|JModelAdmin::populateState]]
* [[JModuleHelper::getModules/11.1|JModuleHelper::getModules]]
+
** [[JModuleHelper::renderModule/11.1|JModuleHelper::renderModule]]
* [[JModelAdmin::populateState/11.1|JModelAdmin::populateState]]
+
** [[JInstallerLanguage::uninstall/11.1|JInstallerLanguage::uninstall]]
* [[JModuleHelper::renderModule/11.1|JModuleHelper::renderModule]]
+
* [[JInstallerLanguage::uninstall/11.1|JInstallerLanguage::uninstall]]
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JComponentHelper::getParams source code''' on [[jplatform:application/component/helper.php#cl-73|BitBucket]]
 +
* {{JVer|11.1}} Class [[JComponentHelper/11.1|JComponentHelper]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
 +
* [[JComponentHelper::getParams|Other versions of JComponentHelper::getParams]]
 +
{{SeeAlso:JComponentHelper::getParams}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JComponentHelper::getParams|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JComponentHelper::getParams|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JComponentHelper/11.1|JComponentHelper]]
+
===User contributed notes===
* [[JComponentHelper::getParams|Other versions of this method]]
+
{{SeeAlso:JComponentHelper::getParams}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 59: Line 59:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JComponentHelper]][[Category:JComponentHelper::getParams]]</noinclude>
 
<noinclude>[[Category:JComponentHelper]][[Category:JComponentHelper::getParams]]</noinclude>

Revision as of 19:21, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JComponentHelper::getParams

Description

Gets the parameter object for the component.

Description:JComponentHelper::getParams [Edit Descripton]

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

See also

SeeAlso:JComponentHelper::getParams [Edit See Also]

User contributed notes

<CodeExamplesForm />