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

Class: Swift_Encoder_Rfc2231Encoder

Source Location: /system/vendor/swiftmailer/swiftmailer/lib/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 16]
Handles RFC 2231 specified Encoding in Swift Mailer.



Tags:

author:  Chris Corbyn


[ Top ]


Class Methods


constructor __construct [line 30]

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 80]

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 45]

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

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  
int   $firstLineOffset  
int   $maxLineLength   optional, 0 indicates the default of 75 bytes

[ Top ]

method __clone [line 88]

void __clone( )

Make a deep copy of object.



Tags:

access:  public


[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:54:00 +0000 by phpDocumentor 1.4.3