DEFAULT_CONTENT_TYPE
DEFAULT_CONTENT_TYPE
This class represents a Content-Type MIME header (RFC 2045).
encode(array $opts = array()) : array
Encodes a MIME content parameter string pursuant to RFC 2183 & 2231 (Content-Type and Content-Disposition headers).
array | $opts | Options:
|
The encoded parameter string (US-ASCII).
sendEncode(array $opts = array()) : array
Returns the encoded string value(s) needed when sending the header text to a RFC compliant mail submission server.
array | $opts | Additional options:
|
An array of string values.
create() : \Horde_Mime_Headers_ContentParam_ContentType
Creates a default Content-Type header, conforming to the MIME specification as detailed in RFC 2045.
Content-Type header object.