IPWorks Cloud 2020 PHP Edition

Questions / Feedback?

TrashResource Method

Moves the specified file or folder to the trash.

Object Oriented Interface

public function doTrashResource($resourceid);

Procedural Interface

ipworkscloud_googledrive_do_trashresource($res, $resourceid);

Remarks

This method moves the file or folder specified by ResourceId to the trash. The resource may be restored from the trash by calling RestoreResource.

To permanently delete a resource, call DeleteResource. To empty the trash (thus permanently deleting all trashed items), call EmptyTrash.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 PHP Edition - Version 20.0 [Build 8265]