Gets a value indicating whether reading a message specified by its message ID is allowed to the current session user.
public static function UnbMessage::IsReadAllowedById ($messageId);
(int/UnbMessage) Message or its ID to check.
(bool)
This does not regard moderation flags. It also won't give any exceptional access, like for administrators or the message owner. These exceptions need to be handled by the code that calls this method, according to the UNB access specification.
InvalidArgumentException | No description available. |
UnbDatabaseException | No description available. |
Member of class: UnbMessage
Implementation file: message.class.php, line 1785
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.