\Horde_Mime_Headers_ContentTransferEncoding

This class represents the Content-Transfer-Encoding header value (RFC 2045 [6]).

Summary

Methods
Properties
Constants
__get()
__toString()
getHandles()
__construct()
setValue()
sendEncode()
isDefault()
getIterator()
$full_value
$value
$name
$value_single
DEFAULT_ENCODING
UNKNOWN_ENCODING
_setValue()
_sendEncode()
_sanityCheck()
$_name
$_values
N/A
No private methods found
No private properties found
N/A

Constants

DEFAULT_ENCODING

DEFAULT_ENCODING

Default encoding (RFC 2045 [6.1]).

UNKNOWN_ENCODING

UNKNOWN_ENCODING

Unknown encoding specifier.

Properties

$full_value

$full_value : string

Full header value.

Type

string

$value

$value : string

Header value.

Type

string

$name

$name : string

Header name.

Type

string

$value_single

$value_single : string

The first header value.

Type

string

$_name

$_name : string

Header name (UTF-8, although limited to US-ASCII subset by RFCs).

Type

string

$_values

$_values : array

Header values.

Type

array

Methods

__get()

__get(  $name) 

Parameters

$name

__toString()

__toString() 

getHandles()

getHandles() : array

Return list of explicit header names handled by this driver.

Returns

array —

Header list.

__construct()

__construct(  $name,   $value) 

Parameters

$name
$value

setValue()

setValue(mixed  $value) 

Set the value of the header.

Parameters

mixed $value

Header value(s).

sendEncode()

sendEncode(array  $opts = array()) : array

Returns the encoded string value(s) needed when sending the header text to a RFC compliant mail submission server.

Parameters

array $opts

Additional options:

  • charset: (string) Charset to encode to. DEFAULT: UTF-8

Returns

array —

An array of string values.

isDefault()

isDefault() 

getIterator()

getIterator() 

_setValue()

_setValue(  $value) 

TODO

Parameters

$value

_sendEncode()

_sendEncode(  $opts) 

TODO

Parameters

$opts

_sanityCheck()

_sanityCheck(string  $data) : string

Perform sanity checking on a header value.

Parameters

string $data

The header data.

Returns

string —

The cleaned header data.