|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($repositoryid, $context=SYSCONTEXTID, $options=array()) | |
| check_login () | |
| print_login () | |
| callback () | |
| get_listing ($path= '', $page= '1') | |
| logout () | |
| set_option ($options=array()) | |
| get_option ($config= '') | |
| get_file ($filepath, $saveas= '') | |
| type_config_form ($mform) | |
| supported_filetypes () | |
| supported_returntypes () | |
Static Public Member Functions | |
| static | get_type_option_names () |
Data Fields | |
| $files | |
| $logged = false | |
| __construct | ( | $ | repositoryid, |
| $ | context = SYSCONTEXTID, |
||
| $ | options = array() |
||
| ) |
| callback | ( | ) |
Request access token
Reimplemented from repository.
Definition at line 107 of file lib.php.


| check_login | ( | ) |
| get_file | ( | $ | filepath, |
| $ | saveas = '' |
||
| ) |
| string | $photo_id | |
| string | $file |
Reimplemented from repository.
Definition at line 252 of file lib.php.

| get_listing | ( | $ | path = '', |
| $ | page = '1' |
||
| ) |
Get dropbox files
| string | $path | |
| int | $page |
Reimplemented from repository.
Definition at line 121 of file lib.php.

| get_option | ( | $ | config = '' | ) |
Get dropbox options
| string | $config |
Reimplemented from repository.
Definition at line 233 of file lib.php.


| static get_type_option_names | ( | ) | [static] |
| logout | ( | ) |
Logout from dropbox
Reimplemented from repository.
Definition at line 202 of file lib.php.

| print_login | ( | ) |
Generate dropbox login url
Reimplemented from repository.
Definition at line 87 of file lib.php.


| set_option | ( | $ | options = array() | ) |
Set dropbox option
| array | $options |
Reimplemented from repository.
Definition at line 215 of file lib.php.

| type_config_form | ( | $ | mform | ) |