TYPO3
7.6
|
Public Member Functions | |
__construct ($charset=null) | |
charsetChanged ($charset) | |
encodeByteStream (Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset=0, $maxLineLength=0) | |
getName () | |
encodeString ($string, $firstLineOffset=0, $maxLineLength=0) | |
Protected Member Functions | |
_standardize ($string) | |
Private Attributes | |
$charset | |
Handles Quoted Printable (QP) Transfer Encoding in Swift Mailer using the PHP core function.
Definition at line 16 of file NativeQpContentEncoder.php.
__construct | ( | $charset = null | ) |
null | string | $charset |
Definition at line 26 of file NativeQpContentEncoder.php.
References $charset.
|
protected |
Make sure CRLF is correct and HT/SPACE are in valid places.
string | $string |
Definition at line 105 of file NativeQpContentEncoder.php.
Referenced by encodeString().
charsetChanged | ( | $charset | ) |
Notify this observer that the entity's charset has changed.
string | $charset |
Implements Swift_Mime_CharsetObserver.
Definition at line 36 of file NativeQpContentEncoder.php.
References $charset.
encodeByteStream | ( | Swift_OutputByteStream | $os, |
Swift_InputByteStream | $is, | ||
$firstLineOffset = 0 , |
|||
$maxLineLength = 0 |
|||
) |
Encode $in to $out.
Swift_OutputByteStream | $os | to read from |
Swift_InputByteStream | $is | to write to |
int | $firstLineOffset | |
int | $maxLineLength | 0 indicates the default length for this encoding |
RuntimeException |
Implements Swift_Mime_ContentEncoder.
Definition at line 51 of file NativeQpContentEncoder.php.
References encodeString(), Swift_OutputByteStream\read(), and Swift_InputByteStream\write().
encodeString | ( | $string, | |
$firstLineOffset = 0 , |
|||
$maxLineLength = 0 |
|||
) |
Encode a given string to produce an encoded string.
string | $string | |
int | $firstLineOffset | if first line needs to be shorter |
int | $maxLineLength | 0 indicates the default length for this encoding |
RuntimeException |
Implements Swift_Encoder.
Definition at line 88 of file NativeQpContentEncoder.php.
References _standardize().
Referenced by encodeByteStream().
getName | ( | ) |
Get the MIME name of this content encoding scheme.
Implements Swift_Mime_ContentEncoder.
Definition at line 72 of file NativeQpContentEncoder.php.
|
private |
Definition at line 21 of file NativeQpContentEncoder.php.
Referenced by __construct(), and charsetChanged().