API17

API17:JFormField::setForm

From Joomla! Documentation

Joomla 11.1 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 Joomla 11.1

See also


User contributed notes

Code Examples