The Dropbox class.
Extends the default Dropbox adapter to add some extra features.
◆ __construct()
__construct |
( |
DropboxClient |
$client, |
|
|
array |
$backendConfig |
|
) |
| |
◆ getFileUrl()
Returns a direct link to a file stored in Dropbox.
- Parameters
-
- Exceptions
-
Exception
◆ getMetadata()
Returns file metadata, including the guessed MIME type.
- Parameters
-
◆ getMimeType()
Returns the file MIME type.
The Dropbox API v2 does not support MIME types, but it is required by some connector features, so this method tries to guess one using the file extension.
- Parameters
-
- Returns
- null|array|false|string
The documentation for this class was generated from the following file: