Property | Type | Description | |
---|---|---|---|
$_auto | array | 自动填充 | |
$_validate | array | 定义自动验证 | |
$fields | unknown_type | 字段列表 | |
$tableName | string | 使用的表名称 |
Method | Description | |
---|---|---|
deleteAssociatedData ( integer $cid ) : boolean | 删除分类后的回调 | |
getList ( $limit = 20, $type, $keywords = '', $order = '', $findPage = true ) | 前台列表获取 | |
getOneyById ( integer $id, boolean $is_admin = false, $update_hits = false ) : array | 根据ID获取资料 | |
getSourceInfo ( integer $id ) : mixed | 获取信息 | |
getState ( integer $state = null ) : mixed | 获取状态 | |
setNews ( $uid ) : mixed | 更新信息 |
Method | Description | |
---|---|---|
getChildTids ( integer $pid ) : array | 获取子分类的ID串 |
public deleteAssociatedData ( integer $cid ) : boolean | ||
$cid | integer | |
return | boolean |
public getList ( $limit = 20, $type, $keywords = '', $order = '', $findPage = true ) |
public getSourceInfo ( integer $id ) : mixed | ||
$id | integer | |
return | mixed |