class HtmlTagA extends HtmlTag

Traits

Properties

protected array $globalAttributes Global common HTML tag attributes. from HtmlTag
protected array $attributes Attributes.
protected array $guardedAttributes Callable fluent HTML tag attributes but not formatted. from HtmlTag
protected array $markup Html Tag markup, open and close.
protected string $content This is the content of a Html tag, suc as

{content}
from HtmlTag

Methods

mixed
__get(string $name)

Return the value of the method get{Name}Attribute.

__set(string $name, mixed $value)

Set the value of the method set{Name}Attribute.

__isset(string $name)

Extend the __isset method to check for the method get{Name}Attribute.

__unset(string $name)

Extend the __unset method to check for the method get{Name}Attribute.

bool
hasGetMutator(string $key)

Determine if a get mutator exists for an attribute.

mixed
mutateAttribute(string $key)

Get the value of an attribute using its mutator.

bool
hasSetMutator(string $key)

Determine if a set mutator exists for an attribute.

mixed
setMutatedAttributeValue(string $key, mixed $value)

Set the value of an attribute using its mutator.

getAttributesAttribute()

No description

from HtmlTag
attributes($values)

No description

from HtmlTag
formatAttributes()

No description

from HtmlTag
formatGlobalAttributes()

No description

from HtmlTag
getStyleAttribute()

No description

from HtmlTag
style()

No description

from HtmlTag
data()

No description

from HtmlTag
getDataAttribute()

No description

from HtmlTag
formatDataAttributes()

No description

from HtmlTag
getClassAttribute()

No description

from HtmlTag
setClassAttribute($value)

No description

from HtmlTag
getAcceptcharsetAttribute()

No description

from HtmlTag
setAcceptcharsetAttribute($value)

No description

from HtmlTag
__construct(array $arguments = [])

HtmlTag constructor.

from HtmlTag
string
__toString()

Get the string rappresentation of the tag.

from HtmlTag
__call($name, $arguments)

No description

from HtmlTag
string
html()

Get the HTML output.

from HtmlTag
render()

Display the HTML output.

from HtmlTag
beforeOpenTag()

No description

from HtmlTag
afterCloseTag()

No description

from HtmlTag

Details

in HasAttributes at line 16
mixed __get(string $name)

Return the value of the method get{Name}Attribute.

Parameters

string $name Usually the protected property name.

Return Value

mixed

in HasAttributes at line 32
__set(string $name, mixed $value)

Set the value of the method set{Name}Attribute.

Parameters

string $name Usually the protected property name.
mixed $value

in HasAttributes at line 45
__isset(string $name)

Extend the __isset method to check for the method get{Name}Attribute.

Parameters

string $name Usually the protected property name.

in HasAttributes at line 58
__unset(string $name)

Extend the __unset method to check for the method get{Name}Attribute.

Parameters

string $name Usually the protected property name.

in HasAttributes at line 72
bool hasGetMutator(string $key)

Determine if a get mutator exists for an attribute.

Parameters

string $key

Return Value

bool

in HasAttributes at line 83
protected mixed mutateAttribute(string $key)

Get the value of an attribute using its mutator.

Parameters

string $key

Return Value

mixed

in HasAttributes at line 94
bool hasSetMutator(string $key)

Determine if a set mutator exists for an attribute.

Parameters

string $key

Return Value

bool

in HasAttributes at line 106
protected mixed setMutatedAttributeValue(string $key, mixed $value)

Set the value of an attribute using its mutator.

Parameters

string $key
mixed $value

Return Value

mixed

in HtmlTag at line 84
protected getAttributesAttribute()

in HtmlTag at line 89
attributes($values)

Parameters

$values

in HtmlTag at line 100
formatAttributes()

in HtmlTag at line 113
formatGlobalAttributes()

in HtmlTag at line 126
protected getStyleAttribute()

in HtmlTag at line 143
style()

in HtmlTag at line 166
data()

in HtmlTag at line 184
getDataAttribute()

in HtmlTag at line 189
formatDataAttributes()

in HtmlTag at line 211
protected getClassAttribute()

in HtmlTag at line 216
protected setClassAttribute($value)

Parameters

$value

in HtmlTag at line 225
protected getAcceptcharsetAttribute()

in HtmlTag at line 230
protected setAcceptcharsetAttribute($value)

Parameters

$value

in HtmlTag at line 248
__construct(array $arguments = [])

HtmlTag constructor.

Parameters

array $arguments

in HtmlTag at line 312
string __toString()

Get the string rappresentation of the tag.

Return Value

string

in HtmlTag at line 317
__call($name, $arguments)

Parameters

$name
$arguments

in HtmlTag at line 337
string html()

Get the HTML output.

Return Value

string

in HtmlTag at line 371
render()

Display the HTML output.

in HtmlTag at line 377
protected beforeOpenTag()

in HtmlTag at line 383
protected afterCloseTag()