Jean-Michel Hiver > MKDoc-Forum > MKDoc::Forum::Message

Download:
MKDoc-Forum-0.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

MKDoc::Forum::Message - A forum message object.

API ^

$class->new ( uid => $uid );

Creates a new flo::plugin::Discussion::Message object. Registers the object in $::MKD_MESSAGES hashref

$self->get ($uid);

Returns the message matching $uid if it is somewhere in the tree, undef otherwise.

$self->uid();

Returns the UID for this message.

$self->message_id();

Returns the Message-ID field of the specified message.

$self->references();

Returns the 'references' field of this message.

$self->date();

Returns the date field of the specified message.

$self->date_w3c();

Returns the date field of the specified message in W3C DTF.

$self->subject();

Returns the 'Subject' field of the specified message.

$self->to();

Returns the 'To' field of this message.

$self->from();

Return the 'From' field of the specified message.

$self->language();

Return the 'Content-Language' field of this message.

$self->name();

Returns the 'name' attribute of the specified message

$self->body();

Returns the 'body' attribute of the specified message

$self->body_hyperlinked();

Returns the body as XHTML, with the addresses being hyperlinked.

$self->body_as_quoted_text();

Returns the body as quoted text, useful for replies.

$self->subject_re();

Returns the subject of this mail prefixed with 'Re: ' unless it's already there. Useful for replies.

$self->parent();

Returns the parent message of the current message, or undef if none

$self->children();

Returns the children messages of the current message, or an empty list if none

$self->prev();

Returns the previous sibling of the current message, or undef if none

$self->next();

Returns the next sibling of the current message, or undef if none