PHP Class Sulu\Bundle\CustomUrlBundle\Controller\CustomUrlController

Inheritance: extends Sulu\Component\Rest\RestController, implements Sulu\Component\Security\SecuredControllerInterface, use trait Sulu\Component\Rest\RequestParametersTrait
Datei anzeigen Open project: sulu/sulu

Public Methods

Method Description
cdeleteAction ( string $webspaceKey, Request $request ) : Response Deletes a list of custom-urls identified by a list of uuids.
cdeleteRoutesAction ( $webspaceKey, string $customUrlUuid, Request $request ) : Response Deletes a lst of custom-urls identified by a list of uuids.
cgetAction ( string $webspaceKey, Request $request ) : Response Returns a list of custom-urls.
deleteAction ( string $webspaceKey, string $uuid ) : Response Delete a single custom-url identified by uuid.
getAction ( string $webspaceKey, string $uuid, Request $request ) : Response Returns a single custom-url identified by uuid.
getLocale ( Request $request )
getSecurityContext ( )
postAction ( string $webspaceKey, Request $request ) : Response Create a new custom-url object.
putAction ( string $webspaceKey, string $uuid, Request $request ) : Response Update an existing custom-url object identified by uuid.

Method Details

cdeleteAction() public method

Deletes a list of custom-urls identified by a list of uuids.
public cdeleteAction ( string $webspaceKey, Request $request ) : Response
$webspaceKey string
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

cdeleteRoutesAction() public method

Deletes a lst of custom-urls identified by a list of uuids.
public cdeleteRoutesAction ( $webspaceKey, string $customUrlUuid, Request $request ) : Response
$webspaceKey
$customUrlUuid string
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

cgetAction() public method

Returns a list of custom-urls.
public cgetAction ( string $webspaceKey, Request $request ) : Response
$webspaceKey string
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

deleteAction() public method

Delete a single custom-url identified by uuid.
public deleteAction ( string $webspaceKey, string $uuid ) : Response
$webspaceKey string
$uuid string
return Symfony\Component\HttpFoundation\Response

getAction() public method

Returns a single custom-url identified by uuid.
public getAction ( string $webspaceKey, string $uuid, Request $request ) : Response
$webspaceKey string
$uuid string
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

getLocale() public method

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

getSecurityContext() public method

public getSecurityContext ( )

postAction() public method

Create a new custom-url object.
public postAction ( string $webspaceKey, Request $request ) : Response
$webspaceKey string
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response

putAction() public method

Update an existing custom-url object identified by uuid.
public putAction ( string $webspaceKey, string $uuid, Request $request ) : Response
$webspaceKey string
$uuid string
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response