Свойство | Type | Description | |
---|---|---|---|
$locationService | eZ\Publish\API\Repository\LocationService | Location service. | |
$urlAliasService | eZ\Publish\API\Repository\URLAliasService | URLAlias service. |
Méthode | 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 | ||
Résultat |
public deleteURLAlias ( $urlAliasId ) : eZ\Publish\Core\REST\Server\Values\NoContent | ||
$urlAliasId | ||
Résultat | eZ\Publish\Core\REST\Server\Values\NoContent |
public listGlobalURLAliases ( ) : |
||
Résultat |
public listLocationURLAliases ( $locationPath, |
||
$locationPath | ||
$request | ||
Résultat |
public loadURLAlias ( $urlAliasId ) : eZ\Publish\API\Repository\Values\Content\URLAlias | ||
$urlAliasId | ||
Résultat | eZ\Publish\API\Repository\Values\Content\URLAlias |
protected LocationService,eZ\Publish\API\Repository $locationService | ||
Résultat | eZ\Publish\API\Repository\LocationService |