/** * */ public function printBarrierAction() { $this->_helper->layout()->setLayout('print'); $id = $this->_getParam('id'); $this->view->case = $this->_mapper->detailCase($id); $this->view->all = $this->_getParam('all'); $this->view->fk_id_dec = Zend_Auth::getInstance()->getIdentity()->fk_id_dec; $data = $this->_getAllParams(); $mapperIntervention = new Register_Model_Mapper_BarrierIntervention(); $intervention = $mapperIntervention->detail($data['fk_id_barrier_intervention']); $this->view->barrier = $intervention; $this->view->clients = $this->_mapper->listCasesResult($data); }
/** * * @param type $idCase * @return \App_View_Helper_CaseActive */ public function setCase($idCase) { $mapperCase = new Client_Model_Mapper_CaseGroup(); $this->_caseGroup = $mapperCase->fetchRow($idCase); return $this; }