PHP Class FollowGroupAction, thinksns

Author: jason ([email protected])
Inheritance: extends Action
Afficher le fichier Open project: medz/thinksns-4

Méthodes publiques

Méthode Description
deleteGroup ( ) : json 删除指定用户的指定关注分组
saveGroup ( ) : json 添加关注分组操作
saveRemark ( ) : json 保存用户备注操作
selector ( string $type = 'box' ) : [type] 分组选择数据加载操作
selectorBox ( ) 分组选择页面,弹窗式
selectorList ( ) 分组选择页面,下拉式
setFollowGroup ( ) : json 设置指定好友的关注分组状态
setFollowGroups ( ) : json 设置指定好友的关注分组状态 - 多个分组
setGroup ( ) 设置用户关注分组、修改关注分组操作
setGroupTab ( ) 设置关注分组Tab页面

Private Methods

Méthode Description
_setFollowGroup ( integer $gid, integer $fid, $add ) 设置指定用户的分组

Method Details

deleteGroup() public méthode

删除指定用户的指定关注分组
public deleteGroup ( ) : json
Résultat json 是否删除成功

saveGroup() public méthode

添加关注分组操作
public saveGroup ( ) : json
Résultat json 返回操作后的JSON信息数据

saveRemark() public méthode

保存用户备注操作
public saveRemark ( ) : json
Résultat json 返回操作后的JSON信息数据

selector() public méthode

分组选择数据加载操作
public selector ( string $type = 'box' ) : [type]
$type string 弹窗类型,box、list
Résultat [type]

selectorBox() public méthode

分组选择页面,弹窗式
public selectorBox ( )

selectorList() public méthode

分组选择页面,下拉式
public selectorList ( )

setFollowGroup() public méthode

设置指定好友的关注分组状态
public setFollowGroup ( ) : json
Résultat json 返回操作后的JSON信息数据

setFollowGroups() public méthode

设置指定好友的关注分组状态 - 多个分组
public setFollowGroups ( ) : json
Résultat json 返回操作后的JSON信息数据

setGroup() public méthode

设置用户关注分组、修改关注分组操作
public setGroup ( )

setGroupTab() public méthode

设置关注分组Tab页面
public setGroupTab ( )