Documentation

Html
in package
implements ArrayAccess, Countable, IteratorAggregate, HtmlStringable uses SmartObject

HTML helper.

Table of Contents

Interfaces

ArrayAccess
Countable
IteratorAggregate
HtmlStringable

Properties

$accept  : string|null
$accesskey  : string|null
$action  : string|null
$align  : string|null
$allow  : string|null
$alt  : string|null
$async  : bool|null
$attrs  : array<string, mixed>
$autocapitalize  : string|null
$autocomplete  : string|null
$autofocus  : bool|null
$autoplay  : bool|null
$charset  : string|null
$checked  : bool|null
$cite  : string|null
$class  : string|null
$cols  : int|null
$colspan  : int|null
$content  : string|null
$contenteditable  : bool|null
$controls  : bool|null
$coords  : string|null
$crossorigin  : string|null
$data  : string|null
$datetime  : string|null
$decoding  : string|null
$default  : bool|null
$defer  : bool|null
$dir  : string|null
$dirname  : string|null
$disabled  : bool|null
$download  : bool|null
$draggable  : string|null
$dropzone  : string|null
$emptyElements  : mixed
void elements
$enctype  : string|null
$for  : string|null
$form  : string|null
$formaction  : string|null
$formenctype  : string|null
$formmethod  : string|null
$formnovalidate  : bool|null
$formtarget  : string|null
$headers  : string|null
$height  : int|null
$hidden  : bool|null
$high  : float|null
$href  : string|null
$hreflang  : string|null
$id  : string|null
$inputmode  : string|null
$integrity  : string|null
$ismap  : bool|null
$itemprop  : string|null
$kind  : string|null
$label  : string|null
$lang  : string|null
$list  : string|null
$loop  : bool|null
$low  : float|null
$max  : float|null
$maxlength  : int|null
$media  : string|null
$method  : string|null
$min  : float|null
$minlength  : int|null
$multiple  : bool|null
$muted  : bool|null
$novalidate  : bool|null
$open  : bool|null
$optimum  : float|null
$pattern  : string|null
$ping  : string|null
$placeholder  : string|null
$poster  : string|null
$preload  : string|null
$radiogroup  : string|null
$readonly  : bool|null
$rel  : string|null
$required  : bool|null
$reversed  : bool|null
$rows  : int|null
$rowspan  : int|null
$sandbox  : string|null
$scope  : string|null
$selected  : bool|null
$shape  : string|null
$size  : int|null
$sizes  : string|null
$slot  : string|null
$span  : int|null
$spellcheck  : string|null
$src  : string|null
$srcdoc  : string|null
$srclang  : string|null
$srcset  : string|null
$start  : int|null
$step  : float|null
$style  : string|null
$tabindex  : int|null
$target  : string|null
$title  : string|null
$translate  : string|null
$type  : string|null
$usemap  : string|null
$value  : string|null
$width  : int|null
$wrap  : string|null
$children  : array<int, HtmlStringable|string>
$isEmpty  : bool
$name  : string
element's name

Methods

