Php/docs/class.domnamednodemap
来自菜鸟教程
(PHP 5, PHP 7)
类摘要
DOMNamedNodeMap implements Traversable , Countable {
public
readonly
int
$length
/* 方法 */
public count ( ) : int
getNamedItem
( string $name
) : DOMNode
getNamedItemNS
( string $namespaceURI
, string $localName
) : DOMNode
}
属性
length
- The number of nodes in the map. The range of valid child node indices is
0
tolength - 1
inclusive.
Table of Contents
- DOMNamedNodeMap::count — Get number of nodes in the map
- DOMNamedNodeMap::getNamedItem — Retrieves a node specified by name
- DOMNamedNodeMap::getNamedItemNS — Retrieves a node specified by local name and namespace URI
- DOMNamedNodeMap::item — Retrieves a node specified by index
/* 属性 */