package Default

 Methods

Factory to generate a header object from a string

fromString(string $headerLine) 
Static
inherited_from \Zend\Mail\Header\HeaderInterface::fromString()

Parameters

$headerLine

Get header encoding

getEncoding() 
inherited_from \Zend\Mail\Header\HeaderInterface::getEncoding()

Retrieve header name

getFieldName() 
inherited_from \Zend\Mail\Header\HeaderInterface::getFieldName()

Retrieve header value

getFieldValue(boolean $format = \Zend\Mail\Header\HeaderInterface::FORMAT_RAW
inherited_from \Zend\Mail\Header\HeaderInterface::getFieldValue()

Parameters

$format

Retrieve the content transfer encoding

getTransferEncoding() : string

Returns

string

Set header encoding

setEncoding(string $encoding) 
inherited_from \Zend\Mail\Header\HeaderInterface::setEncoding()

Parameters

$encoding

Set the content transfer encoding

setTransferEncoding(string $transferEncoding) : \Zend\Mail\Header\ContentTransferEncoding
fluent This method is part of a fluent interface and will return the same instance

Parameters

$transferEncoding

string

Exceptions

\Zend\Mail\Header\Exception\InvalidArgumentException

Returns

\Zend\Mail\Header\ContentTransferEncoding

Cast to string

toString() 

Returns in form of "NAME: VALUE"

inherited_from \Zend\Mail\Header\HeaderInterface::toString()

 Properties

 

Allowed Content-Transfer-Encoding parameters specified by RFC 1521 (reduced set)

$allowedTransferEncodings : array

Default

array('7bit', '8bit', 'quoted-printable', 'base64', 'binary')
Static
 

$parameters

$parameters : array

Default

array()
 

$transferEncoding

$transferEncoding : string

Default