메소드 |
설명 |
|
__call ( string $method, array $parameters ) : mixed |
Dynamically handle calls to custom macros. |
|
__construct ( UrlGenerator $urlGenerator = null ) |
Build a new instance of HTML |
|
action ( string $action, string $title = null, array $parameters = [], array $attributes = [], $absolute = true ) : string |
Generate a HTML link to a controller action |
|
asset ( string $url, string $title = null, array $attributes = [], boolean $https = null ) : string |
Generate a HTML link to an asset |
|
attributes ( array $attributes ) : string |
Build a list of HTML attributes from an array |
|
decode ( string $value ) : string |
Convert HTML entities to HTML characters |
|
dl ( array $list, array $attributes = [] ) : string |
Generate a definition list. |
|
email ( string $email ) : string |
Obfuscate an e-mail address to prevent spam-bots from sniffing it. |
|
entities ( string $value ) : string |
Convert HTML characters to HTML entities |
|
getUrlGenerator ( ) |
|
|
image ( string $url, string $alt = null, array $attributes = [] ) : string |
Generate an HTML image element. |
|
link ( string $url, string $title = null, array $attributes = [], $parameters = [], boolean $https = null ) : string |
Generate a HTML link |
|
macro ( string $name, Callable $callback ) : void |
Register a new macro with the HTML class |
|
mailto ( string $email, string $title = null, array $attributes = [] ) : string |
Generate an HTML mailto link. |
|
ol ( array $list, array $attributes = [] ) : string |
Generate an ordered list of items. |
|
route ( string $name, string $title = null, array $parameters = [], array $attributes = [], $absolute = true ) : string |
Generate a HTML link to a route |
|
script ( string $url, array $attributes = [] ) : string |
Generate a link to a JS file |
|
script_tag ( string $script, array $attributes = [] ) : string |
Generate a script tag with embed javascript |
|
secure ( string $url, string $title = null, $parameters = [], array $attributes = [] ) : string |
Generate a HTTPS HTML link |
|
secureAsset ( string $url, string $title = null, array $attributes = [] ) : string |
Generate a HTTPS HTML link to an asset |
|
span ( string $value, array $attributes = [] ) : string |
Generate a HTML span |
|
specialchars ( string $value ) : string |
Convert HTML special characters |
|
style ( string $url, array $attributes = [] ) : string |
Generate a link to a CSS file. |
|
to ( string $url, string $title = null, array $attributes = [], $parameters = [], boolean $https = null ) : string |
Generate a HTML link |
|
ul ( array $list, array $attributes = [] ) : string |
Generate an un-ordered list of items. |
|
wrapHTMLTag ( string $value, string $tag ) : string |
Wraps opening and closing HTML tags around the given input. |
|