예제 #1
0
 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);
 }
예제 #2
0
파일: Abstract.php 프로젝트: sandin/iMemo
 public function __construct($receiver = null, $param = null)
 {
     $this->_receiver = $receiver;
     $this->_param = $param;
     $this->_mHistory = Command_ModificationHistory::getInstance($receiver);
 }