|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| indexAction () | |
| getAction () | |
| postAction () | |
| putAction () | |
| deleteAction () | |
Definition at line 35 of file Controller.php.
| deleteAction | ( | ) | [abstract] |
The delete action handles DELETE requests and receives an 'id' parameter; it should update the server resource state of the resource identified by the 'id' value.
| getAction | ( | ) | [abstract] |
The get action handles GET requests and receives an 'id' parameter; it should respond with the server resource state of the resource identified by the 'id' value.
| indexAction | ( | ) | [abstract] |
The index action handles index/list requests; it should respond with a list of the requested resources.
| postAction | ( | ) | [abstract] |
The post action handles POST requests; it should accept and digest a POSTed resource representation and persist the resource state.
| putAction | ( | ) | [abstract] |
The put action handles PUT requests and receives an 'id' parameter; it should update the server resource state of the resource identified by the 'id' value.