src/Sulu/Bundle/PageBundle/Controller/PageResourcelocatorController.php
public function cgetAction($id, Request $request)
    {
        list($webspaceKey, $languageCode) = $this->getWebspaceAndLanguage($request);
        $result = $this->getResourceLocatorRepository()->getHistory($id, $webspaceKey, $languageCode);

        return $this->handleView($this->view($result));
    }
public function cgetAction($id, Request $request)
    {
        list($webspaceKey, $languageCode) = $this->getWebspaceAndLanguage($request);
        $result = $this->getResourceLocatorRepository()->getHistory($id, $webspaceKey, $languageCode);

        return $this->handleView($this->view($result));
    }
public function cgetAction ( $ id , Request $ request ) { list ( $ webspaceKey , $ languageCode ) = $ this -> getWebspaceAndLanguage ( $ request ) ; $ result = $ this -> getResourceLocatorRepository ( ) -> getHistory ( $ id , $ webspaceKey , $ languageCode ) ; return $ this -> handleView ( $ this -> view ( $ result ) ) ; }
return all resource locators for given node.

@param string $id
@param Request $request

@return Response
return all resource locators for given node .