UNB Components Code Reference

UnbMessageRevision::SetModerationState method

Sets this revision's moderation state.

public function UnbMessageRevision::SetModerationState ($moderationState);

Parameters

moderationState

(int) See the UnbMessageRevision::MS_* constants.

Remarks

If the message revision is waiting for approval and is now being approved, all attached files that are waiting for approval will automatically be approved, too.

Exceptions thrown

InvalidArgumentException 

On invalid argument type or value.

UnbSecurityException 

If not logged in or no moderator.

UnbDatabaseException No description available.

Privileges required

Must be logged in with moderator privilege

Member of class: UnbMessageRevision

Implementation file: messagerevision.class.php, line 1379

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