Ejemplo n.º 1
0
 /**
  * mark the message (by the message id) as unread for the user (user identifiation) in parameter
  *
  * @param int $messageId message identification
  * @param int $userId user identification
  */
 public function markUnread($messageId, $userId = NULL)
 {
     $message = new ReceivedMessage($messageId, $userId);
     $message->markUnread();
 }