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

Class: Swift_Encoder_Rfc2231Encoder

Source Location: /vendors/swift/classes/Swift/Encoder/Rfc2231Encoder.php

Class Overview


Handles RFC 2231 specified Encoding in Swift Mailer.


Author(s):

  • Chris Corbyn

Implements interfaces:

Methods



Class Details

[line 20]
Handles RFC 2231 specified Encoding in Swift Mailer.



Tags:

author:  Chris Corbyn
filesource:  Source Code for this file


[ Top ]


Class Methods


constructor __construct [line 34]

Swift_Encoder_Rfc2231Encoder __construct( Swift_CharacterStream $charStream)

Creates a new Rfc2231Encoder using the given character stream instance.



Tags:

access:  public


Parameters:

Swift_CharacterStream   $charStream  

[ Top ]

method charsetChanged [line 84]

void charsetChanged( string $charset)

Updates the charset used.



Tags:

access:  public



Implementation of:
Swift_Mime_CharsetObserver::charsetChanged()
Notify this observer that the entity's charset has changed.

Parameters:

string   $charset  

[ Top ]

method encodeString [line 47]

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

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



Tags:

access:  public



Implementation of:
Swift_Encoder::encodeString()
Encode a given string to produce an encoded string.

Parameters:

string   $string   to encode
int   $firstLineOffset  
int   $maxLineLength,   optional, 0 indicates the default of 75 bytes
   $maxLineLength  

[ Top ]


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