PHP Class Swift_Mime_ContentEncoder_QpContentEncoder, Halite

Author: Chris Corbyn
Inheritance: extends Swift_Encoder_QpEncoder, implements Swift_Mime_ContentEncoder
Datei anzeigen Open project: HaliteChallenge/Halite Class Usage Examples

Protected Properties

Property Type Description
$_dotEscape

Public Methods

Method Description
__construct ( Swift_CharacterStream $charStream, Swift_StreamFilter $filter = null, boolean $dotEscape = false ) Creates a new QpContentEncoder for the given CharacterStream.
__sleep ( )
encodeByteStream ( Swift_OutputByteStream $os, Swift_InputByteStream $is, integer $firstLineOffset, integer $maxLineLength ) Encode stream $in to stream $out.
getName ( ) : string Get the name of this encoding scheme.

Protected Methods

Method Description
getSafeMapShareId ( )
initSafeMap ( )

Method Details

__construct() public method

Creates a new QpContentEncoder for the given CharacterStream.
public __construct ( Swift_CharacterStream $charStream, Swift_StreamFilter $filter = null, boolean $dotEscape = false )
$charStream Swift_CharacterStream to use for reading characters
$filter Swift_StreamFilter if canonicalization should occur
$dotEscape boolean if dot stuffing workaround must be enabled

__sleep() public method

public __sleep ( )

encodeByteStream() public method

QP encoded strings have a maximum line length of 76 characters. If the first line needs to be shorter, indicate the difference with $firstLineOffset.
public encodeByteStream ( Swift_OutputByteStream $os, Swift_InputByteStream $is, integer $firstLineOffset, integer $maxLineLength )
$os Swift_OutputByteStream output stream
$is Swift_InputByteStream input stream
$firstLineOffset integer
$maxLineLength integer

getName() public method

Returns the string 'quoted-printable'.
public getName ( ) : string
return string

getSafeMapShareId() protected method

protected getSafeMapShareId ( )

initSafeMap() protected method

protected initSafeMap ( )

Property Details

$_dotEscape protected_oe property

protected $_dotEscape