Search Results

  1. DOMNamedNodeMap::getNamedItem (PHP 5, PHP 7, PHP 8) DOMNamedNodeMap::getNamedItem — Retrieves a node specified by name

  2. Feb 26, 2020 · The DOMNamedNodeMap::getNamedItem () function is an inbuilt function in PHP which is used to retrieve a node specified by name. This is used to get the attribute items and further get information about the attribute.

    • Overview
    • Syntax
    • Browser compatibility

    The getNamedItem() method of the NamedNodeMap interface returns the Attr corresponding to the given name, or null if there is no corresponding attribute.

    Parameters

    name A string with the name of the desired attribute.

    Return value

    An Attr corresponding to the name given in parameter, or null if none has been found.

    BCD tables only load in the browser with JavaScript enabled. Enable JavaScript to view data.

  3. Description The getNamedItem() method returns an attribute node from a NamedNodeMap object.

  4. PHP Editor Review - Php Manual Function dom-domnamednodemap-getnameditem : PHP Developer, PHP Editors and PHP IDE list, biggest Php Editor and IDE list on the net. All Php Editors and IDEs are fully reviewed.

  5. See also MSDN - getNamedItem Method MDC - NamedNodeMap W3C - NamedNodeMap.getNamedItem () DOM 2 Core getNamedItemNS () method

  6. People also ask

  7. The method getNamedItem () retrieves the node specified by name. Following is the syntax for the usage of the getNamedItem() method. This method returns the Node specified by name.