anchor()
audio()
doctype()
img()
mail_to()
mail_to_safe()
meta()
ol()
prep_url()
ul()
build_list()
$doctypes
$html5
Html Class
| package | Fuel |
|---|---|
| subpackage | Core |
| category | Core |
| author | Alfredo Rivera |
| link | http://docs.fuelphp.com/classes/html.html |
anchor(string $href, string $text, array $attr, bool $secure) : string
stringthe url
stringthe text value
arraythe attributes array
booltrue to force https, false to force http
stringthe html linkaudio(string | array $src, array $attr) : string
stringarrayone or multiple audio sources
arraytag attributes
stringdoctype(string $type) : string
stringdoctype declaration key from doctypes config
stringimg(string $src, array $attr) : string
Sets the alt attribute to filename of it is not supplied.
stringthe source
arraythe attributes array
stringthe image tagmail_to(string $email, string $text, string $subject, array $attr) : string
stringThe email address
stringThe text value
stringThe subject
arrayattributes for the tag
stringThe mailto linkmail_to_safe(string $email, string $text, string $subject, array $attr) : string
stringthe email address
stringthe text value
stringthe subject
arrayattributes for the tag
stringthe javascript code containing emailol(array $list, array | string $attr) : string
arraylist items, may be nested
arraystringouter list attributes
stringprep_url(string $url, string $schema) : string
stringthe url
stringthe schema
stringurl with schemaul(array $list, array | string $attr) : string
arraylist items, may be nested
arraystringouter list attributes
stringbuild_list(string $type, array $list, array $attr, string $indent) : string
stringlist type (ol or ul)
arraylist items, may be nested
arraytag attributes
stringindentation
string$doctypes
$html5