Generates an open form tag.
public static beginFormTb ( string $layout = self::FORM_LAYOUT_VERTICAL, string $action = '', string $method = 'post', array $htmlOptions = [] ) : string | ||
$layout | string | the form layout. |
$action | string | the form action URL. |
$method | string | form method (e.g. post, get). |
$htmlOptions | array | additional HTML attributes. |
return | string | the generated tag. |