public function getNodeRepositories($ids)
    {
        $types = $this->getService('repos:base.node')
                ->getQuery()
                ->disableChain()
                ->id($ids);

        $types->distinct = true;
        $repositories = array();
        foreach ($types->fetchValues('type') as $key => $type) {
            $type = explode(',', $type);
            $identifier = end($type);
            $repositories[] = AnDomain::getRepository($identifier);
        }

        return $repositories;
    }
public function getNodeRepositories($ids)
    {
        $types = $this->getService('repos:base.node')
                ->getQuery()
                ->disableChain()
                ->id($ids);

        $types->distinct = true;
        $repositories = array();
        foreach ($types->fetchValues('type') as $key => $type) {
            $type = explode(',', $type);
            $identifier = end($type);
            $repositories[] = AnDomain::getRepository($identifier);
        }

        return $repositories;
    }
public function getNodeRepositories ( $ ids ) { $ types = $ this -> getService ( 'repos:base.node' ) -> getQuery ( ) -> disableChain ( ) -> id ( $ ids ) ; $ types -> distinct = true ; $ repositories = array ( ) ; foreach ( $ types -> fetchValues ( 'type' ) as $ key => $ type ) { $ type = explode ( ',' , $ type ) ; $ identifier = end ( $ type ) ; $ repositories [ ] = AnDomain :: getRepository ( $ identifier ) ; } return $ repositories ; }
Return an array of node repositories for a list of ids.

@param array $ids

@return array
Return an array of node repositories for a list of ids .