HtmlTag
class HtmlTag
Traits
Properties
protected array | $globalAttributes | Global common HTML tag attributes. | |
protected array | $attributes | HTML tag attributes. | |
protected array | $guardedAttributes | Callable fluent HTML tag attributes but not formatted. | |
protected array | $markup | HTML Tag markup, open and close. | |
protected string | $content | This is the content of a Html tag, suc as
{content}
|
Methods
No description
No description
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.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
HtmlTag constructor.
Get the string rappresentation of the tag.
No description
Get the HTML output.
Display the HTML output.
No description
No description
Details
at line 269
__get($name)
at line 288
__set($name, $value)
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.
at line 84
protected
getAttributesAttribute()
at line 89
attributes($values)
at line 100
formatAttributes()
at line 113
formatGlobalAttributes()
at line 126
protected
getStyleAttribute()
at line 143
style()
at line 166
data()
at line 184
getDataAttribute()
at line 189
formatDataAttributes()
at line 211
protected
getClassAttribute()
at line 216
protected
setClassAttribute($value)
at line 225
protected
getAcceptcharsetAttribute()
at line 230
protected
setAcceptcharsetAttribute($value)
at line 248
__construct(array $arguments = [])
HtmlTag constructor.
at line 312
string
__toString()
Get the string rappresentation of the tag.
at line 317
__call($name, $arguments)
at line 337
string
html()
Get the HTML output.
at line 371
render()
Display the HTML output.