php / 8.1.5 / domnamednodemap.getnameditem.html /

DOMNamedNodeMap::getNamedItem

(PHP 5, PHP 7, PHP 8)

DOMNamedNodeMap::getNamedItem Retrieves a node specified by name

Description

public DOMNamedNodeMap::getNamedItem(string $qualifiedName): ?DOMNode

Retrieves a node specified by its nodeName.

Parameters

qualifiedName

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–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/domnamednodemap.getnameditem.php