Class Swift_Mime_ContentEncoder_PlainContentEncoder
Handles binary/7/8-bit Transfer Encoding in Swift Mailer.
- Swift_Mime_ContentEncoder_PlainContentEncoder implements Swift_Mime_ContentEncoder
Package: Swift\Mime
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/ContentEncoder/PlainContentEncoder.php
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/Mime/ContentEncoder/PlainContentEncoder.php
Methods summary
public
|
#
__construct( string $name, boolean $canonical = false )
Creates a new PlainContentEncoder with $name (probably 7bit or 8bit). |
public
string
|
#
encodeString( string $string, integer $firstLineOffset = 0, integer $maxLineLength = 0 )
Encode a given string to produce an encoded string. |
public
|
#
encodeByteStream(
Encode stream $in to stream $out. |
public
string
|
|
public
|
|
private
string
|
#
_safeWordwrap( string $string, integer $length = 75, string $le = "\r\n" )
A safer (but weaker) wordwrap for unicode. |
private
string
|
Magic methods summary
Properties summary
private
string
|
$_name |
#
The name of this encoding scheme (probably 7bit or 8bit). |
private
boolean
|
$_canonical |
#
True if canonical transformations should be done. |