Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API 2.0

PHP DOM Builder is unveiled in second revision

In 2014 year PHP DOM Builder library was unveiled at the first time within the framework of Baigudin Software project. Two years have been left after that moment and today we are glad to offer the second generation that is PHP DOM Builder Revision 2.

Class «DomBuilder\Core\ElementList»

Elements list container.

  • class Core\ElementList

All implemented interfaces:

Object Builder Property Attribute Traverse Fetch Search Tester

public static bool isSelf(object $node);

Tests if given object is this class or has this class as one of its parents.

Parameters:
object $node — tested object.

Returns:
bool — true if given object is this class or child class of this class.

public ElementList push(Element|ElementList $node);

Pushs element or elements list into this list.

Parameters:
Element|ElementList $node — one element or elements list.

Returns:
ElementList — this list.

Back to class list