コード例 #1
0
 /**
  * 
  * @param type $reqid
  * @return string
  */
 public function requisitionhistoryreportdetail_InterviewGrid($reqid)
 {
     $sort_order = 'DESC';
     $sort_field = 'c.interviewscheduledon';
     $perPage = 100;
     $pageNo = 1;
     $searchData = '';
     $where = '';
     $searchQuery = 'requisition_id = ' . $reqid;
     $searchArray = array();
     $data = array();
     $tableFields = array('interviewcandidatename' => 'Candidate Name', 'interviewdetails' => 'Interview Details', 'interviewfeedback' => 'Feedback & Comments', 'interviewstatus' => 'Interview Status', 'interviewscheduledby' => 'Scheduled By', 'interviewscheduledon' => 'Scheduled On');
     $requi_model = new Default_Model_Requisition();
     $tablecontent = $requi_model->getrequisitionInterviewHistory($sort_order, $sort_field, $pageNo, $perPage, $searchQuery);
     $dataTmp = array('sort' => $sort_order, 'by' => $sort_field, 'pageNo' => $pageNo, 'perPage' => $perPage, 'tablecontent' => $tablecontent, 'tableheader' => $tableFields);
     return $dataTmp;
 }