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; }
function __construct() { parent::__construct(); $this->setTable('attribute_values'); }
function __construct() { parent::__construct(); $this->setTable('rel_stores_exchange_fair'); }
function __construct() { parent::__construct(); $this->setTable('ci_logs'); }
function __construct() { parent::__construct(); }
function __construct() { parent::__construct(); $this->setTable('appointment'); $this->table_fields = array('id', 'name', 'phone', 'book_date', 'is_show'); }
function __construct() { parent::__construct(); $this->setTable('product'); }
function __construct() { parent::__construct(); $this->setTable('user_profiles'); }