825. Class

825.1. Zend\Http\Header\AbstractLocation

Abstract Location Header Supports headers that have URI as value

825.1.1. Methods

825.1.1.1. fromString

fromString()

Create location-based header from string

Parameters:string
Return type:AbstractLocation
Throws :ExceptionInvalidArgumentException

825.1.1.2. setUri

setUri()

Set the URI/URL for this header, this can be a string or an instance of ZendUriHttp

Parameters:string|UriInterface
Return type:AbstractLocation
Throws :ExceptionInvalidArgumentException

825.1.1.3. getUri

getUri()

Return the URI for this header

Return type:string

825.1.1.4. uri

uri()

Return the URI for this header as an instance of ZendUriHttp

Return type:UriInterface

825.1.1.5. getFieldValue

getFieldValue()

Get header value as URI string

Return type:string

825.1.1.6. toString

toString()

Output header line

Return type:string

825.1.1.7. __toString

__toString()

Allow casting to string

Return type:string

Project Versions

Table Of Contents

Previous topic

824. Class

Next topic

826. Class

This Page