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

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

Description[edit]

Method to get the value of a field.

Template:Description:JForm::getValue [Edit Descripton]

Since[edit]

Joomla 11.1

Synopsis[edit]

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

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

Defined in[edit]

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

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JForm::getValue

Examples[edit]

<CodeExamplesForm />