Rich attribute data for a DOM Element.
More...
|
static | jsonClassHintFor (string $keyname) |
|
static | newFromJsonArray (array $json) |
|
Rich attribute data for a DOM Element.
Both the key and the value can be strings or more complex values.
◆ __construct()
Wikimedia\Parsoid\NodeData\DataMwAttrib::__construct |
( |
| $key, |
|
|
| $value ) |
- Parameters
-
| array{txt?:string,html?:string}|string | $key Attribute name |
array | string | $value | Attribute value |
The documentation for this class was generated from the following file:
- src/NodeData/DataMwAttrib.php