Documentation

Swift_Mime_ContentEncoder_NullContentEncoder
in package
implements Swift_Mime_ContentEncoder

Handles the case where the email body is already encoded and you just need specify the correct encoding without actually changing the encoding of the body.

Tags
author

Jan Flora jf@penneo.com

Interfaces, Classes and Traits

Swift_Mime_ContentEncoder
Interface for all Transfer Encoding schemes.

Table of Contents

$_name  : string
The name of this encoding scheme (probably 7bit or 8bit).
__construct()  : mixed
Creates a new NullContentEncoder with $name (probably 7bit or 8bit).
charsetChanged()  : mixed
Not used.
encodeByteStream()  : mixed
Encode stream $in to stream $out.
encodeString()  : string
Encode a given string to produce an encoded string.
getName()  : string
Get the name of this encoding scheme.

Properties

$_name

The name of this encoding scheme (probably 7bit or 8bit).

private string $_name

Methods

__construct()

Creates a new NullContentEncoder with $name (probably 7bit or 8bit).

public __construct(string $name) : mixed
Parameters
$name : string
Return values
mixed

charsetChanged()

Not used.

public charsetChanged(mixed $charset) : mixed
Parameters
$charset : mixed
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

ignored

$maxLineLength : int

ignored

Return values
string

getName()

Get the name of this encoding scheme.

public getName() : string
Return values
string

Search results