API17

Difference between revisions of "JComponentHelper::getParams"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by the same user not shown)
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
+
* '''Referenced by'''
===Referenced by===
+
** [[JHelp::createURL/11.1|JHelp::createURL]]
* [[JHelp/createURL/11.1|JHelp::createURL]]
+
** [[JAccess::getGroupsByUser/11.1|JAccess::getGroupsByUser]]
* [[JAccess/getGroupsByUser/11.1|JAccess::getGroupsByUser]]
+
** [[JModuleHelper::getModules/11.1|JModuleHelper::getModules]]
* [[JModuleHelper/getModules/11.1|JModuleHelper::getModules]]
+
** [[JModelAdmin::populateState/11.1|JModelAdmin::populateState]]
* [[JModelAdmin/populateState/11.1|JModelAdmin::populateState]]
+
** [[JModuleHelper::renderModule/11.1|JModuleHelper::renderModule]]
* [[JModuleHelper/renderModule/11.1|JModuleHelper::renderModule]]
+
** [[JInstallerLanguage::uninstall/11.1|JInstallerLanguage::uninstall]]
* [[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 58: 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 20:21, 27 April 2011

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.

Joomla 11.1 JComponentHelper::getParams[edit]

Description[edit]

Gets the parameter object for the component.

Template: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[edit]

Template:SeeAlso:JComponentHelper::getParams [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />