Method |
Description |
|
__call ( string $method, array $parameters ) : mixed |
Dynamically handle calls to custom macros. |
|
__construct ( HTML $html ) |
|
|
button ( string $value = null, array $attributes = [] ) : string |
Create a HTML button element. |
|
checkbox ( string $name, string $value = 1, boolean $checked = false, array $attributes = [] ) : string |
Create a HTML checkbox input element. |
|
close ( ) : string |
Close a HTML form. |
|
date ( string $name, string $value = null, array $attributes = [] ) : string |
Create a HTML date input element. |
|
email ( string $name, string $value = null, array $attributes = [] ) : string |
Create a HTML email input element. |
|
file ( string $name, array $attributes = [] ) : string |
Create a HTML file input element. |
|
hidden ( string $name, string $value = null, array $attributes = [] ) : string |
Create a HTML hidden input element. |
|
image ( string $url, string $name = null, array $attributes = [] ) : string |
Create a HTML image input element. |
|
input ( string $type, string $name, mixed $value = null, array $attributes = [] ) : string |
Create a HTML input element. |
|
label ( string $name, string $value, array $attributes = [] ) : string |
Create a HTML label element. |
|
macro ( string $name, Closure $macro ) : void |
Registers a custom macro. |
|
number ( string $name, string $value = null, array $attributes = [] ) : string |
Create a HTML number input element. |
|
open ( string $action = null, string $method = 'POST', array $attributes = [], boolean $https = null ) : string |
Open a HTML form. |
|
openForFiles ( string $action = null, string $method = 'POST', array $attributes = [], boolean $https = null ) : string |
Open a HTML form that accepts file uploads. |
|
openSecure ( string $action = null, string $method = 'POST', array $attributes = [] ) : string |
Open a HTML form with a HTTPS action URI. |
|
openSecureForFiles ( string $action = null, string $method = 'POST', array $attributes = [] ) : string |
Open a HTML form that accepts file uploads with a HTTPS action URI. |
|
password ( string $name, array $attributes = [] ) : string |
Create a HTML password input element. |
|
radio ( string $name, string $value = null, boolean $checked = false, array $attributes = [] ) : string |
Create a HTML radio button input element. |
|
reset ( string $value = null, array $attributes = [] ) : string |
Create a HTML reset input element. |
|
search ( string $name, string $value = null, array $attributes = [] ) : string |
Create a HTML search input element. |
|
select ( string $name, array $options = [], string $selected = null, array $attributes = [] ) : string |
Create a HTML select element. |
|
submit ( string $value = null, array $attributes = [] ) : string |
Create a HTML submit input element. |
|
telephone ( string $name, string $value = null, array $attributes = [] ) : string |
Create a HTML telephone input element. |
|
text ( string $name, string $value = null, array $attributes = [] ) : string |
Create a HTML text input element. |
|
textarea ( string $name, string $value = '', array $attributes = [] ) : string |
Create a HTML textarea element. |
|
token ( ) : string |
Generate a hidden field containing the current CSRF token. |
|
url ( string $name, string $value = null, array $attributes = [] ) : string |
Create a HTML URL input element. |
|