|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| encodeString (string $string, ?string $charset='utf-8', int $firstLineOffset=0, int $maxLineLength=0) | |
| getName () | |
Public Member Functions inherited from Symfony\Component\Mime\Encoder\QpEncoder | |
| __construct () | |
Protected Member Functions | |
| initSafeMap () | |
Additional Inherited Members | |
Protected Attributes inherited from Symfony\Component\Mime\Encoder\QpEncoder | |
| $safeMap = [] | |
Definition at line 17 of file QpMimeHeaderEncoder.php.
| Symfony\Component\Mime\Encoder\QpMimeHeaderEncoder::encodeString | ( | string | $string, |
| ?string | $charset = 'utf-8', |
||
| int | $firstLineOffset = 0, |
||
| int | $maxLineLength = 0 |
||
| ) |
{{Encode a given string to produce an encoded string.
| int | $firstLineOffset | if first line needs to be shorter |
| int | $maxLineLength | - 0 indicates the default length for this encoding |
Takes an unencoded string and produces a QP encoded string from it.
QP encoded strings have a maximum line length of 76 characters. If the first line needs to be shorter, indicate the difference with $firstLineOffset.
Reimplemented from Symfony\Component\Mime\Encoder\QpEncoder.
Definition at line 34 of file QpMimeHeaderEncoder.php.
| Symfony\Component\Mime\Encoder\QpMimeHeaderEncoder::getName | ( | ) |
Get the MIME name of this content encoding scheme.
Implements Symfony\Component\Mime\Encoder\MimeHeaderEncoderInterface.
Definition at line 29 of file QpMimeHeaderEncoder.php.
|
protected |
Reimplemented from Symfony\Component\Mime\Encoder\QpEncoder.
Definition at line 19 of file QpMimeHeaderEncoder.php.