__construct()
fromString()
getFieldName()
getFieldValue()
setFieldName()
setFieldValue()
splitHeaderLine()
toString()
$fieldName
$fieldValue
Content-Location Header
__construct(null | string $fieldName, null | string $fieldValue)
nullstring
nullstring
fromString(string $headerLine) : \Zend\Http\Header\GenericHeader
static |
---|
string
\Zend\Http\Header\Exception\InvalidArgumentException |
If the header does not match RFC 2616 definition. |
---|
getFieldName() : string
string
getFieldValue() : string
string
setFieldName(string $fieldName) : \Zend\Http\Header\GenericHeader
string
\Zend\Http\Header\Exception\InvalidArgumentException |
If the name does not match with RFC 2616 format. |
---|
splitHeaderLine(string $headerLine) : string[]
string
\Zend\Http\Header\Exception\InvalidArgumentException |
If header does not match with the format ``name:value`` |
---|
string[]
`name` in the first index and `value` in the second.toString() : string
Returns in form of "NAME: VALUE\r\n"
string
$fieldName : string
$fieldValue : string