Class ArticleCategory
- CActiveRecord
-
application\core\model\Model
-
application\modules\article\model\ArticleCategory
Namespace: application\modules\article\model
Copyright: Copyright © 2008-2013 IBOS Inc
Author: Ring Ring@ibos.com.cn
Located at system/modules/article/model/ArticleCategory.php
Copyright: Copyright © 2008-2013 IBOS Inc
Author: Ring Ring@ibos.com.cn
Located at system/modules/article/model/ArticleCategory.php
Methods summary
public static
|
|
public
|
|
public
array
|
|
public
array
|
#
fetchAllCatidAndPid( )
查询出所有的字段catid、pid的数据,处理成一个方便递归调用的数组,并返回 array( [0] = array( [67] = array('catid' = 89, 'pid' = 67) ), ... ) |
public
string
|
|
public
string
|
|
public
array
|
#
fetchCatidByPid( type $pid, type $flag = false , type $flag,… )
根据pid从一个数组中筛选出它的所有子类catid,返回逗号分割的字符串 |
public
|
|
public
boolean
|
|
public
array
|
|
public
integer
|
|
public
boolean
|
|
public
type
|
|
public
integer
|
Methods inherited from application\core\model\Model
add()
,
beforeDelete()
,
create()
,
deleteByPk()
,
fetch()
,
fetchAll()
,
fetchAllByAttributes()
,
fetchAllByPk()
,
fetchAllSortByPk()
,
fetchByAttributes()
,
fetchByPk()
,
fetchCache()
,
fetchCaches()
,
getCacheKey()
,
getIsAllowCache()
,
getMaxId()
,
getModelClass()
,
init()
,
modify()
,
remove()
,
updateAll()
,
updateByPk()