DomNode::first_child

(PHP 4 >= 4.1.0)

DomNode::first_child Returns first child of node

Описание

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().

[an error occurred while processing the directive]

Коментарии

Автор:
in PHP5's DOM (Not DOM-XML) class use firstChild variable instead of first_child() function.
2007-05-20 09:52:06
http://php5.kiev.ua/manual/ru/function.domnode-first-child.html

    Поддержать сайт на родительском проекте КГБ