Property | Type | Description | |
---|---|---|---|
$locationService | eZ\Publish\API\Repository\LocationService | Location service. | |
$trashService | eZ\Publish\API\Repository\TrashService | Trash service. |
Method | 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 | ||
return | eZ\Publish\Core\REST\Server\Values\NoContent |
public emptyTrash ( ) : eZ\Publish\Core\REST\Server\Values\NoContent | ||
return | eZ\Publish\Core\REST\Server\Values\NoContent |
public loadTrashItem ( $trashItemId ) : |
||
$trashItemId | ||
return |
public loadTrashItems ( |
||
$request | ||
return |
public restoreTrashItem ( $trashItemId, |
||
$trashItemId | ||
$request | ||
return |
protected LocationService,eZ\Publish\API\Repository $locationService | ||
return | eZ\Publish\API\Repository\LocationService |