API17:JForm::setField
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.
JForm::setField
Description
Method to set a field XML element to the form definition.
Description:JForm::setField [Edit Descripton]
Synopsis
public JForm::setField (&$element, $group=null, $replace=true)
| Parameter | Type | Default | Description |
|---|---|---|---|
| &$element | |||
| $group | null | ||
| $replace | true |
Returns
Defined in
libraries/joomla/form/form.php (line 795)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
