CSS: Providing seven essential vitamins and minerals since 1996.
Have a steaming hot, delicious slice of Standards.

Mail_IMAP::_checkIfParsed()

void _checkIfParsed(int &$mid [, bool $check_pid = TRUE[, $get_mime = 'text/html']])

Mail_IMAPv2::_checkIfParsed checks to see if message parts have been parsed. It also looks to see if a default part id has been created. If message parts have not been parsed, it calls on Mail_IMAPv2::_declareParts to parse the message. If no default part id exists, it calls on Mail_IMAPv2::_getDefaultPid to create one.

Warning: As a method used internally by Mail_IMAP, Mail_IMAPv2::_checkIfParsed should not be used directly. Its API has the potential of being changed in future releases, should I find a more efficient approach.

Method summary:

param int &$mid message id
param bool $check_pid Toggles whether the method looks to see if the default pid exists.
param str $get_mime Toggles whether a text/html or text/plain message is the part looked for first.
return void
access protected
see Mail_IMAPv2::_declareParts
Mail_IMAPv2::_getDefaultPid

Leave a Comment

Simple HTML is allowed: <code>, <b>, <i>, <u>, <var>, <strong>, <em>, <blockquote>, <ul>, <ol>, <li>, <p> (no attributes). All spacing and line breaks in your comment will be preserved.

* All comments are moderated and are subject to approval.
Your comment will appear once it has been approved.
Posting multiple times will not expedite the approval process.

Copyright © 1998-2012 Richard York, All Rights Reserved.