ResourceList Event
Fired for each resource listed.
Object Oriented Interface
public function fireResourceList($param);
Procedural Interface
incloudstorage_onedrive_register_callback($res, 5, array($this, 'fireResourceList'));
Parameter List
'id'
'name'
'description'
'resourcetype'
'modifieddate'
'size'
Remarks
This event fires with information about each resource listed when calling ListResources, GetResourceInfo, and Search.
Id is the Id of the resource.
Name is the name of the resource.
Description is a short description of the resource.
ResourceType indicates whether the resource is a file or folder. Possible value are:
0 | File |
1 | Folder |
Size holds the size of the current resource in bytes. If the current resource is a folder this returns the total size of all files in the folder and sub-folders.