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

PHP Powered XHTML 1.0 CSS
Copyright © 1998-2010 Richard York, All Rights Reserved.