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

Class: Swift_Mime_HeaderEncoder_QpHeaderEncoder

Source Location: /vendors/swift/classes/Swift/Mime/HeaderEncoder/QpHeaderEncoder.php

Class Overview

Swift_Encoder_QpEncoder
   |
   --Swift_Mime_HeaderEncoder_QpHeaderEncoder

Handles Quoted Printable (Q) Header Encoding in Swift Mailer.


Author(s):

  • Chris Corbyn

Implements interfaces:

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::_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.

Class Details

[line 21]
Handles Quoted Printable (Q) Header Encoding in Swift Mailer.



Tags:

author:  Chris Corbyn


[ Top ]


Class Methods


constructor __construct [line 31]

Swift_Mime_HeaderEncoder_QpHeaderEncoder __construct( Swift_CharacterStream $charStream)

Creates a new QpHeaderEncoder 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

[ Top ]

method encodeString [line 63]

string encodeString( string $string, [ $firstLineOffset = 0], [ $maxLineLength = 0], int $firstLineOffset,, int $maxLineLength,)

Takes an unencoded string and produces a Q encoded string from it.



Tags:

access:  public



Implementation of:
Swift_Encoder::encodeString()
Encode a given string to produce an encoded string.
Overrides Swift_Encoder_QpEncoder::encodeString() (Takes an unencoded string and produces a QP encoded string from it.)

Parameters:

string   $string   to encode
int   $firstLineOffset,   optional
int   $maxLineLength,   optional, 0 indicates the default of 76 chars
   $firstLineOffset  
   $maxLineLength  

[ Top ]

method getName [line 51]

string getName( )

Get the name of this encoding scheme.

Returns the string 'Q'.




Tags:

access:  public



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

method _encodeByteSequence [line 79]

string _encodeByteSequence( $bytes, &$size)

Encode the given byte array into a verbatim QP form.



Tags:

access:  protected


Overrides Swift_Encoder_QpEncoder::_encodeByteSequence() (Encode the given byte array into a verbatim QP form.)

Parameters:

int[]   $bytes  
   &$size  

[ Top ]


Documentation generated on Mon, 05 Sep 2011 20:34:07 -0500 by phpDocumentor 1.4.3