API17

Difference between revisions of "JParameter::getParams"

From Joomla! Documentation

(Layout updates)
m (preparing for archive only)
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Render all parameters.  
 
Render all parameters.  
  
{{Description:JParameter::getParams}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JParameter::getParams|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JParameter::getParams ($name= 'params', $group= '_default')
+
public function getParams (
 +
        $name= 'params'
 +
        $group= '_default'
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 29: Line 27:
 
|string
 
|string
 
|'_default'
 
|'_default'
|An optional group to render. The default group is used if not supplied.  
+
|An optional group to render. The default group is used if not supplied.
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array An array of all parameters, each as array of the label, the form element and the tooltip.
array An array of all parameters, each as array of the label, the form element and the tooltip.
+
* '''Defined''' on line 252 of libraries/joomla/html/parameter.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/html/parameter.php (line 246)
 
* see source code in [[jplatform:html/parameter.php#cl-246|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JParameter::getParams source code''' on [[jplatform:html/parameter.php#cl-244|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JParameter::getParams|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JParameter|JParameter]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Html|Html]]
* [[JParameter/11.1|JParameter]]
+
* [[API17:JParameter::getParams|Other versions of JParameter::getParams]]
* [[JParameter::getParams|Other versions of this method]]
+
 
{{SeeAlso:JParameter::getParams}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JParameter::getParams
 
category=JParameter::getParams
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JParameter]][[Category:JParameter::getParams]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:32, 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.

Joomla 11.1 JParameter::getParams[edit]

Description[edit]

Render all parameters.


public function getParams (
        $name= 'params'
        $group= '_default'
)
Parameter Type Default Description
$name string 'params' An optional name of the HTML form control. The default is 'params' if not supplied.
$group string '_default' An optional group to render. The default group is used if not supplied.
  • Returns array An array of all parameters, each as array of the label, the form element and the tooltip.
  • Defined on line 252 of libraries/joomla/html/parameter.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]