Cloud Storage Integrator 2016 PHP Edition
Cloud Storage Integrator 2016 PHP Edition
Questions / Feedback?

ResourceType Property

Indicates whether the current entry is a folder or a file.

Object Oriented Interface

public function getResourceType();
public function setResourceType($value);

Procedural Interface

incloudstorage_googledrive_get($res, 76 );
incloudstorage_googledrive_set($res, 76, $value );

Default Value

0

Remarks

This property indicates whether the current entry specified by ResourceIndex is a folder or a file.

Possible values are:

0 (rtFile) A file.
1 (rtFolder) A folder.

Google treats files and folders in the same way. Folders are included when listing files with ListResources. The ResourceType property can be used to determine if a file is a folder or a file. To list, delete, or update a folder use the ListResources, DeleteResource, and UpdateResource methods.

This property is not available at design time.

Data Type

Integer

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
Cloud Storage Integrator 2016 PHP Edition - Version 16.0 [Build 7239]