Method Standards.URI()->create()
- Method
create
Standards.URI Standards.URI(URIuri)
Standards.URI Standards.URI(URIuri,URIbase_uri)
Standards.URI Standards.URI(URIuri,stringbase_uri)
Standards.URI Standards.URI(stringuri)
Standards.URI Standards.URI(stringuri,URIbase_uri)
Standards.URI Standards.URI(stringuri,stringbase_uri)- Parameter
base_uri When supplied, will root the URI a the given location. This is needed to correctly verify relative URIs, but may be left out otherwise. If left out, and uri is a relative URI, an error is thrown.
- Parameter
uri When uri is another URI object, the created URI will inherit all properties of the supplied uri except, of course, for its base_uri.
- Throws
An exception is thrown if the
uriis a relative URI or only a fragment, and missing abase_uri.