示例#1
0
 public function members($where = array(), $start = 0, $pageSize = '', $orderby = '')
 {
     //统计出查询数据的数量
     $query = parent::get_query_by_where($where);
     $data['total'] = $query->num_rows();
     //查询数据分页数据
     $query = parent::get_query_by_where($where, $start, $pageSize, $orderby);
     $result = $query->result_array();
     foreach ($result as $key => $row) {
     }
     $data['result'] = $result;
     return $data;
 }
示例#2
0
 function __construct()
 {
     parent::__construct();
     $this->setTable('attribute_values');
 }
示例#3
0
 function __construct()
 {
     parent::__construct();
     $this->setTable('rel_stores_exchange_fair');
 }
示例#4
0
 function __construct()
 {
     parent::__construct();
     $this->setTable('ci_logs');
 }
示例#5
0
 function __construct()
 {
     parent::__construct();
 }
示例#6
0
 function __construct()
 {
     parent::__construct();
     $this->setTable('appointment');
     $this->table_fields = array('id', 'name', 'phone', 'book_date', 'is_show');
 }
示例#7
0
 function __construct()
 {
     parent::__construct();
     $this->setTable('product');
 }
示例#8
0
 function __construct()
 {
     parent::__construct();
     $this->setTable('user_profiles');
 }