Fully Qualified Name: | Zend\Http\Header\GenericMultiHeader |
Extends: | GenericHeader |
Implements: | MultipleHeaderInterface |
Name | Description | Defined By |
---|---|---|
__construct() | Constructor | GenericHeader |
fromString() | GenericMultiHeader | |
getFieldName() | Retrieve header field name | GenericHeader |
getFieldValue() | Retrieve header field value | GenericHeader |
setFieldName() | Set header field name | GenericHeader |
setFieldValue() | Set header field value | GenericHeader |
splitHeaderLine() | Splits the header line in `name` and `value` parts. | GenericHeader |
toString() | Cast to string as a well formed HTTP header line | GenericHeader |
toStringMultipleHeaders() | GenericMultiHeader |
Constructor
Parameter Name | Type | Description |
---|---|---|
$fieldName | null|string | |
$fieldValue | null|string |
Returns:
Parameter Name | Type | Description |
---|---|---|
$headerLine |
Returns: void
Retrieve header field name
Returns: string
Retrieve header field value
Returns: string
Set header field name
Parameter Name | Type | Description |
---|---|---|
$fieldName | string |
Returns: \GenericHeader
Set header field value
Parameter Name | Type | Description |
---|---|---|
$fieldValue | string |
Returns: \GenericHeader
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.
Cast to string as a well formed HTTP header line
Returns in form of "NAME: VALUE\r\n"
Returns: string
Parameter Name | Type | Description |
---|---|---|
$headers |
Returns: void