Neos.ContentRepository/Classes/Domain/Repository/NodeDataRepository.php
public function findNodesByPathPrefixAndRelatedEntities($pathPrefix, $relationMap)
    {
        $queryBuilder = $this->buildQueryBuilderForRelationMap($relationMap);

        if (trim($pathPrefix) !== '') {
            $queryBuilder->andWhere('n.path LIKE :pathPrefix');
            $queryBuilder->setParameter('pathPrefix', trim($pathPrefix) . '%');
        }

        return $queryBuilder->getQuery()->getResult();
    }
public function findNodesByPathPrefixAndRelatedEntities($pathPrefix, $relationMap)
    {
        $queryBuilder = $this->buildQueryBuilderForRelationMap($relationMap);

        if (trim($pathPrefix) !== '') {
            $queryBuilder->andWhere('n.path LIKE :pathPrefix');
            $queryBuilder->setParameter('pathPrefix', trim($pathPrefix) . '%');
        }

        return $queryBuilder->getQuery()->getResult();
    }
public function findNodesByPathPrefixAndRelatedEntities ( $ pathPrefix , $ relationMap ) { $ queryBuilder = $ this -> buildQueryBuilderForRelationMap ( $ relationMap ) ; if ( trim ( $ pathPrefix ) !== '' ) { $ queryBuilder -> andWhere ( 'n.path LIKE :pathPrefix' ) ; $ queryBuilder -> setParameter ( 'pathPrefix' , trim ( $ pathPrefix ) . '%' ) ; } return $ queryBuilder -> getQuery ( ) -> getResult ( ) ; }
Searches for possible relations to the given entity identifiers in NodeData using a path prefix.
Will return all possible NodeData objects that contain this identifiers.
See buildQueryBuilderForRelationMap for the relationMap definition.

Note: This is an internal method that is likely to be replaced in the future.

@param string $pathPrefix
@param array $relationMap
@return array
Searches for possible relations to the given entity identifiers in NodeData using a path prefix . Will return all possible NodeData objects that contain this identifiers . See buildQueryBuilderForRelationMap for the relationMap definition .