Class Swift_Mime_ContentEncoder_NativeQpContentEncoder
Inheritance | Swift_Mime_ContentEncoder_NativeQpContentEncoder |
---|---|
Implements | Swift_Mime_ContentEncoder |
Handles Quoted Printable (QP) Transfer Encoding in Swift Mailer using the PHP core function.
Public Methods
Method | Description | Defined By |
---|---|---|
__construct() | Swift_Mime_ContentEncoder_NativeQpContentEncoder | |
charsetChanged() | Notify this observer that the entity's charset has changed. | Swift_Mime_ContentEncoder_NativeQpContentEncoder |
encodeByteStream() | Encode $in to $out. | Swift_Mime_ContentEncoder_NativeQpContentEncoder |
encodeString() | Encode a given string to produce an encoded string. | Swift_Mime_ContentEncoder_NativeQpContentEncoder |
getName() | Get the MIME name of this content encoding scheme. | Swift_Mime_ContentEncoder_NativeQpContentEncoder |
Protected Methods
Method | Description | Defined By |
---|---|---|
_standardize() | Make sure CRLF is correct and HT/SPACE are in valid places. | Swift_Mime_ContentEncoder_NativeQpContentEncoder |
Method Details
public void __construct ( $charset = null ) | ||
$charset | null|string |
Make sure CRLF is correct and HT/SPACE are in valid places.
protected string _standardize ( $string ) | ||
$string | string |
Notify this observer that the entity's charset has changed.
public void charsetChanged ( $charset ) | ||
$charset | string |
Encode $in to $out.
public void encodeByteStream ( Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset = 0, $maxLineLength = 0 ) | ||
$os | Swift_OutputByteStream | To read from |
$is | Swift_InputByteStream | To write to |
$firstLineOffset | int | |
$maxLineLength | int | 0 indicates the default length for this encoding |
throws | RuntimeException |
---|
Encode a given string to produce an encoded string.
public string encodeString ( $string, $firstLineOffset = 0, $maxLineLength = 0 ) | ||
$string | string | |
$firstLineOffset | int | If first line needs to be shorter |
$maxLineLength | int | 0 indicates the default length for this encoding |
throws | RuntimeException |
---|
Get the MIME name of this content encoding scheme.
public string getName ( ) |