FOFFormHelper::loadFieldType
Method to load a form field object given a type.
Signature
public function loadFieldType(string
$type,
[boolean
$new = true] )
Parameters
-
$type
- The field type.
-
$new
- Flag to toggle whether we should get a new instance of the object.
Returns
- mixed
- JFormField object on success, false otherwise.