Méthode |
Description |
|
addDateHeader ( string $name, integer $timestamp = null ) |
Add a new Date header using $timestamp (UNIX time). |
|
addIdHeader ( string $name, string | array $ids = null ) |
Add a new ID header for Message-ID or Content-ID. |
|
addMailboxHeader ( string $name, array | string $addresses = null ) |
Add a new Mailbox Header with a list of $addresses. |
|
addParameterizedHeader ( string $name, string $value = null, array $params = [] ) |
Add a new ParameterizedHeader with $name, $value and $params. |
|
addPathHeader ( string $name, string $path = null ) |
Add a new Path header with an address (path) in it. |
|
addTextHeader ( string $name, string $value = null ) |
Add a new basic text header with $name and $value. |
|
defineOrdering ( array $sequence ) |
Define a list of Header names as an array in the correct order. |
|
get ( string $name, integer $index ) : Swift_Mime_Header |
Get the header with the given $name. |
|
getAll ( string $name = null ) : array |
Get all headers with the given $name. |
|
has ( string $name, integer $index ) : boolean |
Returns true if at least one header with the given $name exists. |
|
listAll ( ) : array |
Return the name of all Headers. |
|
newInstance ( ) : Swift_Mime_HeaderSet |
Create a new instance of this HeaderSet. |
|
remove ( string $name, integer $index ) |
Remove the header with the given $name if it's set. |
|
removeAll ( string $name ) |
Remove all headers with the given $name. |
|
set ( Swift_Mime_Header $header, integer $index ) |
Set a header in the HeaderSet. |
|
setAlwaysDisplayed ( array $names ) |
Set a list of header names which must always be displayed when set. |
|
toString ( ) : string |
Returns a string with a representation of all headers. |
|