HumHub Documentation (unofficial)

ContentLocation extends AbstractLocation
in package

Content-Location Header

Tags
link
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.14

Table of Contents

Properties

$uri  : UriInterface
URI for this header

Methods

__toString()  : string
Allow casting to string
fromString()  : static
Create location-based header from string
getFieldName()  : string
Return header name
getFieldValue()  : string
Get header value as URI string
getUri()  : string
Return the URI for this header
setUri()  : $this
Set the URI/URL for this header, this can be a string or an instance of Laminas\Uri\Http
toString()  : string
Output header line
uri()  : UriInterface
Return the URI for this header as an instance of Laminas\Uri\Http

Properties

Methods

__toString()

Allow casting to string

public __toString() : string
Return values
string

fromString()

Create location-based header from string

public static fromString(string $headerLine) : static
Parameters
$headerLine : string
Tags
throws
InvalidArgumentException
Return values
static

getFieldName()

Return header name

public getFieldName() : string
Return values
string

getFieldValue()

Get header value as URI string

public getFieldValue() : string
Return values
string

getUri()

Return the URI for this header

public getUri() : string
Return values
string

toString()

Output header line

public toString() : string
Return values
string

        
On this page

Search results