Each object of this class represents a single message.
Properties
Public
$id - Atom id element.
$msgNo - Message number (relative ordering)
$subject - Message subject = atom title element.
$from - Message from = atom author/email element
$date - Message date = atom modified element
$timestamp - UNIX timestamp representing message date. Derived from date property.
$link - Link to a full message at Gmail = atom link[@href] value.
$body - Message body excerpt = atom summary element.
Private
$_msg - Raw 'entry' atom element.
Methods
Constructor.
Parameter $msg stands for raw entry atom element value; parameter $msgNo (int) signifies message number.
(public) getBody ()
Populates the body from the raw entry.