Creates a new message revision instance for a message, based on this revision.
public function UnbMessageRevision::CreateCopy ($subject, $content, $summary, $data, $dataFileName, $writeToFile);
null
(max. 255 characters)true
to copy or null
null
(do not use together with data
)null
for automatic decision
The newly created UnbMessageRevision object, if successful, null
otherwise.
The newly created message revision instance is also stored in the database. The same conditions as for the static Create
method apply. The data for one or multiple fields of the new message revision can be copied from this revision by setting the respective argument to true
.
This message revision must have been retrieved with content level {{UnbMessageRevisionContentLevel::Content}}.
InvalidArgumentException | No description available. |
LengthException | No description available. |
Must be logged in and need read and alter access on the message
Member of class: UnbMessageRevision
Implementation file: messagerevision.class.php, line 335
© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.