Méthode |
Description |
|
__construct ( ) |
|
|
addGroupMember ( $roomId, $memberUids ) : boolean |
添加群成员 |
|
appendRoomListMember ( array $data ) : array | mixed |
|
|
checkGroupPermissions ( integer $roomId, boolean $checkMaster = false, integer $type = 2 ) : boolean |
检查群组权限 |
|
clearMessage ( $roomId, $type = 'unread' ) |
|
|
content ( ) : Model |
|
|
createGroupRoom ( $uids, null $title = null ) : array | boolean |
|
|
getClientByUser ( string | array $uids, boolean $removeCurrentUser = true ) : array |
根据用户Id,获取全部客户端连接ID |
|
getMessageList ( $roomId, $messageId = null, $direction = 'lt', $limit = null ) |
|
|
getMessageRoom ( $toUid ) : array | boolean |
|
|
getRoomList ( $limit = null, $page = true, $appendMember = false ) |
|
|
getRoomMember ( $roomId ) |
|
|
getUserId ( ) |
|
|
hasRoom ( $roomId ) |
|
|
member ( ) : Model |
|
|
model ( $name, null $propName = null ) : Model |
|
|
parseMessage ( array $list ) : array |
将消息列表整理为标准的返回格式 |
|
push ( ) |
|
|
pushMessage ( $toUids, $data ) |
TODO JPush Code |
|
quitGroupRoom ( integer $roomId ) : boolean |
主动退出群房间 |
|
refreshRoomMember ( integer $roomId, boolean $changeMaster = false ) : integer |
刷新房间成员信息 |
|
removeGroupMember ( $roomId, $memberUids ) : boolean |
删除群成员 |
|
room ( ) : Model |
|
|
roomHasUser ( $roomId, $uid, $checkRoom = false ) |
|
|
sendMessage ( array $message, $isNotify = false, $isPush = true ) |
|
|
setRoom ( $roomId, $data ) : boolean |
设置房间信息 |
|
setUserId ( $userId ) |
|
|
table ( $table ) |
|
|
ucmap ( ) |
|
|