Actions

API17

Difference between revisions of "JParameter::getParam"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JParameter::getParam|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JParameter::getParam|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JParameter::getParam (&$node, $control_name= 'params', $group= '_default')
+
public function getParam (
 +
        &$node
 +
        $control_name= 'params'
 +
        $group= '_default'
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 34: Line 35:
 
|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 Any array of the label, the form element and the tooltip.
array Any array of the label, the form element and the tooltip.
+
* '''Defined''' on line 275 of libraries/joomla/html/parameter.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/html/parameter.php (line 268)
+
* see source code in [[jplatform:html/parameter.php#cl-268|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JParameter::getParam source code''' on [[jplatform:html/parameter.php#cl-267|BitBucket]]
 +
* {{JVer|11.1}} Class [[JParameter/11.1|JParameter]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JParameter::getParam|Other versions of JParameter::getParam]]
 +
{{SeeAlso:JParameter::getParam}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JParameter::getParam|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JParameter::getParam|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JParameter/11.1|JParameter]]
+
===User contributed notes===
* [[JParameter::getParam|Other versions of this method]]
+
{{SeeAlso:JParameter::getParam}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 58: Line 58:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JParameter]][[Category:JParameter::getParam]]</noinclude>
 
<noinclude>[[Category:JParameter]][[Category:JParameter::getParam]]</noinclude>

Revision as of 21:28, 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 JParameter::getParam

Description

Render a parameter type.

Description:JParameter::getParam [Edit Descripton]

public function getParam (
        &$node
        $control_name= 'params'
        $group= '_default'
)
Parameter Type Default Description
&$node object A parameter XML element.
$control_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 Any array of the label, the form element and the tooltip.
  • Defined on line 275 of libraries/joomla/html/parameter.php
  • Since Joomla 11.1

See also

SeeAlso:JParameter::getParam [Edit See Also]

User contributed notes

<CodeExamplesForm />