Property | Type | Description | |
---|---|---|---|
$_userCharset | The charset last specified by the user | ||
$_userDelSp | The delsp parameter last specified by the user | ||
$_userFormat | The format parameter last specified by the user |
Method | Description | |
---|---|---|
__construct ( Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_Mime_Grammar $grammar, string $charset = null ) | Create a new MimePart with $headers, $encoder and $cache. | |
charsetChanged ( string $charset ) | Receive notification that the charset has changed on this document, or a parent document. | |
getCharset ( ) : string | Get the character set of this entity. | |
getDelSp ( ) : boolean | Test if delsp is being used for this entity. | |
getFormat ( ) : string | Get the format of this entity (i.e. flowed or fixed). | |
getNestingLevel ( ) : integer | Get the nesting level of this entity. | |
setBody ( mixed $body, string $contentType = null, string $charset = null ) : Swift_Mime_MimePart | Set the body of this entity, either as a string, or as an instance of {@link Swift_OutputByteStream}. | |
setCharset ( string $charset ) : Swift_Mime_MimePart | Set the character set of this entity. | |
setDelSp ( boolean $delsp = true ) : Swift_Mime_MimePart | Turn delsp on or off for this entity. | |
setFormat ( string $format ) : Swift_Mime_MimePart | Set the format of this entity (flowed or fixed). |
Method | Description | |
---|---|---|
_convertString ( $string ) | Encode charset when charset is not utf-8 | |
_fixHeaders ( ) | Fix the content-type and encoding of this entity | |
_setNestingLevel ( $level ) | Set the nesting level of this entity |
public __construct ( Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_Mime_Grammar $grammar, string $charset = null ) | ||
$headers | Swift_Mime_HeaderSet | |
$encoder | Swift_Mime_ContentEncoder | |
$cache | Swift_KeyCache | |
$grammar | Swift_Mime_Grammar | |
$charset | string |
protected _convertString ( $string ) |
protected _fixHeaders ( ) |
protected _setNestingLevel ( $level ) |
public charsetChanged ( string $charset ) | ||
$charset | string |
public getCharset ( ) : string | ||
return | string |
public getNestingLevel ( ) : integer | ||
return | integer |
public setCharset ( string $charset ) : Swift_Mime_MimePart | ||
$charset | string | |
return | Swift_Mime_MimePart |