API17:JFormField::setForm
From Joomla! Documentation
JFormField::setForm
Description
Method to attach a object to the field.
public function setForm (JForm $form)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $form | object | $form The object to attach to the form field. |
- Returns object The form field object so that the method can be used in a chain.
- Defined on line 262 of libraries/joomla/form/formfield.php
- Since

See also
JFormField::setForm source code on BitBucket
Class JFormField
Subpackage Form- Other versions of JFormField::setForm
User contributed notes
Code Examples