Methods
Factory to generate a header object from a string
fromString(string $headerLine) : \Zend\Mail\Header\self
Inherited
inherited_from |
\Zend\Mail\Header\AbstractAddressList::fromString() |
Parameters
$headerLine
string
Exceptions
Returns
\Zend\Mail\Header\self
Get address list managed by this header
getAddressList() : \Zend\Mail\AddressList
Inherited
inherited_from |
\Zend\Mail\Header\AbstractAddressList::getAddressList() |
Returns
Get header encoding
getEncoding() : string
Inherited
inherited_from |
\Zend\Mail\Header\AbstractAddressList::getEncoding() |
Returns
string
Retrieve header name
getFieldName() : string
Inherited
inherited_from |
\Zend\Mail\Header\AbstractAddressList::getFieldName() |
Returns
string
Retrieve header value
getFieldValue(bool $format) : string
Inherited
inherited_from |
\Zend\Mail\Header\AbstractAddressList::getFieldValue() |
Parameters
$format
bool
Return the value in Mime::Encoded or in Raw format
Returns
string
Set address list for this header
setAddressList(\Zend\Mail\AddressList $addressList)
Inherited
inherited_from |
\Zend\Mail\Header\AbstractAddressList::setAddressList() |
Parameters
Set header encoding
setEncoding(string $encoding) : \Zend\Mail\Header\self
Inherited
inherited_from |
\Zend\Mail\Header\AbstractAddressList::setEncoding() |
Parameters
$encoding
string
Returns
\Zend\Mail\Header\self
Cast to string
toString() : string
Inherited
Returns in form of "NAME: VALUE"
inherited_from |
\Zend\Mail\Header\AbstractAddressList::toString() |
Returns
string
Properties
$addressList
$addressList : \Zend\Mail\AddressList
Inherited
inherited_from |
\Zend\Mail\Header\AbstractAddressList::$$addressList |
Header encoding
$encoding : string
Inherited
inherited_from |
\Zend\Mail\Header\AbstractAddressList::$$encoding |
<p>Normalized field name</p>
$fieldName : string
<p>lower case field name</p>
$type : string
Constants