Class Department
- CActiveRecord
-
application\core\model\Model
-
application\modules\department\model\Department
Namespace: application\modules\department\model
Copyright: Copyright © 2012-2013 IBOS Inc
Author: banyanCheung banyan@ibos.com.cn
Located at system/modules/department/model/Department.php
Copyright: Copyright © 2012-2013 IBOS Inc
Author: banyanCheung banyan@ibos.com.cn
Located at system/modules/department/model/Department.php
Methods summary
public static
|
|
public
|
|
public
string
|
|
public
string
|
|
public
array
|
|
public
integer
|
|
public
string
|
#
fetchDeptNameByDeptId( mixed $id, string $glue = ',', boolean $returnFirst = false )
根据部门ID查找部门名称,返回$glue分隔的部门名称字符串 |
public
string
|
|
public
integer
|
|
public
integer
|
|
public
array
|
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()
Properties summary
protected
mixed
|
$allowCache
是否允许缓存 |
#
true
|