예제 #1
0
파일: Case.php 프로젝트: fredcido/simuweb
 /**
  *
  * @return array
  */
 protected function _validateAddressData()
 {
     $return = array('msg' => 'HELA FATIN', 'valid' => true);
     $address = $this->_mapperClient->listAddress($this->_data->id_perdata);
     if ($address->count() < 1) {
         $return['valid'] = false;
     }
     return $return;
 }
예제 #2
0
 /**
  * 
  */
 public function printAction()
 {
     $this->_helper->layout()->setLayout('print');
     $id = $this->_getParam('id');
     $this->view->client = $this->_mapper->detailClient($id);
     $this->view->address = $this->_mapper->listAddress($id);
     $this->view->language = $this->_mapper->listLanguagePrint($id);
     $this->view->knowledge = $this->_mapper->listKnowledgePrint($id);
     $this->view->formalScholarity = $this->_mapper->listScholarity($id, 1);
     $this->view->nonFormalScholarity = $this->_mapper->listScholarity($id, 2);
     $this->view->experience = $this->_mapper->listExperience($id);
     $this->view->contact = $this->_mapper->listContact($id);
 }