Returns an HTML FORM element.
public create ( mixed $model = null, array $options = [] ) : string | ||
$model | mixed | The context for which the form is being defined. Can be an ORM entity, ORM resultset, or an array of meta data. You can use false or null to make a model-less form. |
$options | array | An array of html attributes and options. |
return | string | An formatted opening FORM tag. |