Новости | Документация | Download | Webboard | FAQ | Поиск | Контакты


DOMElement::getElementsByTagName

(PHP 5)

DOMElement::getElementsByTagNameGets elements by tagname

Описание

DOMNodeList DOMElement::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.

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






  Copyright Apache.ru © 1999-2017, All Rights Reserved Разработка сайта: Inside.ru  
  РЕКЛАМА НА САЙТЕ: |