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
string
the url
string
the text value
array
the attributes array
bool
true to force https, false to force http
string
the html linkaudio(string | array $src, array $attr) : string
string
array
one or multiple audio sources
array
tag attributes
string
doctype(string $type) : string
string
doctype declaration key from doctypes config
string
img(string $src, array $attr) : string
Sets the alt attribute to filename of it is not supplied.
string
the source
array
the attributes array
string
the image tagmail_to(string $email, string $text, string $subject, array $attr) : string
string
The email address
string
The text value
string
The subject
array
attributes for the tag
string
The mailto linkmail_to_safe(string $email, string $text, string $subject, array $attr) : string
string
the email address
string
the text value
string
the subject
array
attributes for the tag
string
the javascript code containing emailol(array $list, array | string $attr) : string
array
list items, may be nested
array
string
outer list attributes
string
prep_url(string $url, string $schema) : string
string
the url
string
the schema
string
url with schemaul(array $list, array | string $attr) : string
array
list items, may be nested
array
string
outer list attributes
string
build_list(string $type, array $list, array $attr, string $indent) : string
string
list type (ol or ul)
array
list items, may be nested
array
tag attributes
string
indentation
string
$doctypes
$html5