메소드 |
설명 |
|
__construct ( Dropbox_OAuth $oauth, string $root = self::ROOT_DROPBOX, $useSSL = true ) |
Constructor |
|
chunkedUpload ( string $path, $handle, $root = null, boolean $overwrite = true, $offset, $uploadID = null ) : stdClass |
Uploads large files to Dropbox in mulitple chunks |
|
copy ( string $from, string $to, string $root = null ) : stdclass |
Copies a file or directory from one location to another |
|
copy_ref ( type $path, type $root = null ) : type |
Creates and returns a copy_ref to a file. This reference string can be used to copy that file to another user's Dropbox by passing it in as the from_copy_ref parameter on /fileops/copy. |
|
createFolder ( string $path, string $root = null ) : stdclass |
Creates a new folder |
|
delete ( string $path, string $root = null ) : array |
Deletes a file or folder. |
|
delta ( string $cursor ) : stdclass |
A way of letting you keep up with changes to files and folders in a user's Dropbox. You can periodically call /delta to get a list of "delta entries", which are instructions on how to update your local state to match the server's state. |
|
getAccountInfo ( ) : stdclass |
Returns information about the current dropbox account |
|
getFile ( string $path = '', string $root = null ) : string |
Returns a file's contents |
|
getMetaData ( string $path, boolean $list = true, string $hash = null, integer $fileLimit = null, string $root = null ) : array | true |
Returns file and directory information |
|
getThumbnail ( string $path, string $size = 'small', string $root = null ) : string |
Returns a thumbnail (as a string) for a file path. |
|
media ( type $path, type $root = null ) : type |
Returns a link directly to a file. |
|
move ( mixed $from, mixed $to, string $root = null ) : stdclass |
Moves a file or directory to a new location |
|
putFile ( string $path, string $file, string $root = null ) : boolean |
Uploads a new file |
|
putStream ( $path, $file, $root = null, boolean $overwrite = true ) : array |
Uploads file data from a stream |
|
search ( string $query = '', string $root = null, string $path = '' ) : array |
Search |
|
share ( string $path, string $root = null, string $short_url = true ) : array |
Creates and returns a shareable link to files or folders. |
|