Documentation

Swift_Mime_ContentEncoder_NativeQpContentEncoder
in package
implements Swift_Mime_ContentEncoder

Handles Quoted Printable (QP) Transfer Encoding in Swift Mailer using the PHP core function.

Tags
author

Lars Strojny

Interfaces, Classes and Traits

Swift_Mime_ContentEncoder
Interface for all Transfer Encoding schemes.

Table of Contents

$charset  : null|string
__construct()  : mixed
charsetChanged()  : mixed
Notify this observer that the entity's charset has changed.
encodeByteStream()  : mixed
Encode $in to $out.
encodeString()  : string
Encode a given string to produce an encoded string.
getName()  : string
Get the MIME name of this content encoding scheme.
standardize()  : string
Make sure CRLF is correct and HT/SPACE are in valid places.

Properties

Methods

__construct()

public __construct([null|string $charset = null ]) : mixed
Parameters
$charset : null|string = null
Return values
mixed

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

Tags
throws
RuntimeException
Return values
string

getName()

Get the MIME name of this content encoding scheme.

public getName() : string
Return values
string

standardize()

Make sure CRLF is correct and HT/SPACE are in valid places.

protected standardize(string $string) : string
Parameters
$string : string
Return values
string

Search results