JFormField::setForm
Method to attach a JForm object to the field.
Signature
public function setForm(JForm
$formĀ )
Parameters
-
$form
- The JForm object to attach to the form field.
Returns
- JFormField
- The form field object so that the method can be used in a chain.