Method | Description | |
---|---|---|
__construct ( string $name, Swift_Mime_HeaderEncoder $encoder, Swift_Encoder $paramEncoder = null, Swift_Mime_Grammar $grammar ) | Creates a new ParameterizedHeader with $name. | |
getFieldBody ( ) : string | Get the value of this header prepared for rendering. | |
getFieldType ( ) : integer | Get the type of Header that this instance represents. | |
getParameter ( string $parameter ) : string | Get the value of $parameter. | |
getParameters ( ) : string[] | Returns an associative array of parameter names mapped to values. | |
setCharset ( string $charset ) | Set the character set used in this Header. | |
setParameter ( string $parameter, string $value ) | Set the value of $parameter. | |
setParameters ( array $parameters ) | Set an associative array of parameter names mapped to values. |
Method | Description | |
---|---|---|
toTokens ( string $string = null ) : array | Generate a list of all tokens in the final header. |
Method | Description | |
---|---|---|
_createParameter ( string $name, string $value ) : string | Render a RFC 2047 compliant header parameter from the $name and $value. | |
_getEndOfParameterValue ( string $value, boolean $encoded = false, boolean $firstLine = false ) : string | Returns the parameter value from the "=" and beyond. |
public __construct ( string $name, Swift_Mime_HeaderEncoder $encoder, Swift_Encoder $paramEncoder = null, Swift_Mime_Grammar $grammar ) | ||
$name | string | |
$encoder | Swift_Mime_HeaderEncoder | |
$paramEncoder | Swift_Encoder | |
$grammar | Swift_Mime_Grammar |
public getFieldBody ( ) : string | ||
return | string |
public getFieldType ( ) : integer | ||
return | integer |
public getParameter ( string $parameter ) : string | ||
$parameter | string | |
return | string |
public getParameters ( ) : string[] | ||
return | string[] |
public setCharset ( string $charset ) | ||
$charset | string |
public setParameter ( string $parameter, string $value ) | ||
$parameter | string | |
$value | string |
public setParameters ( array $parameters ) | ||
$parameters | array |