__construct()
__construct() : void
Class constructor
Model Class
get_page_infos(\[type] $table, \[type] $wherearray, \[type] $sort, \[type] $per_page, \[type] $start_num) : \[type]
[get_page_infos 多条件多排序输出分页所有信息]
| \[type] | $table | [表名] |
| \[type] | $wherearray | [搜索条件] |
| \[type] | $sort | [排序字符串,可多种排序] |
| \[type] | $per_page | [步长] |
| \[type] | $start_num | [起始] |
[返回数组]
get_infos_wheres(\[type] $table, \[type] $field, \[type] $wherearray, \[type] $key = "id", string $sort = "ASC") : \[type]
[get_infos_wheres 获取指定多条件&指定排序下的记录详情]
| \[type] | $table | [表名] |
| \[type] | $field | [字段名称,也可以是COUNT或SUM] |
| \[type] | $wherearray | [搜索条件] |
| \[type] | $key | [排序关键字] |
| string | $sort | [排序方式默认ASC] |
[返回数组]