(PHP 5, PHP 7)
DOMNamedNodeMap::getNamedItem — Retrieves a node specified by name
DOMNamedNodeMap::getNamedItem ( string $name ) : DOMNode
Retrieves a node specified by its nodeName
.
name
The nodeName
of the node to retrieve.
A node (of any type) with the specified nodeName
, or null
if no node is found.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/domnamednodemap.getnameditem.php