This method will also remove the PersistentResource object from the (internal) ResourceRepository.
public deleteResource ( |
||
$resource | The resource to delete | |
$unpublishResource | boolean | If the resource should be unpublished before deleting it from the storage |
리턴 | boolean | true if the resource was deleted, otherwise FALSE |