Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
HtmlObject
Traits
Tag
__set
HtmlObject\Traits\Tag::__set PHP Method
Tag Class Documentation
Show file
Open project: anahkiasen/html-object
__set()
public
method
Dynamically set an attribute.
public
__set
(
string
$attribute
,
string
$value
)
$attribute
string
The attribute
$value
string
Its value
public function __set($attribute, $value) { $this->attributes[$attribute] = $value; return $this; }
Tag
__call
__get
__set
__toString
addClass
close
getAttribute
getAttributes
getContent
getTagCloser
getValue
injectProperties
isOpened
open
openOn
removeAttribute
removeClass
render
renderChildren
replaceAttributes
setAttribute
setAttributes
setElement
setTag
setValue
wrapValue
wrapWith