\Horde_Mime_Headers_Received

This class represents the Received header value.

Summary

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

Properties

$full_value

$full_value : array

List of full header values (strings).

Type

array

$value

$value : array

List of header values (strings).

Type

array

$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

__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() : boolean

If true, indicates the contents of the header is the default value.

Returns

boolean —

True if this header is the default value.

getHandles()

getHandles() 

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.