Documentation

Swift_Encoder_Rfc2231Encoder
in package
implements Swift_Encoder

Handles RFC 2231 specified Encoding in Swift Mailer.

Tags
author

Chris Corbyn

Interfaces, Classes and Traits

Swift_Encoder
Interface for all Encoder schemes.

Table of Contents

$charStream  : Swift_CharacterStream
A character stream to use when reading a string as characters instead of bytes.
__clone()  : mixed
Make a deep copy of object.
__construct()  : mixed
Creates a new Rfc2231Encoder using the given character stream instance.
charsetChanged()  : mixed
Updates the charset used.
encodeString()  : string
Takes an unencoded string and produces a string encoded according to RFC 2231 from it.

Properties

Methods

__clone()

Make a deep copy of object.

public __clone() : mixed
Return values
mixed

charsetChanged()

Updates the charset used.

public charsetChanged(string $charset) : mixed
Parameters
$charset : string
Return values
mixed

encodeString()

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

public encodeString(string $string, int $firstLineOffset, int $maxLineLength) : string
Parameters
$string : string
$firstLineOffset : int
$maxLineLength : int

optional, 0 indicates the default of 75 bytes

Return values
string

Search results