Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Class: Swift_Mime_ContentEncoder_QpContentEncoder

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Mime/ContentEncoder/QpContentEncoder.php

Class Overview

Swift_Encoder_QpEncoder
   |
   --Swift_Mime_ContentEncoder_QpContentEncoder

Handles Quoted Printable (QP) Transfer Encoding in Swift Mailer.


Author(s):

  • Chris Corbyn

Implements interfaces:

Variables

Methods


Inherited Variables

Inherited Methods

Class: Swift_Encoder_QpEncoder

Swift_Encoder_QpEncoder::__construct()
Creates a new QpEncoder for the given CharacterStream.
Swift_Encoder_QpEncoder::charsetChanged()
Updates the charset used.
Swift_Encoder_QpEncoder::encodeString()
Takes an unencoded string and produces a QP encoded string from it.
Swift_Encoder_QpEncoder::getSafeMapShareId()
Swift_Encoder_QpEncoder::initSafeMap()
Swift_Encoder_QpEncoder::_encodeByteSequence()
Encode the given byte array into a verbatim QP form.
Swift_Encoder_QpEncoder::_nextSequence()
Get the next sequence of bytes to read from the char stream.
Swift_Encoder_QpEncoder::_standardize()
Make sure CRLF is correct and HT/SPACE are in valid places.
Swift_Encoder_QpEncoder::__clone()
Make a deep copy of object.
Swift_Encoder_QpEncoder::__sleep()
Swift_Encoder_QpEncoder::__wakeup()

Class Details

[line 16]
Handles Quoted Printable (QP) Transfer Encoding in Swift Mailer.



Tags:

author:  Chris Corbyn


[ Top ]


Class Variables

$_dotEscape =

[line 18]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 27]

Swift_Mime_ContentEncoder_QpContentEncoder __construct( Swift_CharacterStream $charStream, [Swift_StreamFilter $filter = null], [bool $dotEscape = false])

Creates a new QpContentEncoder for the given CharacterStream.



Tags:

access:  public


Overrides Swift_Encoder_QpEncoder::__construct() (Creates a new QpEncoder for the given CharacterStream.)

Parameters:

Swift_CharacterStream   $charStream   to use for reading characters
Swift_StreamFilter   $filter   if canonicalization should occur
bool   $dotEscape   if dot stuffing workaround must be enabled

[ Top ]

method encodeByteStream [line 64]

void encodeByteStream( Swift_OutputByteStream $os, Swift_InputByteStream $is, [int $firstLineOffset = 0], [int $maxLineLength = 0])

Encode stream $in to stream $out.

QP encoded strings have a maximum line length of 76 characters. If the first line needs to be shorter, indicate the difference with $firstLineOffset.




Tags:

access:  public



Implementation of:
Swift_Mime_ContentEncoder::encodeByteStream()
Encode $in to $out.

Parameters:

Swift_OutputByteStream   $os   output stream
Swift_InputByteStream   $is   input stream
int   $firstLineOffset  
int   $maxLineLength  

[ Top ]

method getName [line 130]

string getName( )

Get the name of this encoding scheme.

Returns the string 'quoted-printable'.




Tags:

access:  public



Implementation of:
Swift_Mime_ContentEncoder::getName()
Get the MIME name of this content encoding scheme.
[ Top ]

method getSafeMapShareId [line 38]

void getSafeMapShareId( )



Tags:

access:  protected


Overrides Swift_Encoder_QpEncoder::getSafeMapShareId() (parent method not documented)

[ Top ]

method initSafeMap [line 43]

void initSafeMap( )



Tags:

access:  protected


Overrides Swift_Encoder_QpEncoder::initSafeMap() (parent method not documented)

[ Top ]

method __sleep [line 33]

void __sleep( )



Tags:

access:  public


Overrides Swift_Encoder_QpEncoder::__sleep() (parent method not documented)

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:53:38 +0000 by phpDocumentor 1.4.3