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


Public Member Functions | |
| __construct ($repositoryid, $context=SYSCONTEXTID, $options=array()) | |
| check_login () | |
| print_login () | |
| get_listing ($path='', $page= '') | |
| search ($query) | |
| logout () | |
| get_name () | |
| supported_filetypes () | |
| supported_returntypes () | |
| __construct | ( | $ | repositoryid, |
| $ | context = SYSCONTEXTID, |
||
| $ | options = array() |
||
| ) |
| check_login | ( | ) |
To check whether the user is logged in.
Reimplemented from repository.
Definition at line 47 of file lib.php.


| 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.
| get_name | ( | ) |
Return the name of this instance, can be overridden. object $DB
Reimplemented from repository.
| logout | ( | ) |
Logout from repository instance By default, this function will return a login form
Reimplemented from repository.
Definition at line 99 of file lib.php.

| print_login | ( | ) |
Show the login screen, if required
Reimplemented from repository.
Definition at line 66 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.
what kind of files will be in this repository?
Reimplemented from repository.