Class NodeRelated
- CActiveRecord
-
application\core\model\Model
-
application\modules\role\model\NodeRelated
Methods summary
public static
|
|
public
|
|
public
|
|
public
string
|
|
public
array
|
#
fetchDataByIdentifier( string $id, string $roleId )
看懂↑(方法fetchDataValByIdentifier)的注释了么,反正我没看懂 意思是说:根据由node_related表里的module/key/node(也就是这里的id,把module,key,node换成表里的值)的值,以及roleid获取val的值 而这个函数是得到整条记录 |
public
array
|
|
public
integer
|
|
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()