TXmlElementList represents a collection of {@link TXmlElement}. You may manipulate the collection with the operations defined in {@link TList}.
Since: 3.0
Author: Qiang Xue (qiang.xue@gmail.com)
Inheritance: extends Prado\Collections\TList
Example #1
0
 public function testRemoveAt()
 {
     $element = new TXmlElement('tag');
     $list = new TXmlElementList($element);
     $newElement = new TXmlElement('newTag');
     $list->insertAt(0, $newElement);
     self::assertEquals($newElement, $list->removeAt(0));
 }