Méthode |
Description |
|
__call ( string $method, array $parameters ) : Illuminate\Contracts\View\View | mixed |
Dynamically handle calls to the class. |
|
__construct ( HtmlBuilder $html, Illuminate\Contracts\Routing\UrlGenerator $url, Illuminate\Contracts\View\Factory $view, string $csrfToken ) |
Create a new form builder instance. |
|
button ( string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a button element. |
|
checkbox ( string $name, mixed $value = 1, boolean $checked = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a checkbox input field. |
|
close ( ) : string |
Close the current form. |
|
color ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a color input field. |
|
componentCall ( ) |
|
|
date ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a date input field. |
|
datetime ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a datetime input field. |
|
datetimeLocal ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a datetime-local input field. |
|
email ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create an e-mail input field. |
|
file ( string $name, array $options = [] ) : Illuminate\Support\HtmlString |
Create a file input field. |
|
getIdAttribute ( string $name, array $attributes ) : string |
Get the ID attribute for a field name. |
|
getSelectOption ( string $display, string $value, string $selected ) : Illuminate\Support\HtmlString |
Get the select option for the given value. |
|
getSessionStore ( ) : Illuminate\Session\SessionInterface |
Get the session store implementation. |
|
getValueAttribute ( string $name, string $value = null ) : mixed |
Get the value that should be assigned to the field. |
|
hidden ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a hidden input field. |
|
image ( string $url, string $name = null, array $attributes = [] ) : Illuminate\Support\HtmlString |
Create a HTML image input element. |
|
input ( string $type, string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a form input field. |
|
label ( string $name, string $value = null, array $options = [], boolean $escape_html = true ) : Illuminate\Support\HtmlString |
Create a form label element. |
|
macroCall ( ) |
|
|
model ( mixed $model, array $options = [] ) : Illuminate\Support\HtmlString |
Create a new model based form builder. |
|
number ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a number input field. |
|
old ( string $name ) : mixed |
Get a value from the session's old input. |
|
oldInputIsEmpty ( ) : boolean |
Determine if the old input is empty. |
|
open ( array $options = [] ) : Illuminate\Support\HtmlString |
Open up a new HTML form. |
|
password ( string $name, array $options = [] ) : Illuminate\Support\HtmlString |
Create a password input field. |
|
radio ( string $name, mixed $value = null, boolean $checked = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a radio button input field. |
|
reset ( string $value, array $attributes = [] ) : Illuminate\Support\HtmlString |
Create a HTML reset input element. |
|
select ( string $name, array $list = [], string $selected = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a select box field. |
|
selectMonth ( string $name, string $selected = null, array $options = [], string $format = '%B' ) : Illuminate\Support\HtmlString |
Create a select month field. |
|
selectRange ( string $name, string $begin, string $end, string $selected = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a select range field. |
|
selectYear ( ) : mixed |
Create a select year field. |
|
setModel ( mixed $model ) : void |
Set the model instance on the form builder. |
|
setSessionStore ( Illuminate\Session\SessionInterface $session ) |
Set the session store implementation. |
|
submit ( string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a submit button element. |
|
tel ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a tel input field. |
|
text ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a text input field. |
|
textarea ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a textarea input field. |
|
time ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a time input field. |
|
token ( ) : string |
Generate a hidden field with the current CSRF token. |
|
url ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString |
Create a url input field. |
|