/** * Initialize */ public function init() { parent::init(); // Load the request object $request = $this->getRequest(); // Load the log $this->_log = $this->getInvokeArg('bootstrap')->getResource('Log'); // Load the item $this->_loadItem(); // Parse the item to the view $this->view->item = $this->_item; // Set the redirect url's $this->_redirectUrlCancel = '/' . $request->getModuleName() . '/item/'; $this->_redirectUrlAdd = '/' . $request->getModuleName() . '/item/'; $this->_redirectUrlEdit = '/' . $request->getModuleName() . '/item/'; $this->_redirectUrlDelete = '/' . $request->getModuleName() . '/item/'; $this->_redirectUrlDeleteConfirm = '/' . $request->getModuleName() . '/item/'; }
/** * Enter description here... * */ public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array()) { parent::__construct($request, $response, $invokeArgs); }