UNB Components Code Reference

UnbMessage::GetSearchOrLatestRevision method

Gets either the search revision or the latest revision object, whichever is available

public function UnbMessage::GetSearchOrLatestRevision ($contentLevel = null, $allowFallback = false);

Parameters

contentLevel  –  optional, default: null
allowFallback  –  optional, default: false

(bool) Allow falling back to a lower content level if moderation restrictions require it

Return value

A UnbMessageRevision object if successful, null otherwise

Exceptions thrown

UnbDatabaseException No description available.

Member of class: UnbMessage

Implementation file: message.class.php, line 1154

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