API17:JForm::getField
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public JForm::getField ($name, $group=null, $value=null) |
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 40: | Line 40: | ||
mixed The object for the field or boolean false on error. | mixed The object for the field or boolean false on error. | ||
===Defined in=== | ===Defined in=== | ||
| − | libraries/joomla/form/form.php | + | libraries/joomla/form/form.php (line 257) |
| + | * see source code in [[jplatform:form/form.php#cl-257|BitBucket]] | ||
===Referenced by=== | ===Referenced by=== | ||
===See also=== | ===See also=== | ||
Revision as of 20:33, 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::getField
Description
Method to get a form field represented as a object.
Description:JForm::getField [Edit Descripton]
Since
Synopsis
public JForm::getField ($name, $group=null, $value=null)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $name | string | The name of the form field. | |
| $group | string | null | The optional dot-separated form group path on which to find the field. |
| $value | mixed | null | The optional value to use as the default for the field. |
Returns
mixed The object for the field or boolean false on error.
Defined in
libraries/joomla/form/form.php (line 257)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
