Methods |
public
static
|
NewInstance(string $sRawHeaders = '', bool $bStoreRawHeaders = true): HeaderCollection
Parameters
$sRawHeaders |
= ''
|
$bStoreRawHeaders |
= true
|
|
#
|
public
|
AddByName(string $sName, string $sValue, bool $bToTop = false): HeaderCollection
|
#
|
public
|
SetByName(string $sName, string $sValue, bool $bToTop = false): HeaderCollection
|
#
|
public
&
|
GetByIndex($iIndex): Header|null
|
#
|
public
|
ValueByName(string $sHeaderName, bool $bCharsetAutoDetect = false): string
Parameters
$bCharsetAutoDetect |
= false
|
|
#
|
public
|
ValuesByName(string $sHeaderName, bool $bCharsetAutoDetect = false): array
Parameters
$bCharsetAutoDetect |
= false
|
|
#
|
public
|
RemoveByName(string $sHeaderName): HeaderCollection
|
#
|
public
|
GetAsEmailCollection(string $sHeaderName, bool $bCharsetAutoDetect = false): string
Parameters
$bCharsetAutoDetect |
= false
|
|
#
|
public
|
ParametersByName(string $sHeaderName): ParameterCollection|null
|
#
|
public
|
ParameterValue(string $sHeaderName, string $sParamName): string
|
#
|
public
&
|
GetByName(string $sHeaderName): Header|false
|
#
|
public
|
SetAsArray(array $aList): HeaderCollection
|
#
|
public
|
SetParentCharset(string $sParentCharset): HeaderCollection
|
#
|
public
|
clear(): void
|
#
|
public
|
Parse(string $sRawHeaders, bool $bStoreRawHeaders = false, string $sParentCharset = ''): HeaderCollection
Parameters
$bStoreRawHeaders |
= false
|
$sParentCharset |
= ''
|
|
#
|
public
|
ToEncodedString(): string
|
#
|