Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/webservice/pluginfile.php File Reference

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()

Enumeration Type Documentation

Definition at line 27 of file pluginfile.php.

Definition at line 28 of file pluginfile.php.


Variable Documentation

$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.

 All Data Structures Namespaces Files Functions Variables Enumerations