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


Public Member Functions | |
| print_login () | |
| get_listing ($encodedpath= '') | |
| get_link ($encoded) | |
| is_visible () | |
| get_name () | |
| supported_returntypes () | |
| has_moodle_files () | |
Static Public Member Functions | |
| static | get_type_option_names () |
| get_link | ( | $ | url | ) |
Return file URL, for most plugins, the parameter is the original url, but some plugins use a file id, so we need this function to convert file id to original url.
| string | $url | the url of file |
Reimplemented from repository.
Definition at line 126 of file lib.php.

| get_listing | ( | $ | encodedpath = '' | ) |
| get_name | ( | ) |
Return the name of this instance, can be overridden. object $DB
Reimplemented from repository.
Definition at line 160 of file lib.php.

| static get_type_option_names | ( | ) | [static] |
Return names of the general options By default: no general option name
Reimplemented from repository.
| has_moodle_files | ( | ) |
| is_visible | ( | ) |
Return is the instance is visible (is the type visible ? is the context enable ?)
Reimplemented from repository.
| print_login | ( | ) |
coursefiles plugin doesn't require login, so list all files
Reimplemented from repository.
Definition at line 34 of file lib.php.
