Class Swift_Mime_SimpleHeaderSet
A collection of MIME headers.
- Swift_Mime_SimpleHeaderSet implements Swift_Mime_HeaderSet
Package: Swift\Mime
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderSet.php
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/SimpleHeaderSet.php
Methods summary
public
|
#
__construct(
Create a new SimpleHeaderSet with the given $factory. |
public
|
|
public
|
#
addMailboxHeader( string $name, array|string $addresses = null )
Add a new Mailbox Header with a list of $addresses. |
public
|
#
addDateHeader( string $name, integer $timestamp = null )
Add a new Date header using $timestamp (UNIX time). |
public
|
#
addTextHeader( string $name, string $value = null )
Add a new basic text header with $name and $value. |
public
|
#
addParameterizedHeader( string $name, string $value = null, array $params = array() )
Add a new ParameterizedHeader with $name, $value and $params. |
public
|
#
addIdHeader( string $name, string|array $ids = null )
Add a new ID header for Message-ID or Content-ID. |
public
|
#
addPathHeader( string $name, string $path = null )
Add a new Path header with an address (path) in it. |
public
boolean
|
#
has( string $name, integer $index = 0 )
Returns true if at least one header with the given $name exists. |
public
|
|
public
|
|
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
setAlwaysDisplayed( array $names )
Set a list of header names which must always be displayed when set. |
public
|
|
public
string
|
|
public
string
|
|
private
|
#
_storeHeader( mixed $name,
Save a Header to the internal collection |
private
|
|
private
|
|
private
|
|
private
|
Magic methods summary
Properties summary
private
mixed
|
$_factory |
#
HeaderFactory |
private
array
|
$_headers |
#
Collection of set Headers |
private
array
|
$_order |
#
Field ordering details |
private
array
|
$_required |
#
List of fields which are required to be displayed |
private
mixed
|
$_charset |
#
The charset used by Headers |