public function getRootNodes()
	{
		$searchCondition = $this->createSearchCondition();
		$searchCondition->levelEqualsTo(0);

		$rootNodes = $this->search($searchCondition);
		return $rootNodes;
	}
public function getRootNodes()
	{
		$searchCondition = $this->createSearchCondition();
		$searchCondition->levelEqualsTo(0);

		$rootNodes = $this->search($searchCondition);
		return $rootNodes;
	}
public function getRootNodes ( ) { $ searchCondition = $ this -> createSearchCondition ( ) ; $ searchCondition -> levelEqualsTo ( 0 ) ; $ rootNodes = $ this -> search ( $ searchCondition ) ; return $ rootNodes ; }
Get root nodes' array
@TODO doesn't take into account nodes from the doctrine repo array helper
@return array
Get root nodes array