コード例 #1
0
ファイル: members_mdl.php プロジェクト: zackwong/book-sys
 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
ファイル: attr_mdl.php プロジェクト: zackwong/book-sys
 function __construct()
 {
     parent::__construct();
     $this->setTable('attribute_values');
 }
コード例 #3
0
ファイル: RSTR_mdl.php プロジェクト: zackwong/book-sys
 function __construct()
 {
     parent::__construct();
     $this->setTable('rel_stores_exchange_fair');
 }
コード例 #4
0
ファイル: logs_mdl.php プロジェクト: zackwong/book-sys
 function __construct()
 {
     parent::__construct();
     $this->setTable('ci_logs');
 }
コード例 #5
0
ファイル: category_mdl.php プロジェクト: zackwong/book-sys
 function __construct()
 {
     parent::__construct();
 }
コード例 #6
0
ファイル: book_mdl.php プロジェクト: zackwong/book-sys
 function __construct()
 {
     parent::__construct();
     $this->setTable('appointment');
     $this->table_fields = array('id', 'name', 'phone', 'book_date', 'is_show');
 }
コード例 #7
0
ファイル: product_mdl.php プロジェクト: zackwong/book-sys
 function __construct()
 {
     parent::__construct();
     $this->setTable('product');
 }
コード例 #8
0
ファイル: profiles_mdl.php プロジェクト: zackwong/book-sys
 function __construct()
 {
     parent::__construct();
     $this->setTable('user_profiles');
 }