src/Sulu/Component/Content/Export/WebspaceExport.php
protected function getPathsByUuids($uuids)
    {
        $paths = [];

        $where = [];
        foreach ($uuids as $uuid) {
            $where[] = sprintf('[jcr:uuid] = "%s"', $uuid);
        }

        $queryString = 'SELECT * FROM [nt:unstructured] AS a WHERE ' . implode(' OR ', $where);

        $query = $this->documentManager->createQuery($queryString);

        $result = $query->execute();

        /** @var BasePageDocument $page */
        foreach ($result as $page) {
            $paths[$page->getUuid()] = $page->getPath();
        }

        return $paths;
    }
protected function getPathsByUuids($uuids)
    {
        $paths = [];

        $where = [];
        foreach ($uuids as $uuid) {
            $where[] = sprintf('[jcr:uuid] = "%s"', $uuid);
        }

        $queryString = 'SELECT * FROM [nt:unstructured] AS a WHERE ' . implode(' OR ', $where);

        $query = $this->documentManager->createQuery($queryString);

        $result = $query->execute();

        /** @var BasePageDocument $page */
        foreach ($result as $page) {
            $paths[$page->getUuid()] = $page->getPath();
        }

        return $paths;
    }
protected function getPathsByUuids ( $ uuids ) { $ paths = [ ] ; $ where = [ ] ; foreach ( $ uuids as $ uuid ) { $ where [ ] = sprintf ( '[jcr:uuid] = "%s"' , $ uuid ) ; } $ queryString = 'SELECT * FROM [nt:unstructured] AS a WHERE ' . implode ( ' OR ' , $ where ) ; $ query = $ this -> documentManager -> createQuery ( $ queryString ) ; $ result = $ query -> execute ( ) ; /** @var BasePageDocument $page */ foreach ( $ result as $ page ) { $ paths [ $ page -> getUuid ( ) ] = $ page -> getPath ( ) ; } return $ paths ; }
Returns node path from given uuid.

@param $uuids

@return string[]

@throws DocumentManagerException
Returns node path from given uuid .