FOF30\Form\Header\HeaderBase::setForm PHP Method

setForm() public method

Method to attach a JForm object to the field.
Since: 2.0
public setForm ( Form $form ) : FOF30\Form\HeaderInterface
$form FOF30\Form\Form The JForm object to attach to the form field.
return FOF30\Form\HeaderInterface The form field object so that the method can be used in a chain.
    public function setForm(Form $form)
    {
        $this->form = $form;
        return $this;
    }