Class Swift_Mime_Headers_PathHeader
A Path Header in Swift Mailer, such a Return-Path.
- Swift_Mime_Headers_AbstractHeader implements Swift_Mime_Header
- Swift_Mime_Headers_PathHeader
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/Headers/PathHeader.php
Methods summary
public
|
#
__construct( string $name,
Creates a new PathHeader with the given $name. |
public
integer
|
|
public
|
#
setFieldBodyModel( string $model )
Set the model for the field body. This method takes a string for an address. |
public
mixed
|
#
getFieldBodyModel( )
Get the model for the field body. This method returns a string email address. |
public
|
|
public
string
|
#
getAddress( )
Get the address which is used in this Header (if any). Null is returned if no address is set. |
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
|
#
_assertValidAddress( string $address )
Throws an Exception if the address passed does not comply with RFC 2822. |
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
|
$_address |
#
The address in this Header (if specified). |