|
XOOPS RMCommon Utilities
2.1.8.91RC
|

Public Member Functions | |
| __construct (Swift_CharacterStream $charStream) | |
| charsetChanged ($charset) | |
| encodeString ($string, $firstLineOffset=0, $maxLineLength=0) | |
Private Attributes | |
| $_charStream | |
Definition at line 20 of file Rfc2231Encoder.php.
| Swift_Encoder_Rfc2231Encoder::__construct | ( | Swift_CharacterStream | $charStream | ) |
Creates a new Rfc2231Encoder using the given character stream instance.
| Swift_CharacterStream |
Definition at line 34 of file Rfc2231Encoder.php.
| Swift_Encoder_Rfc2231Encoder::charsetChanged | ( | $charset | ) |
Updates the charset used.
| string | $charset |
Implements Swift_Mime_CharsetObserver.
Definition at line 84 of file Rfc2231Encoder.php.
| Swift_Encoder_Rfc2231Encoder::encodeString | ( | $string, | |
$firstLineOffset = 0, |
|||
$maxLineLength = 0 |
|||
| ) |
Takes an unencoded string and produces a string encoded according to RFC 2231 from it.
| string | $string | to encode |
| int | $firstLineOffset | |
| int | $maxLineLength,optional,0 | indicates the default of 75 bytes |
Implements Swift_Encoder.
Definition at line 47 of file Rfc2231Encoder.php.
|
private |
Definition at line 28 of file Rfc2231Encoder.php.