DOMNamedNodeMap::getNamedItem

(PHP 5, PHP 7)

DOMNamedNodeMap::getNamedItem Retrieves a node specified by name

Description

DOMNamedNodeMap::getNamedItem ( string $name ) : DOMNode

Retrieves a node specified by its nodeName.

Parameters

name

The nodeName of the node to retrieve.

Return Values

A node (of any type) with the specified nodeName, or null if no node is found.

See Also

© 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