Richard York

Web Developer, Author, and Artist

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()

Comments

There are no comments posted at this time.

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.

Comments are closed at this time.

© Copyright 2014 Hot Toddy, All Rights Reserved.