Ejemplo n.º 1
0
 public function casehistoryAction()
 {
     if ($this->_getParam('treasureID', false)) {
         $treasure = new TreasureCases();
         $this->view->cases = $treasure->getCaseHistory($this->_treasureID);
         $valuations = new TreasureValuations();
         $this->view->values = $valuations->listvaluations($this->_treasureID);
         $curators = new TreasureAssignations();
         $this->view->curators = $curators->listCurators($this->_treasureID);
         $committees = new TvcDatesToCases();
         $this->view->tvcs = $committees->listDates($this->_treasureID);
         $actions = new TreasureActions();
         $this->view->actions = $actions->getActionsListed($this->_treasureID);
         $finals = new AgreedTreasureValuations();
         $this->view->finalvalues = $finals->listvaluations($this->_treasureID);
     } else {
         throw new Pas_Exception_Param($this->_missingParameter);
     }
 }