FOF30\Form\Header\HeaderBase::__construct PHP Метод

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

Method to instantiate the form field object.
С версии: 2.0
public __construct ( Form $form = null )
$form FOF30\Form\Form The form to attach to the form field object.
    public function __construct(Form $form = null)
    {
        // If there is a form passed into the constructor set the form and form control properties.
        if ($form instanceof Form) {
            $this->form = $form;
        }
    }