public function getFlatTree($path, $rootAlias = 't', $extraParams = array())
    {
        return $this
            ->getFlatTreeQB($path, $rootAlias, $extraParams)
            ->getQuery()
            ->execute()
        ;
    }
public function getFlatTree($path, $rootAlias = 't', $extraParams = array())
    {
        return $this
            ->getFlatTreeQB($path, $rootAlias, $extraParams)
            ->getQuery()
            ->execute()
        ;
    }
public function getFlatTree ( $ path , $ rootAlias = 't' , $ extraParams = array ( ) ) { return $ this -> getFlatTreeQB ( $ path , $ rootAlias , $ extraParams ) -> getQuery ( ) -> execute ( ) ; }
Executes the flat tree query builder

@param string $path
@param string $rootAlias
@param array  $extraParams To be used in addFlatTreeConditions

@return array the flat resultset
Executes the flat tree query builder