Summary
- File
- Package hierarchy PHPBoost\Member
- Class hierarchy \PrivateMsg
This class provides methods to manage private message.
This class provides methods to manage private message.
__static()
None found |
count_conversations(integer $userid) : integer
Counts the user's number of conversation.
integer | $userid | The user id. |
number of user conversation.
None found |
start_conversation(integer $pm_to, string $pm_objet, string $pm_contents, integer $pm_from, boolean $system_pm = false)
Starts a conversation with another member.
integer | $pm_to | The member's user id destination. |
string | $pm_objet | The object of the conversation. |
string | $pm_contents | The content of the conversation. |
integer | $pm_from | The member's user id author. |
boolean | $system_pm | If true, the conversation has been started by the system, and not by the private message interface. |
None found |
send(integer $pm_to, integer $pm_idconvers, string $pm_contents, integer $pm_from, integer $pm_status, boolean $check_pm_before_send = true)
Answers to a conversation
integer | $pm_to | The member's user id destination. |
integer | $pm_idconvers | |
string | $pm_contents | The content of the answer. |
integer | $pm_from | The member's user id author. |
integer | $pm_status | |
boolean | $check_pm_before_send |
None found |
delete_conversation(integer $pm_userid, integer $pm_idconvers, integer $pm_expd, boolean $pm_del, boolean $pm_update)
Deletes a conversation.
integer | $pm_userid | |
integer | $pm_idconvers | |
integer | $pm_expd | |
boolean | $pm_del | |
boolean | $pm_update |
None found |
delete(integer $pm_to, integer $pm_idmsg, integer $pm_idconvers) : integer
Deletes a private message, until the recipient has not read it.
integer | $pm_to | |
integer | $pm_idmsg | |
integer | $pm_idconvers |
The previous message id.
None found |