private function createDmcInfoArray($dmc_info_id) { $student = new Acad_Model_Member_Student(); $dmc_info = $student->fetchDmcInfo($dmc_info_id); if ($dmc_info instanceof Acad_Model_Course_DmcInfo) { $info['dmc_id'] = $dmc_info->getDmc_id(); $info['class_id'] = $dmc_info->getClass_id(); $info['result_type_id'] = $dmc_info->getResult_type_id(); $info['is_considered'] = $dmc_info->getIs_considered(); $info['receiving_date'] = $dmc_info->getReceiving_date(); $info['examination'] = $dmc_info->getExamination(); $info['custody_date'] = $dmc_info->getCustody_date(); $info['is_granted'] = $dmc_info->getIs_granted(); $info['is_copied'] = $dmc_info->getIs_copied(); $info['dispatch_date'] = $dmc_info->getDispatch_date(); $info['marks_obtained'] = $dmc_info->getMarks_obtained(); $info['max_marks'] = $dmc_info->getMax_marks(); $info['scaled_marks'] = $dmc_info->getScaled_marks(); $info['percentage'] = $dmc_info->getPercentage(); return $info; } else { throw new Exception('Dmc_info does not exist', Zend_Log::WARN); } }