Documentation

Swift_Mime_HeaderEncoder extends Swift_Encoder

Interface for all Header Encoding schemes.

Tags
author

Chris Corbyn

Table of Contents

charsetChanged()  : mixed
Notify this observer that the entity's charset has changed.
encodeString()  : string
Encode a given string to produce an encoded string.
getName()  : string
Get the MIME name of this content encoding scheme.

Methods

charsetChanged()

Notify this observer that the entity's charset has changed.

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

encodeString()

Encode a given string to produce an encoded string.

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

if first line needs to be shorter

$maxLineLength : int
  • 0 indicates the default length for this encoding
Return values
string

getName()

Get the MIME name of this content encoding scheme.

public getName() : string
Return values
string

Search results