src/View/Helper/FormHelper.php
public function end(array $secureAttributes = [])
    {
        if ($this->_isJsForm) {
            return implode('', [
                $this->hidden('action', ['value' => '', 'class' => 'jsFormAction']),
                parent::end($secureAttributes)
            ]);
        }

        return parent::end($secureAttributes);
    }
public function end(array $secureAttributes = [])
    {
        if ($this->_isJsForm) {
            return implode('', [
                $this->hidden('action', ['value' => '', 'class' => 'jsFormAction']),
                parent::end($secureAttributes)
            ]);
        }

        return parent::end($secureAttributes);
    }
public function end ( array $ secureAttributes = [ ] ) { if ( $ this -> _isJsForm ) { return implode ( '' , [ $ this -> hidden ( 'action' , [ 'value' => '' , 'class' => 'jsFormAction' ] ) , parent :: end ( $ secureAttributes ) ] ) ; } return parent :: end ( $ secureAttributes ) ; }
End html form.

@param   array $secureAttributes
@return  string
End html form .