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.
| 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() |
|
There are no comments posted at this time.
* 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.