JForm::loadField
Method to load, setup and return a JFormField object based on field data.
Signature
protected function loadField(string
$element,
[string
$group = null,
[mixed
$value = null]] )
Parameters
-
$element
- The XML element object representation of the form field.
-
$group
- The optional dot-separated form group path on which to find the field.
-
$value
- The optional value to use as the default for the field.
Returns
- mixed
- The JFormField object for the field or boolean false on error.