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

NameTypeRequiredDescription
trashedPathstringYesPath of the stored object within the trash
newPathstringYesPath to restore the object to
privatebooleanNoWhether or not the object should be restored to the private store