Methods
Constructor
__construct(null | string $fieldName, null | string $fieldValue)
Inherited
inherited_from |
\Zend\Http\Header\GenericHeader::__construct() |
Parameters
$fieldName
nullstring
$fieldValue
nullstring
Factory to generate a header object from a string
fromString(string $headerLine) : \Zend\Http\Header\GenericHeader
Parameters
$headerLine
string
Exceptions
Returns
Retrieve header field name
getFieldName() : string
Inherited
inherited_from |
\Zend\Http\Header\GenericHeader::getFieldName() |
Returns
string
Retrieve header field value
getFieldValue() : string
Inherited
inherited_from |
\Zend\Http\Header\GenericHeader::getFieldValue() |
Returns
string
Set header field name
setFieldName(string $fieldName) : \Zend\Http\Header\GenericHeader
Inherited
inherited_from |
\Zend\Http\Header\GenericHeader::setFieldName() |
Parameters
$fieldName
string
Exceptions
Returns
Set header field value
setFieldValue(string $fieldValue) : \Zend\Http\Header\GenericHeader
Inherited
inherited_from |
\Zend\Http\Header\GenericHeader::setFieldValue() |
Parameters
$fieldValue
string
Returns
Cast to string as a well formed HTTP header line
toString() : string
Inherited
Returns in form of "NAME: VALUE\r\n"
inherited_from |
\Zend\Http\Header\GenericHeader::toString() |
Returns
string
Properties
$fieldName
$fieldName : string
Inherited
inherited_from |
\Zend\Http\Header\GenericHeader::$$fieldName |
$fieldValue
$fieldValue : string
Inherited
inherited_from |
\Zend\Http\Header\GenericHeader::$$fieldValue |