getDescendents() public method

Recursively get all children of an element type.
public getDescendents ( ) : ElementType[]
return ElementType[]
Beispiel #1
0
 /**
  * @covers ElementType::getDescendents
  *
  * @todo   Implement testGetDescendents().
  */
 public function testGetDescendents()
 {
     $result = $this->model->getDescendents();
     $expected = array();
     $this->assertEquals($expected, $result);
 }