public function getactiveuserdataAction() { $search_arr = array(); $search_arr['createddate'] = $this->_getParam('createddate', null); $search_arr['u.emprole'] = $this->_getParam('emprole', null); $search_arr['u.isactive'] = $this->_getParam('isactive', null); $search_arr['logindatetime'] = $this->_getParam('logindatetime', null); $page_no = $this->_getParam('page_no', 1); $per_page = $this->_getParam('per_page', PERPAGE); $sort_name = $this->_getParam('sort_name', null); $sort_type = $this->_getParam('sort_type', null); $cols_param_arr = $this->_getParam('cols_arr', array()); $user_model = new Default_Model_Usermanagement(); $user_data_org = $user_model->getdata_user_report($search_arr, $per_page, $page_no, $sort_name, $sort_type); $page_cnt = $user_data_org['page_cnt']; $user_data = $user_data_org['rows']; $columns_arr = array('userfullname' => 'Name', 'rolename' => 'Role', 'emailaddress' => 'Email', 'employeeId' => 'ID', 'lastlog' => 'Last Login', 'isactive' => 'Status', 'createdate' => 'Created On'); if (count($cols_param_arr) == 0) { $cols_param_arr = $columns_arr; } $this->view->user_data = $user_data; $this->view->per_page = $per_page; $this->view->page_no = $page_no; $this->view->sort_name = $sort_name; $this->view->sort_type = $sort_type; $this->view->cols_param_arr = $cols_param_arr; $this->view->page_cnt = $page_cnt; $this->view->columns_arr = $columns_arr; }