Public Member Functions | |
| getRecipientList () | |
| sendMessage ($message) | |
Protected Member Functions | |
| addRecipient ($messageId, $userId) | |
Private Member Functions | |
| addMessage ($messageToSend) | |
| sendMessageToUser ($recipientListId, $messageId) | |
Definition at line 22 of file recipientlist.lib.php.
| addMessage | ( | $ | messageToSend | ) | [final, private] |
create the message in the message table and return the identification of this
Definition at line 74 of file recipientlist.lib.php.
| addRecipient | ( | $ | messageId, | |
| $ | userId | |||
| ) | [abstract, protected] |
add the userId as recpient of the message id
| int | $messageId message id | |
| int | $userId user id |
Reimplemented in AllUsersRecipient, CourseRecipient, GroupRecipient, SingleUserRecipient, and UserListRecipient.
| getRecipientList | ( | ) | [abstract] |
Return an array of the users identification (int)
Reimplemented in AllUsersRecipient, CourseRecipient, GroupRecipient, SingleUserRecipient, and UserListRecipient.
| sendMessage | ( | $ | message | ) | [final] |
send the current message to the user in the recipientList
| messageToSend |
Definition at line 45 of file recipientlist.lib.php.
| sendMessageToUser | ( | $ | recipientListId, | |
| $ | messageId | |||
| ) | [final, private] |
Send the message to member of user list
| array | of userId $recipientListID list of user identification | |
| int | $messageId message identification |
Definition at line 143 of file recipientlist.lib.php.
1.6.3