Property | Type | Description | |
---|---|---|---|
$notifiedUsers |
Method | Description | |
---|---|---|
batchNotify ( $type, |
批量处理通知 | |
findUserActionNotify ( |
查找用户的动作通知 | |
newActionNotify ( $type, $fromUserId, $toUserId, |
点赞和其他动作通知 | |
newPostNotify ( |
内容@用户会有通知 | |
newReplyNotify ( |
评论和@用户会有通知 |
public batchNotify ( $type, |
||
$type | ||
$fromUser | ||
$users | ||
$post | ||
$comment | ||
return | boolean |
public findUserActionNotify ( |
||
$meta | ||
return | null | static |
public newActionNotify ( $type, $fromUserId, $toUserId, |
||
$type | ||
$fromUserId | ||
$toUserId | ||
$post | ||
$comment |
public newPostNotify ( |
||
$fromUser | ||
$post | ||
$users | [] |
public newReplyNotify ( |
||
$fromUser | ||
$topic | ||
$comment |