HtmlTagA
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
Set the value of the method set{Name}Attribute
.
Extend the __isset method to check for the method get{Name}Attribute
.
Extend the __unset method to check for the method get{Name}Attribute
.
Determine if a get mutator exists for an attribute.
Get the value of an attribute using its mutator.
Determine if a set mutator exists for an attribute.
Set the value of an attribute using its mutator.
Details
in HasAttributes at line 16
mixed
__get(string $name)
Return the value of the method get{Name}Attribute
.
in HasAttributes at line 32
__set(string $name, mixed $value)
Set the value of the method set{Name}Attribute
.
in HasAttributes at line 45
__isset(string $name)
Extend the __isset method to check for the method get{Name}Attribute
.
in HasAttributes at line 58
__unset(string $name)
Extend the __unset method to check for the method get{Name}Attribute
.
in HasAttributes at line 72
bool
hasGetMutator(string $key)
Determine if a get mutator exists for an attribute.
in HasAttributes at line 83
protected mixed
mutateAttribute(string $key)
Get the value of an attribute using its mutator.
in HasAttributes at line 94
bool
hasSetMutator(string $key)
Determine if a set mutator exists for an attribute.
in HasAttributes at line 106
protected mixed
setMutatedAttributeValue(string $key, mixed $value)
Set the value of an attribute using its mutator.
in HtmlTag at line 84
protected
getAttributesAttribute()
in HtmlTag at line 89
attributes($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)
in HtmlTag at line 225
protected
getAcceptcharsetAttribute()
in HtmlTag at line 230
protected
setAcceptcharsetAttribute($value)
in HtmlTag at line 248
__construct(array $arguments = [])
HtmlTag constructor.
in HtmlTag at line 312
string
__toString()
Get the string rappresentation of the tag.
in HtmlTag at line 317
__call($name, $arguments)
in HtmlTag at line 337
string
html()
Get the HTML output.
in HtmlTag at line 371
render()
Display the HTML output.