_get_list_common('', '', $limit, $offset, $where, $like, $findex, $forder, $sfield, $skeyword, $sop); return $result; } public function get_by_site() { $this->db->select('crawl_title,site_key,site_type'); $this->db->group_by('site_type'); $this->db->group_by('site_key'); $this->db->order_by('crawl_title'); $qry = $this->db->get($this->_table); return $qry->result_array(); } public function get_by_category() { $this->db->select('crawl_category_name'); $this->db->where("crawl_category_name is not null AND crawl_category_name <> ''"); $this->db->group_by('crawl_category_name'); $this->db->order_by('crawl_category_name'); $qry = $this->db->get($this->_table); return $qry->result_array(); } }