You are here

public function EasyRdf_ParsedUri::setAuthority in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/ParsedUri.php \EasyRdf_ParsedUri::setAuthority()

Sets the authority of the URI (e.g. www.example.com:8080)

Parameters

string $authority The new value for the authority component of the URI:

File

vendor/easyrdf/easyrdf/lib/EasyRdf/ParsedUri.php, line 140

Class

EasyRdf_ParsedUri
A RFC3986 compliant URI parser

Code

public function setAuthority($authority) {
  $this->authority = $authority;
}