Moodle  2.2.1
http://www.collinsharper.com
dropbox Class Reference
Inheritance diagram for dropbox:
Collaboration diagram for dropbox:

Public Member Functions

 __construct ($args)
 get_listing ($path='/', $token='', $secret='')
 get_file ($filepath, $saveas)
 set_mode ($mode)

Detailed Description

Definition at line 34 of file locallib.php.


Constructor & Destructor Documentation

__construct ( args)

Contructor for oauth_helper. Subclass can override construct to build its own $this->http

Parameters:
array$argsrequires at least three keys, oauth_consumer_key oauth_consumer_secret and api_root, oauth_helper will guess request_token_api, authrize_url and access_token_api based on api_root, but it not always works

Reimplemented from oauth_helper.

Definition at line 42 of file locallib.php.


Member Function Documentation

get_file ( filepath,
saveas 
)

Download a file

Definition at line 58 of file locallib.php.

Here is the caller graph for this function:

get_listing ( path = '/',
token = '',
secret = '' 
)

Get file listing from dropbox

Definition at line 48 of file locallib.php.

Here is the caller graph for this function:

set_mode ( mode)

Definition at line 74 of file locallib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations