restoreObject()
Overview
public boolean function restoreObject(
required string trashedPath
, required string newPath
, boolean private
)
Restores an object that has been previously "trashed"/"Soft deleted".
Arguments
Name | Type | Required | Description |
---|---|---|---|
trashedPath | string | Yes | Path of the stored object within the trash |
newPath | string | Yes | Path to restore the object to |
private | boolean | No | Whether or not the object should be restored to the private store |