API17

API17:JForm::getValue

From Joomla! Documentation

Joomla 11.1 JForm::getValue

Description

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


User contributed notes

Code Examples