PHP Class Sulu\Bundle\ContentBundle\Controller\NodeResourcelocatorController

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

Méthodes publiques

Méthode 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

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

Method Details

cgetAction() public méthode

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

deleteAction() public méthode

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

getLocale() public méthode

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

postGenerateAction() public méthode

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