API17

JForm::getValue

From Joomla! Documentation

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.


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]


User contributed notes[edit]

Code Examples[edit]