DropboxStorageProvider
class DropboxStorageProvider extends StorageProvider
Class DropboxStorageProvider
Properties
Controller | $mod | from StorageProvider | |
array | $_hook_info | Hook Information "id" => "4914" "instance_id" => "api_microsoft" "name" => "oauth_client" "hook" => "webservice.oauth_client" "type" => "object" "registry_name" => "oauth_client" "function_name" => "" "internal" => "no" "dep_mode" => "local" "active" => "yes" "title" => "Basic functions" "description" => "" "options" => "" |
from BaseHook |
protected Dropbox | $client | ||
protected Account | $accountInfo | ||
protected array | $storageInfo |
Methods
Initialize and executes the download of a selected remote file.
Get Hook identifier consists of instance_id puncto separator and hook name Ex. instance_id.name
Return Hook information (ID, InstanceID, Name, Hook Type, Object Type, ...)
No description
No description
Returns the account used storage quota in percent.
No description
No description
No description
No description
No description
Returns true if this hook is available otherwise false.
Returns true if the provider is connected.
No description
No description
No description
Details
in
StorageProvider at line 146
bool
do_download(string $cloud_source_path, string $destination_dir_path)
Initialize and executes the download of a selected remote file.
in
BaseHook at line 76
string
getHookDescription()
No description
in
BaseHook at line 55
string
getHookIdentifier()
Get Hook identifier consists of instance_id puncto separator and hook name Ex. instance_id.name
in
BaseHook at line 45
array
getHookInfoValue(bool $key = false)
Return Hook information (ID, InstanceID, Name, Hook Type, Object Type, ...)
in
BaseHook at line 69
string
getHookInstance()
No description
in
BaseHook at line 62
string
getHookName()
No description
in
BaseHook at line 83
string
getHookTitle()
No description
in
BaseHook at line 88
getObject()
No description
in
StorageProvider at line 122
int
get_account_quota_free()
Returns the account free storage quota in bytes.
at line 85
int
get_account_quota_total()
No description
at line 92
int
get_account_quota_used()
No description
in
StorageProvider at line 131
int
get_account_quota_used_percent()
Returns the account used storage quota in percent.
at line 108
StorageContent
get_content(string $path)
No description
at line 78
string
get_icon_class_name()
No description
at line 71
string
get_provider_name()
No description
at line 64
string
get_provider_title()
No description
in
StorageProvider at line 113
bool
hideWhenDisconnected()
No description
at line 33
init_provider()
No description
at line 101
bool
isAvailable()
Returns true if this hook is available otherwise false.
at line 57
bool
is_connected()
Returns true if the provider is connected.
at line 150
array
on_browse_tree(string $path = null)
No description
at line 218
protected
on_download(string $cloud_source_path, string $destination_dir_path)
No description
at line 208
on_upload(string $cloud_path, string $fileName, resource $fileStream)
No description