Method |
Description |
|
color ( string $name, null $value = null, array $attributes = [] ) : string |
Creates a color element |
|
date ( string $name, null $value = null, array $attributes = [] ) : string |
Creates a date input |
|
datetime ( string $name, null $value = null, array $attributes = [] ) : string |
Creates a datetime form element |
|
datetimelocal ( string $name, null $value = null, array $attributes = [] ) : string |
Creates a datetime local element |
|
email ( string $name, string | null $value = null, array $attributes = [] ) : string |
|
|
error ( string $label, string $input, array $attributes = [] ) : string |
Creates an error validation block |
|
feedback ( string $label, string $input, string $icon, array $attributes = [] ) : string |
Creates a feedback block with an icon |
|
getFormattedError ( string $name ) : string |
Get the formatted errors for the form element with the given name. |
|
hasErrors ( string $name ) : boolean |
Determine whether the form element with the given name
has any validation errors. |
|
help ( string $helpText, array $attributes = [] ) : string |
Creates a help block |
|
horizontal ( array $attributes = [] ) : string |
Opens a horizontal form |
|
horizontalModel ( mixed $model, array $attributes = [] ) : string |
Opens a horizontal form with a given model |
|
inline ( array $attributes = [] ) : string |
Opens an inline form |
|
inlineModel ( mixed $model, array $attributes = [] ) : string |
Opens a inline form with a given model |
|
label ( string $name, string | null $value = null, array $options = [], $escape_html = true ) : string |
|
|
month ( string $name, null $value = null, array $attributes = [] ) : string |
Creates a month input |
|
number ( string $name, null $value = null, array $attributes = [] ) : string |
Creates a number form element |
|
password ( string $name, array $attributes = [] ) : string |
|
|
search ( string $name, null $value = null, array $attributes = [] ) : string |
Creates a search element |
|
select ( string $name, array $list = [], null $selected = null, array $attributes = [] ) : string |
|
|
submit ( string | null $value = null, array $options = [] ) : string |
|
|
success ( string $label, string $input, array $attributes = [] ) : string |
Creates a success validation block |
|
tel ( string $name, null $value = null, array $attributes = [] ) : string |
Creates a tel element |
|
text ( string $name, string | null $value = null, array $attributes = [] ) : string |
|
|
textarea ( string $name, string | null $value = null, array $attributes = [] ) : string |
|
|
time ( string $name, null $value = null, array $attributes = [] ) : string |
Creates a time form element |
|
url ( string $name, null $value = null, array $attributes = [] ) : string |
Creates a url form element |
|
validation ( string $type, string $label, string $input, array $attributes = [] ) : string |
Creates a validation block |
|
warning ( string $label, string $input, array $attributes = [] ) : string |
Creates a warning validation block |
|
week ( string $name, null $value = null, array $attributes = [] ) : string |
Creates a week form element |
|