Documentation

Horde_ListHeaders extends Horde_Mail_Rfc822
in package

Class to parse List Header fields (RFC 2369/2919).

Tags
author

Michael Slusarz slusarz@horde.org

category

Horde

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

headers()  : array<string|int, mixed>
Returns the list of valid mailing list headers.
listHeadersExist()  : bool
Do any mailing list headers exist?
parse()  : mixed
Parse a list header.
_parseBase()  : array<string|int, mixed>
Parse a base list header (RFC 2369).
_parseListId()  : Horde_ListHeaders_Id
Parse a List-ID (RFC 2919).
_parseListPost()  : array<string|int, mixed>
Parse a List-Post header (RFC 2369 [3.4]).

Methods

headers()

Returns the list of valid mailing list headers.

public headers() : array<string|int, mixed>
Return values
array<string|int, mixed>

The list of valid mailing list headers.

listHeadersExist()

Do any mailing list headers exist?

public listHeadersExist(Horde_Mime_Headers $ob) : bool
Parameters
$ob : Horde_Mime_Headers

Headers object.

Tags
since
1.2.0
Return values
bool

True if any mailing list headers exist.

parse()

Parse a list header.

public parse(string $id, string $value) : mixed
Parameters
$id : string

Header ID.

$value : string

Header value.

Return values
mixed

An array of Horde_ListHeaders_Base objects, a Horde_ListHeaders_Id object, or false if unable to parse.

_parseBase()

Parse a base list header (RFC 2369).

protected _parseBase() : array<string|int, mixed>
Return values
array<string|int, mixed>

List of Horde_List_Headers_Base objects.

_parseListPost()

Parse a List-Post header (RFC 2369 [3.4]).

protected _parseListPost() : array<string|int, mixed>
Return values
array<string|int, mixed>

List of Horde_List_Headers_Base objects.

Search results