Fully Qualified Name: | Zend\Mail\Header\GenericMultiHeader |
Extends: | GenericHeader |
Implements: | MultipleHeadersInterface |
Generic class for Headers with multiple occurs in the same message
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | GenericHeader |
fromString() | GenericMultiHeader | |
getEncoding() | GenericHeader | |
getFieldName() | GenericHeader | |
getFieldValue() | GenericHeader | |
setEncoding() | GenericHeader | |
setFieldName() | GenericHeader | |
setFieldValue() | GenericHeader | |
splitHeaderLine() | Splits the header line in `name` and `value` parts. | GenericHeader |
toString() | GenericHeader | |
toStringMultipleHeaders() | Cast multiple header objects to a single string header | GenericMultiHeader |
Constructor
Parameter Name | Type | Description |
---|---|---|
$fieldName | string | Optional |
$fieldValue | string | Optional |
Returns:
Parameter Name | Type | Description |
---|---|---|
$headerLine |
Returns: void
Returns: void
Returns: void
Parameter Name | Type | Description |
---|---|---|
$format |
Returns: void
Parameter Name | Type | Description |
---|---|---|
$encoding |
Returns: void
Parameter Name | Type | Description |
---|---|---|
$fieldName |
Returns: void
Parameter Name | Type | Description |
---|---|---|
$fieldValue |
Returns: void
Splits the header line in `name` and `value` parts.
Parameter Name | Type | Description |
---|---|---|
$headerLine | string |
Returns: string[] `name` in the first index and `value` in the second.
Returns: void
Cast multiple header objects to a single string header
Parameter Name | Type | Description |
---|---|---|
$headers | array |
Returns: string