UNB Components Code Reference

UnbMessage::UpdateSearchFields method

Sets the search-optimised fields for content, subject and revision number to the values from the latest approved message revision.

public static function UnbMessage::UpdateSearchFields ($messageId);

Parameters

messageId

(int) Message ID

Remarks

If there is no approved message revision, the latest of all revisions is used instead.

Exceptions thrown

UnbDatabaseException No description available.
InvalidArgumentException No description available.

Member of class: UnbMessage

Implementation file: message.class.php, line 1261

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