FOF30\Form\FieldInterface::setForm PHP Метод

setForm() публичный Метод

Method to attach a JForm object to the field. Actually, we need a FOF Form object but there's no way to provide that type hint without issuing a string standards notice in PHP :(
public setForm ( JForm $form ) : FOF30\Form\FieldInterface
$form JForm The JForm object to attach to the form field.
Результат FOF30\Form\FieldInterface The form field object so that the method can be used in a chain.
    public function setForm(\JForm $form);