PHP Class Sulu\Bundle\ContentBundle\Controller\NodeResourcelocatorController

Inheritance: extends Sulu\Component\Rest\RestController, implements FOS\RestBundle\Routing\ClassResourceInterface, use trait Sulu\Component\Rest\RequestParametersTrait
Exibir arquivo Open project: sulu/sulu

Public Methods

Method Description
cgetAction ( string $uuid ) : Response return all resource locators for given node.
deleteAction ( ) : Response deletes resource locator with given path.
getLocale ( Request $request )
postGenerateAction ( Request $request ) : Response return resource-locator for sub-node.

Private Methods

Method Description
getDocumentManager ( ) : Sulu\Component\DocumentManager\DocumentManagerInterface
getResourceLocatorRepository ( ) : Sulu\Bundle\ContentBundle\Repository\ResourceLocatorRepositoryInterface
getWebspaceAndLanguage ( ) : array returns webspacekey and languagecode.

Method Details

cgetAction() public method

return all resource locators for given node.
public cgetAction ( string $uuid ) : Response
$uuid string
return Symfony\Component\HttpFoundation\Response

deleteAction() public method

deletes resource locator with given path.
public deleteAction ( ) : Response
return Symfony\Component\HttpFoundation\Response

getLocale() public method

public getLocale ( Request $request )
$request Symfony\Component\HttpFoundation\Request

postGenerateAction() public method

return resource-locator for sub-node.
public postGenerateAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response