A collection of MIME headers.
package | Swift |
---|---|
subpackage | Mime |
author | Chris Corbyn |
addDateHeader(string $name, int $timestamp)
string
int
addIdHeader(string $name, string | array $ids)
string
string
array
addMailboxHeader(string $name, array | string $addresses)
string
array
string
addParameterizedHeader(string $name, string $value, array $params)
string
string
array
addPathHeader(string $name, string $path)
string
string
addTextHeader(string $name, string $value)
string
string
charsetChanged(string $charset)
inherited_from | \Swift_Mime_CharsetObserver::charsetChanged() |
---|
string
defineOrdering(array $sequence)
These Headers will be output in the given order where present.
array
get(string $name, int $index) : \Swift_Mime_Header
If multiple headers match, the actual one may be specified by $index. Returns NULL if none present.
string
int
getAll(string $name) : array
string
array
has(string $name, int $index) : boolean
If multiple headers match, the actual one may be specified by $index.
string
int
boolean
remove(string $name, int $index)
If multiple headers match, the actual one may be specified by $index.
string
int
removeAll(string $name)
string
set(\Swift_Mime_Header $header, int $index)
The header may be a previously fetched header via get() or it may be one that has been created separately.
If $index is specified, the header will be inserted into the set at this offset.
\Swift_Mime_Header
int
setAlwaysDisplayed(array $names)
Usually headers without a field value won't be output unless set here.
array
toString() : string
string