[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/mp-includes/Swiftmailer/classes/Swift/Encoder/ -> QpEncoder.php (summary)

(no description)

File Size: 289 lines (11 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_Encoder_QpEncoder:: (11 methods):

Class: Swift_Encoder_QpEncoder  - X-Ref

Handles Quoted Printable (QP) Encoding in Swift Mailer.

Possibly the most accurate RFC 2045 QP implementation found in PHP.

__construct(Swift_CharacterStream $charStream, Swift_StreamFilter $filter = null)   X-Ref
Creates a new QpEncoder for the given CharacterStream.

param: Swift_CharacterStream $charStream to use for reading characters
param: Swift_StreamFilter    $filter     if input should be canonicalized

__sleep()   X-Ref
No description

__wakeup()   X-Ref
No description

getSafeMapShareId()   X-Ref
No description

initSafeMap()   X-Ref
No description

encodeString($string, $firstLineOffset = 0, $maxLineLength = 0)   X-Ref
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

param: string $string           to encode
param: int    $firstLineOffset, optional
param: int    $maxLineLength,   optional 0 indicates the default of 76 chars
return: string

charsetChanged($charset)   X-Ref
Updates the charset used.

param: string $charset

_encodeByteSequence(array $bytes, &$size)   X-Ref
Encode the given byte array into a verbatim QP form.

param: integer[] $bytes
param: int       $size
return: string

_nextSequence($size = 4)   X-Ref
Get the next sequence of bytes to read from the char stream.

param: int $size number of bytes to read
return: integer[]

_standardize($string)   X-Ref
Make sure CRLF is correct and HT/SPACE are in valid places.

param: string $string
return: string

__clone()   X-Ref
Make a deep copy of object.

Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1