UNB Components Code Reference

UnbUi::CanAlterMsg method

Gets a value indicating whether a particular message (revision) can be altered.

public static function UnbUi::CanAlterMsg ($msg, $rev);

Parameters

msg

(UnbMessage) Message instance to be checked

rev

(UnbMessageRevision) Message revision instance to be checked

Return value

(bool) true if the message (revision) can be altered, false otherwise

Remarks

For a message revision to be alterable, its content must be loaded and access control must allow altering the message.

Member of class: UnbUi

Implementation file: ui.class.php, line 1554

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