Class ContentLocation

Summary

Fully Qualified Name: Zend\Http\Header\ContentLocation
Extends: AbstractLocation

Description

Content-Location Header

Methods

Name Description Defined By
__toString() Allow casting to string AbstractLocation
fromString() Create location-based header from string AbstractLocation
getFieldName() Return header name ContentLocation
getFieldValue() Get header value as URI string AbstractLocation
getUri() Return the URI for this header AbstractLocation
setUri() Set the URI/URL for this header, this can be a string or an instance of Zend\Uri\Http AbstractLocation
toString() Output header line AbstractLocation
uri() Return the URI for this header as an instance of Zend\Uri\Http AbstractLocation

Method Details

__toString()

Allow casting to string

Returns: string

fromString()

Create location-based header from string

Parameter Name Type Description
$headerLine string

Returns: \AbstractLocation

getFieldName()

Return header name

Returns: string

getFieldValue()

Get header value as URI string

Returns: string

getUri()

Return the URI for this header

Returns: string

setUri()

Set the URI/URL for this header, this can be a string or an instance of Zend\Uri\Http

Parameter Name Type Description
$uri string|\UriInterface

Returns: \AbstractLocation

toString()

Output header line

Returns: string

uri()

Return the URI for this header as an instance of Zend\Uri\Http

Returns: \UriInterface

Top