MailMimeParser 1.3

HeaderPartFactory

Constructs and returns HeaderPart objects.

Tags
author

Zaahid Bateson

Table of Contents

$charsetConverter  : MbWrapper
__construct()  : mixed
Sets up dependencies.
newAddressGroupPart()  : AddressGroupPart
Initializes and returns a new AddressGroupPart
newAddressPart()  : AddressPart
Initializes and returns a new AddressPart.
newCommentPart()  : CommentPart
Initializes and returns a new CommentPart.
newDatePart()  : DatePart
Initializes and returns a new DatePart
newInstance()  : HeaderPart
Creates and returns a default HeaderPart for this factory, allowing subclass factories for specialized HeaderParts.
newLiteralPart()  : LiteralPart
Initializes and returns a new LiteralPart.
newMimeLiteralPart()  : MimeLiteralPart
Initializes and returns a new MimeLiteralPart.
newParameterPart()  : ParameterPart
Initializes and returns a new ParameterPart.
newReceivedDomainPart()  : ReceivedDomainPart
Initializes and returns a new ReceivedDomainPart.
newReceivedPart()  : ReceivedPart
Initializes and returns a new ReceivedPart.
newSplitParameterToken()  : SplitParameterToken
Instantiates and returns a SplitParameterToken with the given name.
newToken()  : Token
Initializes and returns a new Token.

Properties

Methods

__construct()

Sets up dependencies.

public __construct(MbWrapper $charsetConverter) : mixed
Parameters
$charsetConverter : MbWrapper
Return values
mixed

newAddressGroupPart()

Initializes and returns a new AddressGroupPart

public newAddressGroupPart(array<string|int, mixed> $addresses[, string $name = '' ]) : AddressGroupPart
Parameters
$addresses : array<string|int, mixed>
$name : string = ''
Return values
AddressGroupPart

newAddressPart()

Initializes and returns a new AddressPart.

public newAddressPart(string $name, string $email) : AddressPart
Parameters
$name : string
$email : string
Return values
AddressPart

newInstance()

Creates and returns a default HeaderPart for this factory, allowing subclass factories for specialized HeaderParts.

public newInstance(string $value) : HeaderPart

The default implementation returns a new Token.

Parameters
$value : string
Return values
HeaderPart

newParameterPart()

Initializes and returns a new ParameterPart.

public newParameterPart(string $name, string $value[, string $language = null ]) : ParameterPart
Parameters
$name : string
$value : string
$language : string = null
Return values
ParameterPart

newReceivedDomainPart()

Initializes and returns a new ReceivedDomainPart.

public newReceivedDomainPart(string $name, string $value[, string $ehloName = null ][, string $hostName = null ][, string $hostAddress = null ]) : ReceivedDomainPart
Parameters
$name : string
$value : string
$ehloName : string = null
$hostName : string = null
$hostAddress : string = null
Return values
ReceivedDomainPart

newReceivedPart()

Initializes and returns a new ReceivedPart.

public newReceivedPart(string $name, string $value) : ReceivedPart
Parameters
$name : string
$value : string
Return values
ReceivedPart

newToken()

Initializes and returns a new Token.

public newToken(string $value) : Token
Parameters
$value : string
Return values
Token

Search results