public function handle_request_internel() { $params = $this->getParam(); $dataCount = BLL_Authority::get_user_info_by_user_name_or_bu_name_count($params['searchtype'], $params['searchText']); if ($dataCount > 0) { $page = isset($params['p']) ? (int) $params['p'] : 1; if ($this->request->is_post_method()) { $page = 1; } $page_size = 25; $show_num = 10; $dataArr = BLL_Authority::get_user_info_by_user_name_or_bu_name($params['searchtype'], $params['searchText'], $page, $page_size); $this->setAttribute('dataArr', $dataArr); $m_url = $this->build_url(__CLASS__); $this->set_multipage($page, $page_size, $dataCount, $m_url, $show_num, $params); } $this->setAttribute('userid', $this->get_user_id()); $this->setAttribute('username', $this->get_user_name()); $this->setAttribute('params', $params); $this->setAttribute('datacount', $dataCount); return 'Permissions_UserList'; }