Content-Location Header

category Zend
package Zend_Http
subpackage Headers

 Methods

Constructor

__construct(null | string $fieldName, null | string $fieldValue) 

Parameters

$fieldName

nullstring

$fieldValue

nullstring

Factory to generate a header object from a string

fromString(string $headerLine) : \Zend\Http\Header\GenericHeader

static

Parameters

$headerLine

string

Returns

Retrieve header field name

getFieldName() : string

Returns

string

Retrieve header field value

getFieldValue() : string

Returns

string

Set header field name

setFieldName(string $fieldName) : \Zend\Http\Header\GenericHeader

Parameters

$fieldName

string

Exceptions

\Zend\Http\Header\Exception\InvalidArgumentException(

Returns

Set header field value

setFieldValue(string $fieldValue) : \Zend\Http\Header\GenericHeader

Parameters

$fieldValue

string

Returns

Cast to string as a well formed HTTP header line

toString() : string

Returns in form of "NAME: VALUE\r\n"

Returns

string

 Properties

 

$fieldName

$fieldName : string

 

$fieldValue

$fieldValue : string