public function setFormOptions($formOptions)
    {
        $this->formOptions = $this->formHelper->mergeOptions($this->formOptions, $formOptions);

        $this->getModelFromOptions();

        $this->getDataFromOptions();

        $this->checkIfNamedForm();

        return $this;
    }
public function setFormOptions($formOptions)
    {
        $this->formOptions = $this->formHelper->mergeOptions($this->formOptions, $formOptions);

        $this->getModelFromOptions();

        $this->getDataFromOptions();

        $this->checkIfNamedForm();

        return $this;
    }
public function setFormOptions ( $ formOptions ) { $ this -> formOptions = $ this -> formHelper -> mergeOptions ( $ this -> formOptions , $ formOptions ) ; $ this -> getModelFromOptions ( ) ; $ this -> getDataFromOptions ( ) ; $ this -> checkIfNamedForm ( ) ; return $ this ; }
Set form options

@param array $formOptions
@return $this
Set form options