PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

DOMNamedNodeMap::getNamedItem> <DOMImplementation::hasFeature
Last updated: Fri, 09 Jan 2009

view this page in

La classe DOMNamedNodeMap

Synopsis de la classe

DOMNamedNodeMap
DOMNamedNodeMap {
/* Propriétés */
/* Méthodes */
DOMNode DOMNamedNodeMap::getNamedItem ( string $name )
DOMNode DOMNamedNodeMap::getNamedItemNS ( string $namespaceURI , string $localName )
DOMNode DOMNamedNodeMap::item ( int $index )
}

Sommaire



add a note add a note User Contributed Notes
DOMNamedNodeMap
jtaal at eljakim dot nl
18-Aug-2008 09:14
You can iterate over an instance of DOMNamedNodeMap:
<?php
// suppose $node is a valid DOMElement object
// $node->attributes will be NULL or a valid DOMNamedNodeMap object
foreach ($node->attributes as $attrName => $attrNode) {
}
?>

 
show source | credits | sitemap | contact | advertising | mirror sites