PHP: DOMElement->getElementsByTagName() - Manual

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

search for in the

DOMElement->getElementsByTagNameNS() DOMElement->getAttributeNS()

Last updated: Fri, 26 Jan 2007

view this page in

# DOMElement->getElementsByTagName()

(no version information, might be only in CVS)

DOMElement->getElementsByTagName() -- Gets elements by tagname

## Описание

class DOMElement {
DOMNodeList getElementsByTagName ( string name )
}

This function returns a new instance of the class DOMNodeList of all descendant elements with a given tag `name`, in the order in which they are encountered in a preorder traversal of this element tree.

## Список параметров

`name`

  The tag name. Use `*` to return all elements within the element tree.

## Возвращаемые значения

This function returns a new instance of the class DOMNodeList of all matched elements.

## Смотрите также

DOMElement->getElementsByTagNameNS()

add a note User Contributed Notes
DOMElement->getElementsByTagName()
There are no user contributed notes for this page.
DOMElement->getElementsByTagNameNS() DOMElement->getAttributeNS()

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST