DOMNamedNodeMap
PHP Manual

DOMNamedNodeMap::getNamedItem

(PHP 5)

DOMNamedNodeMap::getNamedItem Retrieves a node specified by name

설명

DOMNode DOMNamedNodeMap::getNamedItem ( string $name )

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.

참고


DOMNamedNodeMap
PHP Manual