Class Swift_Mime_Headers_ParameterizedHeader
An abstract base MIME Header.
- Swift_Mime_Headers_AbstractHeader implements Swift_Mime_Header
- Swift_Mime_Headers_UnstructuredHeader
- Swift_Mime_Headers_ParameterizedHeader implements Swift_Mime_ParameterizedHeader
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/Headers/ParameterizedHeader.php
Methods summary
public
|
#
__construct( string $name,
Creates a new ParameterizedHeader with $name. |
public
integer
|
|
public
|
|
public
|
|
public
string
|
|
public
|
|
public
string[]
|
|
public
string
|
|
protected
array
|
#
toTokens( string $string = null )
Generate a list of all tokens in the final header. This doesn't need to be overridden in theory, but it is for implementation reasons to prevent potential breakage of attributes. |
private
string
|
#
_createParameter( string $name, string $value )
Render a RFC 2047 compliant header parameter from the $name and $value. |
private
string
|
#
_getEndOfParameterValue( string $value, boolean $encoded = false, boolean $firstLine = false )
Returns the parameter value from the "=" and beyond. |
Methods inherited from Swift_Mime_Headers_UnstructuredHeader
getFieldBodyModel()
,
getValue()
,
setFieldBodyModel()
,
setValue()
Methods inherited from Swift_Mime_Headers_AbstractHeader
__toString()
,
clearCachedValueIf()
,
createPhrase()
,
encodeWords()
,
generateTokenLines()
,
getCachedValue()
,
getCharset()
,
getEncodableWordTokens()
,
getEncoder()
,
getFieldName()
,
getGrammar()
,
getLanguage()
,
getMaxLineLength()
,
getTokenAsEncodedWord()
,
setCachedValue()
,
setEncoder()
,
setFieldName()
,
setGrammar()
,
setLanguage()
,
setMaxLineLength()
,
toString()
,
tokenNeedsEncoding()
Magic methods summary
Constants summary
string |
TOKEN_REGEX |
'(?:[\x21\x23-\x27\x2A\x2B\x2D\x2E\x30-\x39\x41-\x5A\x5E-\x7E]+)' |
#
RFC 2231's definition of a token. |
Constants inherited from Swift_Mime_Header
TYPE_DATE
,
TYPE_ID
,
TYPE_MAILBOX
,
TYPE_PARAMETERIZED
,
TYPE_PATH
,
TYPE_TEXT
Properties summary
private
|
$_paramEncoder |
#
The Encoder used to encode the parameters. |
private
string[]
|
$_params |
#
The parameters as an associative array. |