UNB Components Code Reference

UnbMessage::AddRevision method

Adds a new revision to this message.

public function UnbMessage::AddRevision ($subject, $content, $summary = '');

Parameters

subject
(string) Subject of the new revision (max. 255 characters)
content
(string) Content (max. 16,777,215 characters)
summary  –  optional, default: ''
(string) Summary of the changes in the new revivion to the previous one (max. 255 characters)

Return value

A UnbMessageRevision object

Exceptions thrown

UnbDatabaseException No description available.

Privileges required

See UnbMessageRevision::Create()

See also

UnbMessageRevision::Create()

Member of class: UnbMessage

Implementation file: message.class.php, line 1409

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