TYPO3
7.6
|
Public Member Functions | |
__construct (Swift_Mime_ContentEncoder_QpContentEncoder $safeEncoder, Swift_Mime_ContentEncoder_NativeQpContentEncoder $nativeEncoder, $charset) | |
__clone () | |
charsetChanged ($charset) | |
encodeByteStream (Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset=0, $maxLineLength=0) | |
getName () | |
encodeString ($string, $firstLineOffset=0, $maxLineLength=0) | |
Private Member Functions | |
getEncoder () | |
Private Attributes | |
$safeEncoder | |
$nativeEncoder | |
$charset | |
Proxy for quoted-printable content encoders.
Switches on the best QP encoder implementation for current charset.
Definition at line 18 of file QpContentEncoderProxy.php.
__construct | ( | Swift_Mime_ContentEncoder_QpContentEncoder | $safeEncoder, |
Swift_Mime_ContentEncoder_NativeQpContentEncoder | $nativeEncoder, | ||
$charset | |||
) |
Constructor.
Swift_Mime_ContentEncoder_QpContentEncoder | $safeEncoder | |
Swift_Mime_ContentEncoder_NativeQpContentEncoder | $nativeEncoder | |
string | null | $charset |
Definition at line 42 of file QpContentEncoderProxy.php.
References $charset, $nativeEncoder, and $safeEncoder.
__clone | ( | ) |
Make a deep copy of object.
Definition at line 52 of file QpContentEncoderProxy.php.
References $nativeEncoder, and $safeEncoder.
charsetChanged | ( | $charset | ) |
{Notify this observer that the entity's charset has changed.
string | $charset |
Implements Swift_Mime_CharsetObserver.
Definition at line 61 of file QpContentEncoderProxy.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 |
Implements Swift_Mime_ContentEncoder.
Definition at line 69 of file QpContentEncoderProxy.php.
References getEncoder().
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 |
Implements Swift_Encoder.
Definition at line 85 of file QpContentEncoderProxy.php.
References getEncoder().
|
private |
Definition at line 93 of file QpContentEncoderProxy.php.
References $safeEncoder.
Referenced by encodeByteStream(), and encodeString().
getName | ( | ) |
{Get the MIME name of this content encoding scheme.
Implements Swift_Mime_ContentEncoder.
Definition at line 77 of file QpContentEncoderProxy.php.
|
private |
Definition at line 33 of file QpContentEncoderProxy.php.
Referenced by __construct(), and charsetChanged().
|
private |
Definition at line 28 of file QpContentEncoderProxy.php.
Referenced by __clone(), and __construct().
|
private |
Definition at line 23 of file QpContentEncoderProxy.php.
Referenced by __clone(), __construct(), and getEncoder().