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

Mail_IMAP::_defaultHeaderPid()

str|FALSE _defaultHeaderPid(int &$mid, str $pid)

The header part id is determined based on which part of the message is being viewed. Attached messages, for instance have headers of their own, like the message body, these headers are retrieved using a part id. The Mail_IMAP::_defaultHeaderPid determines which is the proper part id for headers, whereas Mail_IMAP::getRawHeaders and Mail_IMAP::getHeaders selects the right headers to return or parse for the current message part.

Warning: As a method used internally by Mail_IMAP, Mail_IMAP::_defaultHeaderPid 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 The message id.
param str $pid The part id.
return void
access private
see Mail_IMAP::getHeaders

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.

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