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


Public Member Functions | |
| __construct ($repositoryid, $context=SYSCONTEXTID, $options=array()) | |
| get_listing ($path= '', $page= '') | |
| check_login () | |
| print_login () | |
| global_search () | |
| search ($search_text) | |
| logout () | |
| supported_returntypes () | |
| __construct | ( | $ | repositoryid, |
| $ | context = SYSCONTEXTID, |
||
| $ | options = array() |
||
| ) |
| check_login | ( | ) |
| 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.
| global_search | ( | ) |
| logout | ( | ) |
Logout from repository instance By default, this function will return a login form
Reimplemented from repository.
Definition at line 79 of file lib.php.

| print_login | ( | ) |
Show the login screen, if required
Reimplemented from repository.
Definition at line 53 of file lib.php.

| search | ( | $ | search_text | ) |
Search files in repository When doing global search, $search_text will be used as keyword.
Reimplemented from repository.