Moodle  2.2.1
http://www.collinsharper.com
Zend_Rest_Controller Class Reference

Public Member Functions

 indexAction ()
 getAction ()
 postAction ()
 putAction ()
 deleteAction ()

Detailed Description

Definition at line 35 of file Controller.php.


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations