XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_Encoder_Rfc2231Encoder Class Reference
Inheritance diagram for Swift_Encoder_Rfc2231Encoder:
Inheritance graph

Public Member Functions

 __construct (Swift_CharacterStream $charStream)
 
 charsetChanged ($charset)
 
 encodeString ($string, $firstLineOffset=0, $maxLineLength=0)
 

Private Attributes

 $_charStream
 

Detailed Description

Definition at line 20 of file Rfc2231Encoder.php.

Constructor & Destructor Documentation

Swift_Encoder_Rfc2231Encoder::__construct ( Swift_CharacterStream  $charStream)

Creates a new Rfc2231Encoder using the given character stream instance.

Parameters
Swift_CharacterStream

Definition at line 34 of file Rfc2231Encoder.php.

Member Function Documentation

Swift_Encoder_Rfc2231Encoder::charsetChanged (   $charset)

Updates the charset used.

Parameters
string$charset

Implements Swift_Mime_CharsetObserver.

Definition at line 84 of file Rfc2231Encoder.php.

Swift_Encoder_Rfc2231Encoder::encodeString (   $string,
  $firstLineOffset = 0,
  $maxLineLength = 0 
)

Takes an unencoded string and produces a string encoded according to RFC 2231 from it.

Parameters
string$stringto encode
int$firstLineOffset
int$maxLineLength,optional,0indicates the default of 75 bytes
Returns
string

Implements Swift_Encoder.

Definition at line 47 of file Rfc2231Encoder.php.

Member Data Documentation

Swift_Encoder_Rfc2231Encoder::$_charStream
private

Definition at line 28 of file Rfc2231Encoder.php.


The documentation for this class was generated from the following file: