\Swift_Mime_ContentEncoder_PlainContentEncoder
Handles binary/7/8-bit Transfer Encoding in Swift Mailer.
- Author: Chris Corbyn
Synopsis
class Swift_Mime_ContentEncoder_PlainContentEncoder
implements
Swift_Mime_ContentEncoder
{
- // members
- private string $_name;
- private boolean $_canonical;
- // methods
- public void __construct()
- public string encodeString()
- public void encodeByteStream()
- public string getName()
- public void charsetChanged()
- private string _safeWordwrap()
- private string _canonicalize()
Hierarchy
Implements
Members
private
- $_canonical
—
boolean
True if canonical transformations should be done. - $_name
—
string
The name of this encoding scheme (probably 7bit or 8bit).
Methods
private
- _canonicalize() — Canonicalize string input (fix CRLF).
- _safeWordwrap() — A safer (but weaker) wordwrap for unicode.
public
- __construct() — Creates a new PlainContentEncoder with $name (probably 7bit or 8bit).
- charsetChanged() — Not used.
- encodeByteStream() — Encode stream $in to stream $out.
- encodeString() — Encode a given string to produce an encoded string.
- getName() — Get the name of this encoding scheme.