API17:JFormHelper::loadFieldType
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFormHelper::loadFieldType
Description
Method to load a form field object given a type.
Description:JFormHelper::loadFieldType [Edit Descripton]
Since
Synopsis
public static JFormHelper::loadFieldType ($type, $new=true)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $type | string | The field type. | |
| $new | boolean | true | Flag to toggle whether we should get a new instance of the object. |
Returns
mixed object on success, false otherwise.
Defined in
libraries/joomla/form/helper.php (line 68)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JFormHelper::loadFieldType
Examples
<CodeExamplesForm />
