PHP Doku:: Returns first child of node - function.domnode-first-child.html

Verlauf / Chronik / History: (24) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzXML-ManipulationDOM-XMLDOM-XML-FunktionenDomNode->first_child

Ein Service von Reinhard Neidl - Webprogrammierung.

DOM-XML-Funktionen

<<DomNode->dump_node

DomNode->get_content>>

DomNode->first_child

(PHP 4 >= 4.1.0)

DomNode->first_child Returns first child of node

Beschreibung

domelement DomNode->first_child ( void )

Returns the first child of the node.

(PHP >= 4.3 only) If no first child is found, NULL is returned.

See also domnode_last_child(), and domnode_next_sibling(), domnode_previous_sibling().


Ein BenutzerBeitrag:
- Beiträge aktualisieren...

20.05.2007 15:52
in PHP5's DOM (Not DOM-XML) class use firstChild variable instead of first_child() function.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)