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


Public Member Functions | |
| __construct ($repositoryid, $context=SYSCONTEXTID, $options=array()) | |
| check_login () | |
| get_file ($url, $title) | |
| global_search () | |
| get_listing ($path='', $page= '') | |
| instance_config_form ($mform) | |
| supported_returntypes () | |
Static Public Member Functions | |
| static | get_instance_option_names () |
| __construct | ( | $ | repositoryid, |
| $ | context = SYSCONTEXTID, |
||
| $ | options = array() |
||
| ) |
| check_login | ( | ) |
| get_file | ( | $ | url, |
| $ | filename | ||
| ) |
Download a file, this function can be overridden by subclass.
object $CFG
| string | $url | the url of file |
| string | $filename | save location |
Reimplemented from repository.
Definition at line 64 of file lib.php.

| static get_instance_option_names | ( | ) | [static] |
Return names of the instance options By default: no instance option name
Reimplemented from repository.
| get_listing | ( | $ | path = '', |
| $ | page = '' |
||
| ) |
Given a path, and perhaps a search, get a list of files.
See details on http://docs.moodle.org/dev/Repository_plugins
| string | $path,this | parameter can a folder name, or a identification of folder |
| string | $page,the | page number of file list |
Reimplemented from repository.
Definition at line 80 of file lib.php.

| global_search | ( | ) |
| instance_config_form | ( | $ | mform | ) |
Edit/Create Instance Settings Moodle form
| object | $mform | Moodle form (passed by reference) |
Reimplemented from repository.