src/Helpers/Request/HtmlHelper.php
public function beginForm($action = '', $method = 'post', $options = [])
    {
        return $this->proxyWithApp(__FUNCTION__, [$action, $method, $options]);
    }
public function beginForm($action = '', $method = 'post', $options = [])
    {
        return $this->proxyWithApp(__FUNCTION__, [$action, $method, $options]);
    }
Generates a form start tag.
@param array|string $action the form action URL. This parameter will be processed by [[Url::to()]].
@param string       $method the form submission method, such as "post", "get", "put", "delete" (case-insensitive).
Since most browsers only support "post" and "get", if other methods are given, they will
be simulated using "post", and a hidden input will be added which contains the actual method type.
See [[\Reaction\Web\RequestHelper::methodParam]] for more details.
@param array        $options the tag options in terms of name-value pairs. These will be rendered as
the attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].
If a value is null, the corresponding attribute will not be rendered.
See [[renderTagAttributes()]] for details on how attributes are being rendered.

Special options:

- `csrf`: whether to generate the CSRF hidden input. Defaults to true.
@return string the generated form start tag.
@see endForm()
@see Html::beginForm()