API17:JForm::setField
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 10: | Line 10: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public JForm::setField (&$element, $group=null, $replace=true) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 38: | Line 38: | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/form/form.php | + | libraries/joomla/form/form.php (line 795) |
| + | * see source code in [[jplatform:form/form.php#cl-795|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:34, 23 April 2011
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 />
