From Joomla! Documentation

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JFormField::setForm


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

  • Joomla 11.1 JFormField::setForm source code on BitBucket
  • Joomla 11.1 Class JFormField
  • Joomla 11.1 Subpackage Form
  • Other versions of JFormField::setForm

User contributed notes

Code Examples