The DOMNamedNodeMap class
Guide
Edit on GitHub ✎
The number of nodes in the map. The range of valid child node indices is 0 to length - 1 inclusive.
Class synopsis
class DOMNamedNodeMap implements IteratorAggregate implements Countable { }
Properties
lengthThe number of nodes in the map. The range of valid child node indices is
0tolength - 1inclusive.
Changelog
| Version | Description |
|---|---|
| 8.0.0 | The unimplemented methods DOMNamedNodeMap::setNamedItem, DOMNamedNodeMap::removeNamedItem, DOMNamedNodeMap::setNamedItemNS and DOMNamedNodeMap::removeNamedItem have been removed. |
| 8.0.0 | DOMNamedNodeMap implements IteratorAggregate now. Previously, Traversable was implemented instead. |
Notes
Note
Nodes in the map can be accessed by array syntax.
Domnamednodemap