Свойство | Type | Description | |
---|---|---|---|
$locationService | eZ\Publish\API\Repository\LocationService | Location service. | |
$trashService | eZ\Publish\API\Repository\TrashService | Trash service. |
Méthode | Description | |
---|---|---|
__construct ( eZ\Publish\API\Repository\TrashService $trashService, eZ\Publish\API\Repository\LocationService $locationService ) | Construct controller. | |
deleteTrashItem ( $trashItemId ) : eZ\Publish\Core\REST\Server\Values\NoContent | Deletes the given trash item. | |
emptyTrash ( ) : eZ\Publish\Core\REST\Server\Values\NoContent | Empties the trash. | |
loadTrashItem ( $trashItemId ) : |
Returns the trash item given by id. | |
loadTrashItems ( |
Returns a list of all trash items. | |
restoreTrashItem ( $trashItemId, |
Restores a trashItem. |
public __construct ( eZ\Publish\API\Repository\TrashService $trashService, eZ\Publish\API\Repository\LocationService $locationService ) | ||
$trashService | eZ\Publish\API\Repository\TrashService | |
$locationService | eZ\Publish\API\Repository\LocationService |
public deleteTrashItem ( $trashItemId ) : eZ\Publish\Core\REST\Server\Values\NoContent | ||
$trashItemId | ||
Résultat | eZ\Publish\Core\REST\Server\Values\NoContent |
public emptyTrash ( ) : eZ\Publish\Core\REST\Server\Values\NoContent | ||
Résultat | eZ\Publish\Core\REST\Server\Values\NoContent |
public loadTrashItem ( $trashItemId ) : |
||
$trashItemId | ||
Résultat |
public loadTrashItems ( |
||
$request | ||
Résultat |
public restoreTrashItem ( $trashItemId, |
||
$trashItemId | ||
$request | ||
Résultat |
protected LocationService,eZ\Publish\API\Repository $locationService | ||
Résultat | eZ\Publish\API\Repository\LocationService |