TYPO3
7.6
|
Public Member Functions | |
addMailboxHeader ($name, $addresses=null) | |
addDateHeader ($name, $timestamp=null) | |
addTextHeader ($name, $value=null) | |
addParameterizedHeader ($name, $value=null, $params=array()) | |
addIdHeader ($name, $ids=null) | |
addPathHeader ($name, $path=null) | |
has ($name, $index=0) | |
set (Swift_Mime_Header $header, $index=0) | |
get ($name, $index=0) | |
getAll ($name=null) | |
listAll () | |
remove ($name, $index=0) | |
removeAll ($name) | |
newInstance () | |
defineOrdering (array $sequence) | |
setAlwaysDisplayed (array $names) | |
toString () | |
Public Member Functions inherited from Swift_Mime_CharsetObserver | |
charsetChanged ($charset) | |
A collection of MIME headers.
Definition at line 16 of file HeaderSet.php.
addDateHeader | ( | $name, | |
$timestamp = null |
|||
) |
Add a new Date header using $timestamp (UNIX time).
string | $name | |
int | $timestamp |
Implemented in Swift_Mime_SimpleHeaderSet.
addIdHeader | ( | $name, | |
$ids = null |
|||
) |
Add a new ID header for Message-ID or Content-ID.
string | $name | |
string | array | $ids |
Implemented in Swift_Mime_SimpleHeaderSet.
addMailboxHeader | ( | $name, | |
$addresses = null |
|||
) |
Add a new Mailbox Header with a list of $addresses.
string | $name | |
array | string | $addresses |
Implemented in Swift_Mime_SimpleHeaderSet.
addParameterizedHeader | ( | $name, | |
$value = null , |
|||
$params = array() |
|||
) |
Add a new ParameterizedHeader with $name, $value and $params.
string | $name | |
string | $value | |
array | $params |
Implemented in Swift_Mime_SimpleHeaderSet.
addPathHeader | ( | $name, | |
$path = null |
|||
) |
Add a new Path header with an address (path) in it.
string | $name | |
string | $path |
Implemented in Swift_Mime_SimpleHeaderSet.
addTextHeader | ( | $name, | |
$value = null |
|||
) |
Add a new basic text header with $name and $value.
string | $name | |
string | $value |
Implemented in Swift_Mime_SimpleHeaderSet.
Referenced by Swift_Signers_DomainKeySigner\addSignature(), and Swift_Signers_DKIMSigner\addSignature().
defineOrdering | ( | array | $sequence | ) |
Define a list of Header names as an array in the correct order.
These Headers will be output in the given order where present.
array | $sequence |
Implemented in Swift_Mime_SimpleHeaderSet.
get | ( | $name, | |
$index = 0 |
|||
) |
Get the header with the given $name. If multiple headers match, the actual one may be specified by $index. Returns NULL if none present.
string | $name | |
int | $index |
Implemented in Swift_Mime_SimpleHeaderSet.
getAll | ( | $name = null | ) |
Get all headers with the given $name.
string | $name |
Implemented in Swift_Mime_SimpleHeaderSet.
Referenced by Swift_Plugins_RedirectingPlugin\_filterHeaderSet(), Swift_Signers_DKIMSigner\addSignature(), Swift_Signers_OpenDKIMSigner\setHeaders(), Swift_Signers_DomainKeySigner\setHeaders(), and Swift_Signers_DKIMSigner\setHeaders().
has | ( | $name, | |
$index = 0 |
|||
) |
Returns true if at least one header with the given $name exists.
If multiple headers match, the actual one may be specified by $index.
string | $name | |
int | $index |
Implemented in Swift_Mime_SimpleHeaderSet.
Referenced by Swift_Signers_OpenDKIMSigner\setHeaders(), Swift_Signers_DomainKeySigner\setHeaders(), and Swift_Signers_DKIMSigner\setHeaders().
listAll | ( | ) |
Return the name of all Headers.
Implemented in Swift_Mime_SimpleHeaderSet.
Referenced by Swift_Signers_OpenDKIMSigner\setHeaders(), Swift_Signers_DomainKeySigner\setHeaders(), and Swift_Signers_DKIMSigner\setHeaders().
newInstance | ( | ) |
Create a new instance of this HeaderSet.
Implemented in Swift_Mime_SimpleHeaderSet.
remove | ( | $name, | |
$index = 0 |
|||
) |
Remove the header with the given $name if it's set.
If multiple headers match, the actual one may be specified by $index.
string | $name | |
int | $index |
Implemented in Swift_Mime_SimpleHeaderSet.
removeAll | ( | $name | ) |
Remove all headers with the given $name.
string | $name |
Implemented in Swift_Mime_SimpleHeaderSet.
set | ( | Swift_Mime_Header | $header, |
$index = 0 |
|||
) |
Set a header in the HeaderSet.
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 | $header | |
int | $index |
Implemented in Swift_Mime_SimpleHeaderSet.
Referenced by Swift_Signers_OpenDKIMSigner\addSignature().
setAlwaysDisplayed | ( | array | $names | ) |
Set a list of header names which must always be displayed when set.
Usually headers without a field value won't be output unless set here.
array | $names |
Implemented in Swift_Mime_SimpleHeaderSet.
toString | ( | ) |
Returns a string with a representation of all headers.
Implemented in Swift_Mime_SimpleHeaderSet.