|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Namespaces | |
| namespace | core |
Enumerations | |
| enum | AJAX_SCRIPT |
| enum | NO_MOODLE_COOKIES |
Variables | |
| $token = required_param('token', PARAM_ALPHANUM) | |
| $webservicelib = new webservice() | |
| $authenticationinfo = $webservicelib->authenticate_user($token) | |
| $enabledfiledownload = (int) ($authenticationinfo['service']->downloadfiles) | |
| if(empty($enabledfiledownload)) | $relativepath = get_file_argument() |
| enum AJAX_SCRIPT |
Definition at line 27 of file pluginfile.php.
| enum NO_MOODLE_COOKIES |
Definition at line 28 of file pluginfile.php.
| $authenticationinfo = $webservicelib->authenticate_user($token) |
Definition at line 36 of file pluginfile.php.
| $enabledfiledownload = (int) ($authenticationinfo['service']->downloadfiles) |
Definition at line 39 of file pluginfile.php.
| if (empty($enabledfiledownload)) $relativepath = get_file_argument() |
Definition at line 45 of file pluginfile.php.
| $token = required_param('token', PARAM_ALPHANUM) |
Definition at line 34 of file pluginfile.php.
| $webservicelib = new webservice() |
Definition at line 35 of file pluginfile.php.