Class Swift_Mime_Headers_IdentificationHeader
An ID MIME Header for something like Message-ID or Content-ID.
- Swift_Mime_Headers_AbstractHeader implements Swift_Mime_Header
- Swift_Mime_Headers_IdentificationHeader
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/Headers/IdentificationHeader.php
Methods summary
public
|
#
__construct( string $name,
Creates a new IdentificationHeader with the given $name and $id. |
public
integer
|
|
public
|
#
setFieldBodyModel( mixed $model )
Set the model for the field body. This method takes a string ID, or an array of IDs |
public
array
|
|
public
|
|
public
string
|
#
getId( )
Get the ID used in the value of this Header. If multiple IDs are set only the first is returned. |
public
|
|
public
string[]
|
|
public
string
|
#
getFieldBody( )
Get the string value of the body in this Header. This is not necessarily RFC
2822 compliant since folding white space will not be added at this stage (see
|
private
|
Methods inherited from Swift_Mime_Headers_AbstractHeader
__toString()
,
clearCachedValueIf()
,
createPhrase()
,
encodeWords()
,
generateTokenLines()
,
getCachedValue()
,
getCharset()
,
getEncodableWordTokens()
,
getEncoder()
,
getFieldName()
,
getGrammar()
,
getLanguage()
,
getMaxLineLength()
,
getTokenAsEncodedWord()
,
setCachedValue()
,
setCharset()
,
setEncoder()
,
setFieldName()
,
setGrammar()
,
setLanguage()
,
setMaxLineLength()
,
toString()
,
toTokens()
,
tokenNeedsEncoding()
Magic methods summary
Constants summary
Constants inherited from Swift_Mime_Header
TYPE_DATE
,
TYPE_ID
,
TYPE_MAILBOX
,
TYPE_PARAMETERIZED
,
TYPE_PATH
,
TYPE_TEXT
Properties summary
private
string[]
|
$_ids |
#
The IDs used in the value of this Header. This may hold multiple IDs or just a single ID. |