UNB Components Code Reference

UnbMessageRevision::FirstCreatedTime method

Gets the time when the message's first revision was created.

public static function UnbMessageRevision::FirstCreatedTime ($messageId);

Parameters

messageId
(int/UnbMessage) Message or its ID of which to get the creation time

Return value

(int) UNIX timestamp

Remarks

TODO: Deprecated because of UnbMessage::GetCreatedTime() ?

Exceptions thrown

InvalidArgumentException On invalid argument type or value.
UnbDatabaseException No description available.

Privileges required

Need read access on the message. Additionally, the message must not have a moderation lock of any kind. Exceptions are documented separately.

Member of class: UnbMessageRevision

Implementation file: messagerevision.class.php, line 767

© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.