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

Go to the source code of this file.

Namespaces

namespace  webservice

Enumerations

enum  NO_DEBUG_DISPLAY
enum  NO_MOODLE_COOKIES

Variables

if(!webservice_protocol_is_enabled('rest')) $restformat = optional_param('moodlewsrestformat', 'xml', PARAM_ALPHA)
if(isset($_REQUEST['moodlewsrestformat']))
if(isset($_GET['moodlewsrestformat']))
if(isset($_POST['moodlewsrestformat'])) 
$server = new webservice_rest_server(WEBSERVICE_AUTHMETHOD_USERNAME)
 die

Enumeration Type Documentation

Definition at line 27 of file simpleserver.php.

Definition at line 28 of file simpleserver.php.


Variable Documentation

if (!webservice_protocol_is_enabled('rest')) $restformat = optional_param('moodlewsrestformat', 'xml', PARAM_ALPHA)

Definition at line 37 of file simpleserver.php.

if (isset($_REQUEST['moodlewsrestformat'])) if (isset($_GET['moodlewsrestformat'])) if (isset($_POST['moodlewsrestformat'])) $server = new webservice_rest_server(WEBSERVICE_AUTHMETHOD_USERNAME)

Definition at line 49 of file simpleserver.php.

die

Definition at line 51 of file simpleserver.php.

 All Data Structures Namespaces Files Functions Variables Enumerations