__call()  : mixed
Overloaded setter for element's attribute.
__callStatic()  : mixed
__clone()  : mixed
Clones all children too.
__get()  : mixed
Overloaded getter for element's attribute.
__isset()  : bool
Overloaded tester for element's attribute.
__set()  : void
Overloaded setter for element's attribute.
__toString()  : string
Returns string in HTML format
__unset()  : void
Overloaded unsetter for element's attribute.
accept()  : self
accesskey()  : self
action()  : self
addAttributes()  : static
Sets multiple attributes.
addHtml()  : static
Adds new element's child.
addText()  : static
Appends plain-text string to element content.
align()  : self
allow()  : self
alt()  : self
appendAttribute()  : static
Appends value to element's attribute.
async()  : self
autocapitalize()  : self
autocomplete()  : self
autofocus()  : self
autoplay()  : self
charset()  : self
checked()  : self
cite()  : self
class()  : self
cols()  : self
colspan()  : self
content()  : self
contenteditable()  : self
controls()  : self
coords()  : self
count()  : int
Returns children count.
create()  : static
Creates and adds a new Html child.
crossorigin()  : self
data()  : static
Setter for data-* attributes. Booleans are converted to 'true' resp. 'false'.
datetime()  : self
decoding()  : self
default()  : self
defer()  : self
dir()  : self
dirname()  : self
disabled()  : self
download()  : self
draggable()  : self
dropzone()  : self
el()  : static
Constructs new HTML element.
enctype()  : self
endTag()  : string
Returns element's end tag.
for()  : self
form()  : self
formaction()  : self
formenctype()  : self
formmethod()  : self
formnovalidate()  : self
formtarget()  : self
fromHtml()  : static
Returns an object representing HTML text.
fromText()  : static
Returns an object representing plain text.
getAttribute()  : mixed
Returns element's attribute.
getChildren()  : array<string|int, mixed>
Returns all children.
getHtml()  : string
Returns element's HTML content.
getIterator()  : ArrayIterator<int, HtmlStringable|string>
Iterates over elements.
getName()  : string
Returns element's name.
getText()  : string
Returns element's textual content.
headers()  : self
height()  : self
hidden()  : self
high()  : self
href()  : static
Special setter for element's attribute.
hreflang()  : self
htmlToText()  : string
Converts given HTML code to plain text.
id()  : self
inputmode()  : self
insert()  : static
Inserts child node.
integrity()  : self
isEmpty()  : bool
Is element empty?
ismap()  : self
itemprop()  : self
kind()  : self
label()  : self
lang()  : self
list()  : self
loop()  : self
low()  : self
max()  : self
maxlength()  : self
media()  : self
method()  : self
min()  : self
minlength()  : self
multiple()  : self
muted()  : self
name()  : self
novalidate()  : self
offsetExists()  : bool
Exists child node? (\ArrayAccess implementation).
offsetGet()  : HtmlStringable|string
Returns child node (\ArrayAccess implementation).
offsetSet()  : void
Inserts (replaces) child node (\ArrayAccess implementation).
offsetUnset()  : void
Removes child node (\ArrayAccess implementation).
open()  : self
optimum()  : self
pattern()  : self
ping()  : self
placeholder()  : self
poster()  : self
preload()  : self
radiogroup()  : self
readonly()  : self
rel()  : self
removeAttribute()  : static
Unsets element's attribute.
removeAttributes()  : static
Unsets element's attributes.
removeChildren()  : void
Removes all children.
render()  : string
Renders element's start tag, content and end tag.
required()  : self
reversed()  : self
rows()  : self
rowspan()  : self
sandbox()  : self
scope()  : self
selected()  : self
setAttribute()  : static
Sets element's attribute.
setHtml()  : static
Sets element's HTML content.
setName()  : static
Changes element's name.
setText()  : static
Sets element's textual content.
shape()  : self
size()  : self
sizes()  : self
slot()  : self
span()  : self
spellcheck()  : self
src()  : self
srcdoc()  : self
srclang()  : self
srcset()  : self
start()  : self
startTag()  : string
Returns element's start tag.
step()  : self
style()  : self
tabindex()  : self
target()  : self
title()  : self
toHtml()  : string
Converts to HTML.
toText()  : string
Converts to plain text.
translate()  : self
type()  : self
usemap()  : self
value()  : self
width()  : self
wrap()  : self

Properties

$accept

public string|null $accept

$accesskey

public string|null $accesskey

$action

public string|null $action

$align

public string|null $align

$allow

public string|null $allow

$alt

public string|null $alt

$async

public bool|null $async

$attrs

public array<string, mixed> $attrs = []

element's attributes

$autocapitalize

public string|null $autocapitalize

$autocomplete

public string|null $autocomplete

$autofocus

public bool|null $autofocus

$autoplay

public bool|null $autoplay

$charset

public string|null $charset

$checked

public bool|null $checked

$cite

public string|null $cite

$class

public string|null $class

$cols

public int|null $cols

$colspan

public int|null $colspan

$content

public string|null $content

$contenteditable

public bool|null $contenteditable

$controls

public bool|null $controls

$coords

public string|null $coords

$crossorigin

public string|null $crossorigin

$data

public string|null $data

$datetime

public string|null $datetime

$decoding

public string|null $decoding

$default

public bool|null $default

$defer

public bool|null $defer

$dir

public string|null $dir

$dirname

public string|null $dirname

$disabled

public bool|null $disabled

$download

public bool|null $download

$draggable

public string|null $draggable

$dropzone

public string|null $dropzone

$emptyElements

void elements

