PHP Class eZ\Publish\Core\REST\Server\Controller\URLWildcard

Inheritance: extends eZ\Publish\Core\REST\Server\Controller
Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$urlWildcardService eZ\Publish\API\Repository\URLWildcardService URLWildcard service.

Public Methods

Method Description
__construct ( eZ\Publish\API\Repository\URLWildcardService $urlWildcardService ) Construct controller.
createURLWildcard ( Request $request ) : CreatedURLWildcard Creates a new URL wildcard.
deleteURLWildcard ( $urlWildcardId ) : eZ\Publish\Core\REST\Server\Values\NoContent The given URL wildcard is deleted.
listURLWildcards ( ) : URLWildcardList Returns the list of URL wildcards.
loadURLWildcard ( $urlWildcardId ) : eZ\Publish\API\Repository\Values\Content\URLWildcard Returns the URL wildcard with the given id.

Method Details

__construct() public method

Construct controller.
public __construct ( eZ\Publish\API\Repository\URLWildcardService $urlWildcardService )
$urlWildcardService eZ\Publish\API\Repository\URLWildcardService

createURLWildcard() public method

Creates a new URL wildcard.
public createURLWildcard ( Request $request ) : CreatedURLWildcard
$request Symfony\Component\HttpFoundation\Request
return eZ\Publish\Core\REST\Server\Values\CreatedURLWildcard

deleteURLWildcard() public method

The given URL wildcard is deleted.
public deleteURLWildcard ( $urlWildcardId ) : eZ\Publish\Core\REST\Server\Values\NoContent
$urlWildcardId
return eZ\Publish\Core\REST\Server\Values\NoContent

listURLWildcards() public method

Returns the list of URL wildcards.
public listURLWildcards ( ) : URLWildcardList
return eZ\Publish\Core\REST\Server\Values\URLWildcardList

loadURLWildcard() public method

Returns the URL wildcard with the given id.
public loadURLWildcard ( $urlWildcardId ) : eZ\Publish\API\Repository\Values\Content\URLWildcard
$urlWildcardId
return eZ\Publish\API\Repository\Values\Content\URLWildcard

Property Details

$urlWildcardService protected property

URLWildcard service.
protected URLWildcardService,eZ\Publish\API\Repository $urlWildcardService
return eZ\Publish\API\Repository\URLWildcardService