Abstract Class Zend_Rest_Controller

Description

An abstract class to guide implementation of action controllers for use with Zend_Rest_Route.

Located in /Rest/Controller.php (line 33)

Zend_Controller_Action
   |
   --Zend_Rest_Controller
Method Summary
 void deleteAction ()
 void getAction ()
 void indexAction ()
 void postAction ()
 void putAction ()
Variables
Methods
deleteAction (line 66)

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.

  • abstract:
  • access: public
void deleteAction ()
getAction (line 46)

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.

  • abstract:
  • access: public
void getAction ()
indexAction (line 39)

The index action handles index/list requests; it should respond with a list of the requested resources.

  • abstract:
  • access: public
void indexAction ()
postAction (line 52)

The post action handles POST requests; it should accept and digest a POSTed resource representation and persist the resource state.

  • abstract:
  • access: public
void postAction ()
putAction (line 59)

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.

  • abstract:
  • access: public
void putAction ()

Inherited Methods

Inherited From Zend_Controller_Action

 Zend_Controller_Action::__construct()
 Zend_Controller_Action::dispatch()
 Zend_Controller_Action::getFrontController()
 Zend_Controller_Action::getHelper()
 Zend_Controller_Action::getHelperCopy()
 Zend_Controller_Action::getInvokeArg()
 Zend_Controller_Action::getInvokeArgs()
 Zend_Controller_Action::getRequest()
 Zend_Controller_Action::getResponse()
 Zend_Controller_Action::getViewScript()
 Zend_Controller_Action::init()
 Zend_Controller_Action::initView()
 Zend_Controller_Action::postDispatch()
 Zend_Controller_Action::preDispatch()
 Zend_Controller_Action::render()
 Zend_Controller_Action::renderScript()
 Zend_Controller_Action::run()
 Zend_Controller_Action::setFrontController()
 Zend_Controller_Action::setRequest()
 Zend_Controller_Action::setResponse()
 Zend_Controller_Action::_forward()
 Zend_Controller_Action::_getAllParams()
 Zend_Controller_Action::_getParam()
 Zend_Controller_Action::_hasParam()
 Zend_Controller_Action::_redirect()
 Zend_Controller_Action::_setInvokeArgs()
 Zend_Controller_Action::_setParam()
 Zend_Controller_Action::__call()

Documentation generated on Thu, 01 Apr 2010 13:00:27 -0400 by phpDocumentor 1.4.3