public static mixed $emptyElements = ['img' => 1, 'hr' => 1, 'br' => 1, 'input' => 1, 'meta' => 1, 'area' => 1, 'embed' => 1, 'keygen' => 1, 'source' => 1, 'base' => 1, 'col' => 1, 'link' => 1, 'param' => 1, 'basefont' => 1, 'frame' => 1, 'isindex' => 1, 'wbr' => 1, 'command' => 1, 'track' => 1]

$enctype

public string|null $enctype

$for

public string|null $for

$form

public string|null $form

$formaction

public string|null $formaction

$formenctype

public string|null $formenctype

$formmethod

public string|null $formmethod

$formnovalidate

public bool|null $formnovalidate

$formtarget

public string|null $formtarget

$headers

public string|null $headers

$height

public int|null $height

$hidden

public bool|null $hidden

$high

public float|null $high

$href

public string|null $href

$hreflang

public string|null $hreflang

$id

public string|null $id

$inputmode

public string|null $inputmode

$integrity

public string|null $integrity

$ismap

public bool|null $ismap

$itemprop

public string|null $itemprop

$kind

public string|null $kind

$label

public string|null $label

$lang

public string|null $lang

$list

public string|null $list

$loop

public bool|null $loop

$low

public float|null $low

$max

public float|null $max

$maxlength

public int|null $maxlength

$media

public string|null $media

$method

public string|null $method

$min

public float|null $min

$minlength

public int|null $minlength

$multiple

public bool|null $multiple

$muted

public bool|null $muted

$novalidate

public bool|null $novalidate

$open

public bool|null $open

$optimum

public float|null $optimum

$pattern

public string|null $pattern

$ping

public string|null $ping

$placeholder

public string|null $placeholder

$poster

public string|null $poster

$preload

public string|null $preload

$radiogroup

public string|null $radiogroup

$readonly

public bool|null $readonly

$rel

public string|null $rel

$required

public bool|null $required

$reversed

public bool|null $reversed

$rows

public int|null $rows

$rowspan

public int|null $rowspan

$sandbox

public string|null $sandbox

$scope

public string|null $scope

$selected

public bool|null $selected

$shape

public string|null $shape

$size

public int|null $size

$sizes

public string|null $sizes

$slot

public string|null $slot

$span

public int|null $span

$spellcheck

public string|null $spellcheck

$src

public string|null $src

$srcdoc

public string|null $srcdoc

$srclang

public string|null $srclang

$srcset

public string|null $srcset

$start

public int|null $start

$step

public float|null $step

$style

public string|null $style

$tabindex

public int|null $tabindex

$target

public string|null $target

$title

public string|null $title

$translate

public string|null $translate

$type

public string|null $type

$usemap

public string|null $usemap

$value

public string|null $value

$width

public int|null $width

$wrap

public string|null $wrap

$isEmpty

private bool $isEmpty = false

$name

element's name

private string $name = ''

Methods

__call()

Overloaded setter for element's attribute.

public final __call(string $m, array<string|int, mixed> $args) : mixed
Parameters
$m : string
$args : array<string|int, mixed>

__callStatic()

public static __callStatic(string $name, array<string|int, mixed> $args) : mixed
Parameters
$name : string
$args : array<string|int, mixed>
Tags
throws
MemberAccessException

__clone()

Clones all children too.

public __clone() : mixed

__get()

Overloaded getter for element's attribute.

public final & __get(string $name) : mixed
Parameters
$name : string

__isset()

Overloaded tester for element's attribute.

public final __isset(string $name) : bool
Parameters
$name : string
Return values
bool

__set()

Overloaded setter for element's attribute.

public final __set(string $name, mixed $value) : void
Parameters
$name : string
$value : mixed

__toString()

Returns string in HTML format

public final __toString() : string
Return values
string

__unset()

Overloaded unsetter for element's attribute.

public final __unset(string $name) : void
Parameters
$name : string

accept()

public accept(string|null $val) : self
Parameters
$val : string|null
Return values
self

accesskey()

public accesskey(string|null $val[, bool $state = = 'null' ]) : self
Parameters
$val : string|null
$state : bool = = 'null'
Return values
self

action()

public action(string|null $val) : self
Parameters
$val : string|null
Return values
self

addAttributes()

Sets multiple attributes.

public addAttributes(array<string|int, mixed> $attrs) : static
Parameters
$attrs : array<string|int, mixed>
Return values
static

addHtml()

Adds new element's child.

