UNB Components Code Reference

UnbMessage::AddReadAccessKey method

Adds a key to this message that allows reading it.

public function UnbMessage::AddReadAccessKey ($key);

Parameters

key
(int/UnbUser) Key to add

Exceptions thrown

InvalidArgumentException On invalid argument type or value.
UnbSecurityException If not logged in or not the message owner/no administrator.
UnbDatabaseException No description available.

Privileges required

Must be logged in as the message owner or with administrator privilege

See also

UnbDatabase::AddKeylistKey()

Member of class: UnbMessage

Implementation file: message.class.php, line 578

© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.