Jean-Michel Hiver > MKDoc-Forum-0.1 > MKDoc::Forum::IMAP::Query

Download:
MKDoc-Forum-0.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

uid_most_recent_first();

Returns all the UIDs from the current $::MKD_IMAP object, most recent first.

slicing_structure ($per_page, $current, $uid_array);

Splits $uid_array into a list of 'slices' containing $per_page message each.

Each element of the resulting array looks like this:

  {
      number    => <index in the array + 1>,
      thickness => $per_page,
      uids      => <array refs of UIDs for this slice>
      current   => <TRUE if 'number' is the same as $current>
  }

slice_threaded ($slice);

Using the UIDs defined whitin this particular slice, loads all the corresponding messages and threads them properly. Returns the top thread messages.

message_header ($uid);

Returns the parsed headers for the message $uid.