Detailed Description
Moodle REST client class TODO: XML to PHP
Definition at line 22 of file lib.php.
Constructor & Destructor Documentation
Constructor
- Parameters:
-
| string | $serverurl | a Moodle URL |
| string | $token | |
Definition at line 35 of file lib.php.
Member Function Documentation
| call |
( |
$ |
functionname, |
|
|
$ |
params |
|
) |
| |
Execute client WS request with token authentication
- Parameters:
-
| string | $functionname | |
| array | $params | |
- Returns:
- mixed
Definition at line 55 of file lib.php.
Set the token used to do the REST call
- Parameters:
-
Definition at line 45 of file lib.php.
The documentation for this class was generated from the following file:
- C:/xampp/htdocs/moodle/webservice/rest/lib.php