/** * * @param type $reqid * @return string */ public function requisitionhistoryreportdetail_HRExecutiveGrid($reqid) { $sort_order = 'DESC'; $sort_field = 'c.createddate'; $perPage = 100; $pageNo = 1; $searchData = ''; $where = ''; $searchQuery = 'requisition_id = ' . $reqid; $searchArray = array(); $data = array(); $tableFields = array('hrpanelassigneddate' => 'Panel Assigned On', 'hrpanelassignedby' => 'Panel Assigned By', 'hrpanelmembers' => 'Recruit Panel'); $requi_model = new Default_Model_Requisition(); $tablecontent = $requi_model->getrequisitionHRPanelHistory($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; }