HumHub Documentation (unofficial)

Referer extends AbstractLocation
in package

Content-Location Header

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

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 according to RFC Referer URI should not have fragment
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

setUri()

Set the URI/URL for this header according to RFC Referer URI should not have fragment

public setUri(string|Http $uri) : $this
Parameters
$uri : string|Http
Return values
$this

toString()

Output header line

public toString() : string
Return values
string

        
On this page

Search results