ModelBundle/Repository/NodeRepository.php
public function findSubTreeByPath($path, $siteId, $language)
    {
        $qa = $this->buildTreeRequest($language, $siteId);
        $qa->match(array('path' => new \MongoRegex('/'.preg_quote($path).'.+/')));

        return $this->hydrateAggregateQuery($qa);
    }
public function findSubTreeByPath($path, $siteId, $language)
    {
        $qa = $this->buildTreeRequest($language, $siteId);
        $qa->match(array('path' => new \MongoRegex('/'.preg_quote($path).'.+/')));

        return $this->hydrateAggregateQuery($qa);
    }
public function findSubTreeByPath ( $ path , $ siteId , $ language ) { $ qa = $ this -> buildTreeRequest ( $ language , $ siteId ) ; $ qa -> match ( array ( 'path' => new \ MongoRegex ( '/' . preg_quote ( $ path ) . '.+/' ) ) ) ; return $ this -> hydrateAggregateQuery ( $ qa ) ; }
@param string $path
@param string $siteId
@param string $language

@return mixed
@param string $path @param string $siteId @param string $language