note 28550 added to function.domdocument-get-elements-by-tagname
| From: | blah at pasher dot org | Date: | Thu, 16 Jan 2003 17:44:19 +0000 |
| Subject: | note 28550 added to function.domdocument-get-elements-by-tagname | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42227@lists.php.net to get a copy of this message | ||
To clarify some confusion:
This function returns an integer-indexed array of DomElement objects. The DomElement class extends
the DomNode class, so all DomNode methods are available to this new object. Additional notes can be
found under the "DomElement->get_elements_by_tagname" manual section. DomElement uses
the DomNode method (unless DomElement overrides this method, but I don't think that occurs).
Also note, if there are no nodes matching your criteria, it returns an empty array, not false.
--
http://www.php.net/manual/en/function.domdocument-get-elements-by-tagname.php
http://master.php.net/manage/user-notes.php?action=edit+28550
http://master.php.net/manage/user-notes.php?action=delete+28550
http://master.php.net/manage/user-notes.php?action=reject+28550