UNB Components Code Reference

UnbMessage::SetReadAccessKeys method

Sets all keys for this message that allow reading it. This removes any keys set before.

public function UnbMessage::SetReadAccessKeys ($keys);

Parameters

keys

(array(int/UnbUser)) Keys to set

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::ResetKeylistKeys()

Member of class: UnbMessage

Implementation file: message.class.php, line 675

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.