API17

JForm::getValue

From Joomla! Documentation

Revision as of 20:59, 27 April 2011 by Doxiki2 (talk | contribs) (Updated to r1448:247ba8d88526)

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]

public function 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 on line 557 of libraries/joomla/form/form.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JForm::getValue [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />