src/Sulu/Component/Content/Export/WebspaceExport.php
protected function getDocuments($webspaceKey, $uuid = null, $nodes = null, $ignoredNodes = null)
    {
        $queryString = $this->getDocumentsQueryString($webspaceKey, $uuid, $nodes, $ignoredNodes);

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

        return $query->execute();
    }
protected function getDocuments($webspaceKey, $uuid = null, $nodes = null, $ignoredNodes = null)
    {
        $queryString = $this->getDocumentsQueryString($webspaceKey, $uuid, $nodes, $ignoredNodes);

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

        return $query->execute();
    }
protected function getDocuments ( $ webspaceKey , $ uuid = null , $ nodes = null , $ ignoredNodes = null ) { $ queryString = $ this -> getDocumentsQueryString ( $ webspaceKey , $ uuid , $ nodes , $ ignoredNodes ) ; $ query = $ this -> documentManager -> createQuery ( $ queryString , $ this -> exportLocale ) ; return $ query -> execute ( ) ; }
Returns all Documents from given webspace.

@param string $webspaceKey
@param string $uuid
@param array $nodes
@param array $ignoredNodes

@return array

@throws DocumentManagerException
Returns all Documents from given webspace .