Property | Type | Description | |
---|---|---|---|
$locationService | eZ\Publish\API\Repository\LocationService | Location service. | |
$urlAliasService | eZ\Publish\API\Repository\URLAliasService | URLAlias service. |
Method | Description | |
---|---|---|
__construct ( eZ\Publish\API\Repository\URLAliasService $urlAliasService, eZ\Publish\API\Repository\LocationService $locationService ) | Construct controller. | |
createURLAlias ( |
Creates a new URL alias. | |
deleteURLAlias ( $urlAliasId ) : eZ\Publish\Core\REST\Server\Values\NoContent | The given URL alias is deleted. | |
listGlobalURLAliases ( ) : |
Returns the list of global URL aliases. | |
listLocationURLAliases ( $locationPath, |
Returns the list of URL aliases for a location. | |
loadURLAlias ( $urlAliasId ) : eZ\Publish\API\Repository\Values\Content\URLAlias | Returns the URL alias with the given ID. |
public __construct ( eZ\Publish\API\Repository\URLAliasService $urlAliasService, eZ\Publish\API\Repository\LocationService $locationService ) | ||
$urlAliasService | eZ\Publish\API\Repository\URLAliasService | |
$locationService | eZ\Publish\API\Repository\LocationService |
public createURLAlias ( |
||
$request | ||
return |
public deleteURLAlias ( $urlAliasId ) : eZ\Publish\Core\REST\Server\Values\NoContent | ||
$urlAliasId | ||
return | eZ\Publish\Core\REST\Server\Values\NoContent |
public listGlobalURLAliases ( ) : |
||
return |
public listLocationURLAliases ( $locationPath, |
||
$locationPath | ||
$request | ||
return |
public loadURLAlias ( $urlAliasId ) : eZ\Publish\API\Repository\Values\Content\URLAlias | ||
$urlAliasId | ||
return | eZ\Publish\API\Repository\Values\Content\URLAlias |
protected LocationService,eZ\Publish\API\Repository $locationService | ||
return | eZ\Publish\API\Repository\LocationService |