Esempio n. 1
0
 /**
  * Check if the current iterator element has children
  *
  * @return object FluentDOMCore
  */
 public function hasChildren()
 {
     $item = $this->_owner->item($this->_position);
     return $item->hasChildNodes();
 }
Esempio n. 2
0
 /**
  * @group CoreFunctions
  * @covers FluentDOMCore::item
  */
 public function testItemExpectingNull()
 {
     $fd = new FluentDOMCore();
     $this->assertNull($fd->item(0));
 }