public function undoAction() { $this->_helper->viewRenderer->setNoRender(); $history = Command_ModificationHistory::getInstance($notes); // $myNamespace = new Zend_Session_Namespace('history'); //$history = unserialize($myNamespace->instance); $history->undo(); //var_dump($history); }
public function __construct($receiver = null, $param = null) { $this->_receiver = $receiver; $this->_param = $param; $this->_mHistory = Command_ModificationHistory::getInstance($receiver); }