HEADER_PARSE
HEADER_PARSE
Header formatting constants.
Object containing data returned by the Horde_Imap_Client_Base#fetch() command.
getHeaders(string $label, integer $format) : mixed
Get a header entry.
string | $label | The search label. |
integer | $format | The return format. If self::HEADER_PARSE, returns a Horde_Mime_Headers object. If self::HEADER_STREAM, returns a stream. Otherwise, returns header text. |
See $format.
getHeaderText(string $id, integer $format) : mixed
Get a header text entry.
string | $id | The MIME ID. |
integer | $format | The return format. If self::HEADER_PARSE, returns a Horde_Mime_Headers object. If self::HEADER_STREAM, returns a stream. Otherwise, returns header text. |
See $format.
getMimeHeader(string $id, integer $format) : mixed
Get a MIME header entry.
string | $id | The MIME ID. |
integer | $format | The return format. If self::HEADER_PARSE, returns a Horde_Mime_Headers object. If self::HEADER_STREAM, returns a stream. Otherwise, returns header text. |
See $format.
getEnvelope() : \Horde_Imap_Client_Data_Envelope
Get envelope data.
An envelope object.
getImapDate() : \Horde_Imap_Client_DateTime
Get internal IMAP date.
A date object.
merge(\Horde_Imap_Client_Data_Fetch $data)
Merge a fetch object into this one.
\Horde_Imap_Client_Data_Fetch | $data | A fetch object. |
_getHeaders(string $id, integer $format, integer $key) : mixed
Return representation of a header field.
string | $id | The header id. |
integer | $format | The return format. If self::HEADER_PARSE, returns a Horde_Mime_Headers object. If self::HEADER_STREAM, returns a stream. Otherwise, returns header text. |
integer | $key | The array key where the data is stored in the internal array. |
The data in the format specified by $format.