메소드 | 설명 | |
---|---|---|
__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. |
메소드 | 설명 | |
---|---|---|
toTokens ( string $string = null ) : array | Generate a list of all tokens in the final header. |
메소드 | 설명 | |
---|---|---|
_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 | ||
리턴 | string |
public getFieldType ( ) : integer | ||
리턴 | integer |
public getParameter ( string $parameter ) : string | ||
$parameter | string | |
리턴 | string |
public getParameters ( ) : string[] | ||
리턴 | string[] |
public setCharset ( string $charset ) | ||
$charset | string |
public setParameter ( string $parameter, string $value ) | ||
$parameter | string | |
$value | string |
public setParameters ( array $parameters ) | ||
$parameters | array |