Class Swift_Encoder_Rfc2231Encoder
Inheritance | Swift_Encoder_Rfc2231Encoder |
---|---|
Implements | Swift_Encoder |
Handles RFC 2231 specified Encoding in Swift Mailer.
Public Methods
Method | Description | Defined By |
---|---|---|
__clone() | Make a deep copy of object. | Swift_Encoder_Rfc2231Encoder |
__construct() | Creates a new Rfc2231Encoder using the given character stream instance. | Swift_Encoder_Rfc2231Encoder |
charsetChanged() | Updates the charset used. | Swift_Encoder_Rfc2231Encoder |
encodeString() | Takes an unencoded string and produces a string encoded according to RFC 2231 from it. | Swift_Encoder_Rfc2231Encoder |
Method Details
Make a deep copy of object.
public void __clone ( ) |
Creates a new Rfc2231Encoder using the given character stream instance.
public void __construct ( Swift_CharacterStream $charStream ) | ||
$charStream |
Updates the charset used.
public void charsetChanged ( $charset ) | ||
$charset | string |
Takes an unencoded string and produces a string encoded according to RFC 2231 from it.
public string encodeString ( $string, $firstLineOffset = 0, $maxLineLength = 0 ) | ||
$string | string | |
$firstLineOffset | int | |
$maxLineLength | int | Optional, 0 indicates the default of 75 bytes |