Actions

API17

Difference between revisions of "JForm::getValue"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JForm->getValue ($name, $group=null, $default=null)
+
public JForm::getValue ($name, $group=null, $default=null)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 40: Line 40:
 
mixed The value of the field or the default value if empty.
 
mixed The value of the field or the default value if empty.
 
===Defined in===
 
===Defined in===
libraries/joomla/form/form.php
+
libraries/joomla/form/form.php (line 555)
 +
* see source code in [[jplatform:form/form.php#cl-555|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:34, 23 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 JForm::getValue

Description

Method to get the value of a field.

Description:JForm::getValue [Edit Descripton]

Since

Joomla 11.1

Synopsis

public JForm::getValue ($name, $group=null, $default=null)
Parameter Type Default Description
$name string The name of the field for which to get the value.
$group string null The optional dot-separated form group path on which to get the value.
$default mixed null The optional default value of the field value is empty.

Returns

mixed The value of the field or the default value if empty.

Defined in

libraries/joomla/form/form.php (line 555)

Referenced by

See also

[Edit See Also]

SeeAlso:JForm::getValue

Examples

<CodeExamplesForm />