JForm::setField
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JForm::setField[edit]
Description[edit]
Method to set a field XML element to the form definition.
public function setField (
&$element
$group=null
$replace=true
)
Parameter | Type | Default | Description |
---|---|---|---|
&$element | |||
$group | null | ||
$replace | true |
- Returns
- Defined on line 797 of libraries/joomla/form/form.php
See also[edit]
- JForm::setField source code on BitBucket
- Class JForm
- Subpackage Form
- Other versions of JForm::setField
User contributed notes[edit]
Code Examples[edit]