PHP Класс Sulu\Bundle\CustomUrlBundle\Controller\CustomUrlController

Наследование: extends Sulu\Component\Rest\RestController, implements Sulu\Component\Security\SecuredControllerInterface, use trait Sulu\Component\Rest\RequestParametersTrait
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

cdeleteAction() публичный Метод

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
Результат Symfony\Component\HttpFoundation\Response

cdeleteRoutesAction() публичный Метод

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
Результат Symfony\Component\HttpFoundation\Response

cgetAction() публичный Метод

Returns a list of custom-urls.
public cgetAction ( string $webspaceKey, Request $request ) : Response
$webspaceKey string
$request Symfony\Component\HttpFoundation\Request
Результат Symfony\Component\HttpFoundation\Response

deleteAction() публичный Метод

Delete a single custom-url identified by uuid.
public deleteAction ( string $webspaceKey, string $uuid ) : Response
$webspaceKey string
$uuid string
Результат Symfony\Component\HttpFoundation\Response

getAction() публичный Метод

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
Результат Symfony\Component\HttpFoundation\Response

getLocale() публичный Метод

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

getSecurityContext() публичный Метод

public getSecurityContext ( )

postAction() публичный Метод

Create a new custom-url object.
public postAction ( string $webspaceKey, Request $request ) : Response
$webspaceKey string
$request Symfony\Component\HttpFoundation\Request
Результат Symfony\Component\HttpFoundation\Response

putAction() публичный Метод

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
Результат Symfony\Component\HttpFoundation\Response