public function render()
    {
        if (array_key_exists($this->formType, $this->formsType)) {
            $this->form = new $this->formsType[$this->formType]
            (
                $this->idName,
                $this->elements,
                $this->method,
                $this->action
            );
        }
        return $this->form->render();
    }
public function render()
    {
        if (array_key_exists($this->formType, $this->formsType)) {
            $this->form = new $this->formsType[$this->formType]
            (
                $this->idName,
                $this->elements,
                $this->method,
                $this->action
            );
        }
        return $this->form->render();
    }
public function render ( ) { if ( array_key_exists ( $ this -> formType , $ this -> formsType ) ) { $ this -> form = new $ this -> formsType [ $ this -> formType ] ( $ this -> idName , $ this -> elements , $ this -> method , $ this -> action ) ; } return $ this -> form -> render ( ) ; }
Renderiza el formulario
@return mixed
Renderiza el formulario