public final addHtml(mixed $child) : static
Parameters
$child : mixed
Return values
static

addText()

Appends plain-text string to element content.

public addText(mixed $text) : static
Parameters
$text : mixed
Return values
static

align()

public align(string|null $val) : self
Parameters
$val : string|null
Return values
self

allow()

public allow(string|null $val[, bool $state = = 'null' ]) : self
Parameters
$val : string|null
$state : bool = = 'null'
Return values
self

alt()

public alt(string|null $val) : self
Parameters
$val : string|null
Return values
self

appendAttribute()

Appends value to element's attribute.

public appendAttribute(string $name, mixed $value[, mixed $option = true ]) : static
Parameters
$name : string
$value : mixed
$option : mixed = true
Return values
static

async()

public async(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

autocapitalize()

public autocapitalize(string|null $val) : self
Parameters
$val : string|null
Return values
self

autocomplete()

public autocomplete(string|null $val) : self
Parameters
$val : string|null
Return values
self

autofocus()

public autofocus(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

autoplay()

public autoplay(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

charset()

public charset(string|null $val) : self
Parameters
$val : string|null
Return values
self

checked()

public checked(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

cite()

public cite(string|null $val) : self
Parameters
$val : string|null
Return values
self

class()

public class(string|null $val[, bool $state = = 'null' ]) : self
Parameters
$val : string|null
$state : bool = = 'null'
Return values
self

cols()

public cols(int|null $val) : self
Parameters
$val : int|null
Return values
self

colspan()

public colspan(int|null $val) : self
Parameters
$val : int|null
Return values
self

content()

public content(string|null $val) : self
Parameters
$val : string|null
Return values
self

contenteditable()

public contenteditable(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

controls()

public controls(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

coords()

public coords(string|null $val) : self
Parameters
$val : string|null
Return values
self

count()

Returns children count.

public final count() : int
Return values
int

create()

Creates and adds a new Html child.

public final create(string $name[, array<string|int, mixed>|string|null $attrs = null ]) : static
Parameters
$name : string
$attrs : array<string|int, mixed>|string|null = null
Return values
static

crossorigin()

public crossorigin(string|null $val) : self
Parameters
$val : string|null
Return values
self

data()

Setter for data-* attributes. Booleans are converted to 'true' resp. 'false'.

public data(string $name[, mixed $value = null ]) : static
Parameters
$name : string
$value : mixed = null
Return values
static

datetime()

public datetime(string|null $val) : self
Parameters
$val : string|null
Return values
self

decoding()

public decoding(string|null $val) : self
Parameters
$val : string|null
Return values
self

default()

public default(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

defer()

public defer(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

dir()

public dir(string|null $val) : self
Parameters
$val : string|null
Return values
self

dirname()

public dirname(string|null $val) : self
Parameters
$val : string|null
Return values
self

disabled()

public disabled(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

download()

public download(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

draggable()

public draggable(string|null $val) : self
Parameters
$val : string|null
Return values
self

dropzone()

public dropzone(string|null $val) : self
Parameters
$val : string|null
Return values
self

el()

Constructs new HTML element.

public static el([string|null $name = null ][, array<string|int, mixed>|string $attrs = null ]) : static
Parameters
$name : string|null = null
$attrs : array<string|int, mixed>|string = null

element's attributes or plain text content

Return values
static

enctype()

public enctype(string|null $val) : self
Parameters
$val : string|null
Return values
self

endTag()

Returns element's end tag.

public final endTag() : string
Return values
string

for()

public for(string|null $val) : self
Parameters
$val : string|null
Return values
self

form()

public form(string|null $val) : self
Parameters
$val : string|null
Return values
self

formaction()

public formaction(string|null $val) : self
Parameters
$val : string|null
Return values
self

formenctype()

public formenctype(string|null $val) : self
Parameters
$val : string|null
Return values
self

formmethod()

public formmethod(string|null $val) : self
Parameters
$val : string|null
Return values
self

formnovalidate()

public formnovalidate(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

formtarget()

public formtarget(string|null $val) : self
Parameters
$val : string|null
Return values
self

fromHtml()

Returns an object representing HTML text.

public static fromHtml(string $html) : static
Parameters
$html : string
Return values
static

fromText()

Returns an object representing plain text.

public static fromText(string $text) : static
Parameters
$text : string
Return values
static

getAttribute()

Returns element's attribute.

public getAttribute(string $name) : mixed
Parameters
$name : string

getChildren()

Returns all children.

public final getChildren() : array<string|int, mixed>
Return values
array<string|int, mixed>

getHtml()

Returns element's HTML content.

public final getHtml() : string
Return values
string

getIterator()

Iterates over elements.

public final getIterator() : ArrayIterator<int, HtmlStringable|string>
Return values
ArrayIterator<int, HtmlStringable|string>

getName()

Returns element's name.

public final getName() : string
Return values
string

getText()

Returns element's textual content.

public final getText() : string
Return values
string

headers()

public headers(string|null $val[, bool $state = = 'null' ]) : self
Parameters
$val : string|null
$state : bool = = 'null'
Return values
self

height()

public height(int|null $val) : self
Parameters
$val : int|null
Return values
self

hidden()

public hidden(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

high()

public high(float|null $val) : self
Parameters
$val : float|null
Return values
self

href()

Special setter for element's attribute.

public final href(string $path[, array<string|int, mixed> $query = [] ]) : static
Parameters
$path : string
$query : array<string|int, mixed> = []
Return values
static

hreflang()

public hreflang(string|null $val) : self
Parameters
$val : string|null
Return values
self

htmlToText()

Converts given HTML code to plain text.

public static htmlToText(string $html) : string
Parameters
$html : string
Return values
string

id()

public id(string|null $val) : self
Parameters
$val : string|null
Return values
self

inputmode()

public inputmode(string|null $val) : self
Parameters
$val : string|null
Return values
self

insert()

Inserts child node.

public insert(int|null $index, HtmlStringable|string $child[, bool $replace = false ]) : static
Parameters
$index : int|null
$child : HtmlStringable|string
$replace : bool = false
Return values
static

integrity()

public integrity(string|null $val) : self
Parameters
$val : string|null
Return values
self

isEmpty()

Is element empty?

public final isEmpty() : bool
Return values
bool

ismap()

public ismap(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

itemprop()

public itemprop(string|null $val) : self
Parameters
$val : string|null
Return values
self

kind()

public kind(string|null $val) : self
Parameters
$val : string|null
Return values
self

label()

public label(string|null $val) : self
Parameters
$val : string|null
Return values
self

lang()

public lang(string|null $val) : self
Parameters
$val : string|null
Return values
self

list()

public list(string|null $val) : self
Parameters
$val : string|null
Return values
self

loop()

public loop(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

low()

public low(float|null $val) : self
Parameters
$val : float|null
Return values
self

max()

public max(float|null $val) : self
Parameters
$val : float|null
Return values
self

maxlength()

public maxlength(int|null $val) : self
Parameters
$val : int|null
Return values
self

media()

public media(string|null $val) : self
Parameters
$val : string|null
Return values
self

method()

public method(string|null $val) : self
Parameters
$val : string|null
Return values
self

min()

public min(float|null $val) : self
Parameters
$val : float|null
Return values
self

minlength()

public minlength(int|null $val) : self
Parameters
$val : int|null
Return values
self

multiple()

public multiple(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

muted()

public muted(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

name()

public name(string|null $val) : self
Parameters
$val : string|null
Return values
self

novalidate()

public novalidate(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

offsetExists()

Exists child node? (\ArrayAccess implementation).

public final offsetExists(int $index) : bool
Parameters
$index : int
Return values
bool

offsetGet()

Returns child node (\ArrayAccess implementation).

public final offsetGet(int $index) : HtmlStringable|string
Parameters
$index : int
Return values
HtmlStringable|string

offsetSet()

Inserts (replaces) child node (\ArrayAccess implementation).

public final offsetSet(int|null $index, Html|string $child) : void
Parameters
$index : int|null

position or null for appending

$child : Html|string

Html node or raw HTML string

offsetUnset()

Removes child node (\ArrayAccess implementation).

public offsetUnset(int $index) : void
Parameters
$index : int

open()

public open(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

optimum()

public optimum(float|null $val) : self
Parameters
$val : float|null
Return values
self

pattern()

public pattern(string|null $val) : self
Parameters
$val : string|null
Return values
self

ping()

public ping(string|null $val[, bool $state = = 'null' ]) : self
Parameters
$val : string|null
$state : bool = = 'null'
Return values
self

placeholder()

public placeholder(string|null $val) : self
Parameters
$val : string|null
Return values
self

poster()

public poster(string|null $val) : self
Parameters
$val : string|null
Return values
self

preload()

public preload(string|null $val) : self
Parameters
$val : string|null
Return values
self

radiogroup()

public radiogroup(string|null $val) : self
Parameters
$val : string|null
Return values
self

readonly()

public readonly(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

rel()

public rel(string|null $val) : self
Parameters
$val : string|null
Return values
self

removeAttribute()

Unsets element's attribute.

public removeAttribute(string $name) : static
Parameters
$name : string
Return values
static

removeAttributes()

Unsets element's attributes.

public removeAttributes(array<string|int, mixed> $attributes) : static
Parameters
$attributes : array<string|int, mixed>
Return values
static

removeChildren()

Removes all children.

public removeChildren() : void

render()

Renders element's start tag, content and end tag.

public final render([int|null $indent = null ]) : string
Parameters
$indent : int|null = null
Return values
string

required()

public required(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

reversed()

public reversed(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

rows()

public rows(int|null $val) : self
Parameters
$val : int|null
Return values
self

rowspan()

public rowspan(int|null $val) : self
Parameters
$val : int|null
Return values
self

sandbox()

public sandbox(string|null $val[, bool $state = = 'null' ]) : self
Parameters
$val : string|null
$state : bool = = 'null'
Return values
self

scope()

public scope(string|null $val) : self
Parameters
$val : string|null
Return values
self

selected()

public selected(bool|null $val) : self
Parameters
$val : bool|null
Return values
self

setAttribute()

Sets element's attribute.

public setAttribute(string $name, mixed $value) : static
Parameters
$name : string
$value : mixed
Return values
static

setHtml()

Sets element's HTML content.

public final setHtml(mixed $html) : static
Parameters
$html : mixed
Return values
static

setName()

Changes element's name.

public final setName(string $name[, bool|null $isEmpty = null ]) : static
Parameters
$name : string
$isEmpty : bool|null = null
Return values
static

setText()

Sets element's textual content.

public final setText(mixed $text) : static
Parameters
$text : mixed
Return values
static

shape()

public shape(string|null $val) : self
Parameters
$val : string|null
Return values
self

size()

public size(int|null $val) : self
Parameters
$val : int|null
Return values
self

sizes()

public sizes(string|null $val) : self
Parameters
$val : string|null
Return values
self

slot()

public slot(string|null $val) : self
Parameters
$val : string|null
Return values
self

span()

public span(int|null $val) : self
Parameters
$val : int|null
Return values
self

spellcheck()

public spellcheck(string|null $val) : self
Parameters
$val : string|null
Return values
self

src()

public src(string|null $val) : self
Parameters
$val : string|null
Return values
self

srcdoc()

public srcdoc(string|null $val) : self
Parameters
$val : string|null
Return values
self

srclang()

public srclang(string|null $val) : self
Parameters
$val : string|null
Return values
self

srcset()

public srcset(string|null $val) : self
Parameters
$val : string|null
Return values
self

start()

public start(int|null $val) : self
Parameters
$val : int|null
Return values
self

startTag()

Returns element's start tag.

public final startTag() : string
Return values
string

step()

public step(float|null $val) : self
Parameters
$val : float|null
Return values
self

style()

public style(string|null $property[, string $val = = 'null' ]) : self
Parameters
$property : string|null
$val : string = = 'null'
Return values
self

tabindex()

public tabindex(int|null $val) : self
Parameters
$val : int|null
Return values
self

target()

public target(string|null $val) : self
Parameters
$val : string|null
Return values
self

title()

public title(string|null $val) : self
Parameters
$val : string|null
Return values
self

toHtml()

Converts to HTML.

public final toHtml() : string
Return values
string

toText()

Converts to plain text.

public final toText() : string
Return values
string

translate()

public translate(string|null $val) : self
Parameters
$val : string|null
Return values
self

type()

public type(string|null $val) : self
Parameters
$val : string|null
Return values
self

usemap()

public usemap(string|null $val) : self
Parameters
$val : string|null
Return values
self

value()

public value(string|null $val) : self
Parameters
$val : string|null
Return values
self

width()

public width(int|null $val) : self
Parameters
$val : int|null
Return values
self

wrap()

public wrap(string|null $val) : self
Parameters
$val : string|null
Return values
self

        
On this page

Search results