From c074b2ae94b7f9e523f4b86b9d3ceabd8e09e181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Thu, 26 Feb 2026 21:44:57 +0100 Subject: [PATCH] Document ext/uri --- appendices/extensions.xml | 2 + reference/uri/book.xml | 52 ++++++++ reference/uri/rfc3986/uri/construct.xml | 81 +++++++++++ reference/uri/rfc3986/uri/debuginfo.xml | 66 +++++++++ reference/uri/rfc3986/uri/equals.xml | 113 ++++++++++++++++ reference/uri/rfc3986/uri/getfragment.xml | 93 +++++++++++++ reference/uri/rfc3986/uri/gethost.xml | 94 +++++++++++++ reference/uri/rfc3986/uri/getpassword.xml | 93 +++++++++++++ reference/uri/rfc3986/uri/getpath.xml | 94 +++++++++++++ reference/uri/rfc3986/uri/getport.xml | 92 +++++++++++++ reference/uri/rfc3986/uri/getquery.xml | 93 +++++++++++++ reference/uri/rfc3986/uri/getrawfragment.xml | 93 +++++++++++++ reference/uri/rfc3986/uri/getrawhost.xml | 94 +++++++++++++ reference/uri/rfc3986/uri/getrawpassword.xml | 93 +++++++++++++ reference/uri/rfc3986/uri/getrawpath.xml | 93 +++++++++++++ reference/uri/rfc3986/uri/getrawquery.xml | 93 +++++++++++++ reference/uri/rfc3986/uri/getrawscheme.xml | 93 +++++++++++++ reference/uri/rfc3986/uri/getrawuserinfo.xml | 96 +++++++++++++ reference/uri/rfc3986/uri/getrawusername.xml | 94 +++++++++++++ reference/uri/rfc3986/uri/getscheme.xml | 93 +++++++++++++ reference/uri/rfc3986/uri/getuserinfo.xml | 98 ++++++++++++++ reference/uri/rfc3986/uri/getusername.xml | 95 +++++++++++++ reference/uri/rfc3986/uri/parse.xml | 117 ++++++++++++++++ reference/uri/rfc3986/uri/resolve.xml | 104 +++++++++++++++ reference/uri/rfc3986/uri/serialize.xml | 68 ++++++++++ reference/uri/rfc3986/uri/torawstring.xml | 93 +++++++++++++ reference/uri/rfc3986/uri/tostring.xml | 93 +++++++++++++ reference/uri/rfc3986/uri/unserialize.xml | 80 +++++++++++ reference/uri/rfc3986/uri/withfragment.xml | 105 +++++++++++++++ reference/uri/rfc3986/uri/withhost.xml | 106 +++++++++++++++ reference/uri/rfc3986/uri/withpath.xml | 106 +++++++++++++++ reference/uri/rfc3986/uri/withport.xml | 105 +++++++++++++++ reference/uri/rfc3986/uri/withquery.xml | 106 +++++++++++++++ reference/uri/rfc3986/uri/withscheme.xml | 106 +++++++++++++++ reference/uri/rfc3986/uri/withuserinfo.xml | 111 +++++++++++++++ reference/uri/uri.invaliduriexception.xml | 61 +++++++++ reference/uri/uri.rfc3986.uri.xml | 53 ++++++++ reference/uri/uri.urierror.xml | 61 +++++++++ reference/uri/uri.uriexception.xml | 61 +++++++++ .../uri/uri.whatwg.invalidurlexception.xml | 71 ++++++++++ reference/uri/uri.whatwg.url.xml | 53 ++++++++ .../uri/uri.whatwg.urlvalidationerror.xml | 67 ++++++++++ reference/uri/versions.xml | 107 +++++++++++++++ .../whatwg/invalidurlexception/construct.xml | 81 +++++++++++ reference/uri/whatwg/url/construct.xml | 90 +++++++++++++ reference/uri/whatwg/url/debuginfo.xml | 69 ++++++++++ reference/uri/whatwg/url/equals.xml | 113 ++++++++++++++++ reference/uri/whatwg/url/getasciihost.xml | 94 +++++++++++++ reference/uri/whatwg/url/getfragment.xml | 94 +++++++++++++ reference/uri/whatwg/url/getpassword.xml | 94 +++++++++++++ reference/uri/whatwg/url/getpath.xml | 94 +++++++++++++ reference/uri/whatwg/url/getport.xml | 93 +++++++++++++ reference/uri/whatwg/url/getquery.xml | 94 +++++++++++++ reference/uri/whatwg/url/getscheme.xml | 94 +++++++++++++ reference/uri/whatwg/url/getunicodehost.xml | 95 +++++++++++++ reference/uri/whatwg/url/getusername.xml | 94 +++++++++++++ reference/uri/whatwg/url/parse.xml | 126 ++++++++++++++++++ reference/uri/whatwg/url/resolve.xml | 113 ++++++++++++++++ reference/uri/whatwg/url/serialize.xml | 68 ++++++++++ reference/uri/whatwg/url/toasciistring.xml | 94 +++++++++++++ reference/uri/whatwg/url/tounicodestring.xml | 94 +++++++++++++ reference/uri/whatwg/url/unserialize.xml | 79 +++++++++++ reference/uri/whatwg/url/withfragment.xml | 105 +++++++++++++++ reference/uri/whatwg/url/withhost.xml | 106 +++++++++++++++ reference/uri/whatwg/url/withpassword.xml | 105 +++++++++++++++ reference/uri/whatwg/url/withpath.xml | 105 +++++++++++++++ reference/uri/whatwg/url/withport.xml | 105 +++++++++++++++ reference/uri/whatwg/url/withquery.xml | 105 +++++++++++++++ reference/uri/whatwg/url/withscheme.xml | 105 +++++++++++++++ reference/uri/whatwg/url/withusername.xml | 106 +++++++++++++++ .../whatwg/urlvalidationerror/construct.xml | 72 ++++++++++ 71 files changed, 6429 insertions(+) create mode 100644 reference/uri/book.xml create mode 100644 reference/uri/rfc3986/uri/construct.xml create mode 100644 reference/uri/rfc3986/uri/debuginfo.xml create mode 100644 reference/uri/rfc3986/uri/equals.xml create mode 100644 reference/uri/rfc3986/uri/getfragment.xml create mode 100644 reference/uri/rfc3986/uri/gethost.xml create mode 100644 reference/uri/rfc3986/uri/getpassword.xml create mode 100644 reference/uri/rfc3986/uri/getpath.xml create mode 100644 reference/uri/rfc3986/uri/getport.xml create mode 100644 reference/uri/rfc3986/uri/getquery.xml create mode 100644 reference/uri/rfc3986/uri/getrawfragment.xml create mode 100644 reference/uri/rfc3986/uri/getrawhost.xml create mode 100644 reference/uri/rfc3986/uri/getrawpassword.xml create mode 100644 reference/uri/rfc3986/uri/getrawpath.xml create mode 100644 reference/uri/rfc3986/uri/getrawquery.xml create mode 100644 reference/uri/rfc3986/uri/getrawscheme.xml create mode 100644 reference/uri/rfc3986/uri/getrawuserinfo.xml create mode 100644 reference/uri/rfc3986/uri/getrawusername.xml create mode 100644 reference/uri/rfc3986/uri/getscheme.xml create mode 100644 reference/uri/rfc3986/uri/getuserinfo.xml create mode 100644 reference/uri/rfc3986/uri/getusername.xml create mode 100644 reference/uri/rfc3986/uri/parse.xml create mode 100644 reference/uri/rfc3986/uri/resolve.xml create mode 100644 reference/uri/rfc3986/uri/serialize.xml create mode 100644 reference/uri/rfc3986/uri/torawstring.xml create mode 100644 reference/uri/rfc3986/uri/tostring.xml create mode 100644 reference/uri/rfc3986/uri/unserialize.xml create mode 100644 reference/uri/rfc3986/uri/withfragment.xml create mode 100644 reference/uri/rfc3986/uri/withhost.xml create mode 100644 reference/uri/rfc3986/uri/withpath.xml create mode 100644 reference/uri/rfc3986/uri/withport.xml create mode 100644 reference/uri/rfc3986/uri/withquery.xml create mode 100644 reference/uri/rfc3986/uri/withscheme.xml create mode 100644 reference/uri/rfc3986/uri/withuserinfo.xml create mode 100644 reference/uri/uri.invaliduriexception.xml create mode 100644 reference/uri/uri.rfc3986.uri.xml create mode 100644 reference/uri/uri.urierror.xml create mode 100644 reference/uri/uri.uriexception.xml create mode 100644 reference/uri/uri.whatwg.invalidurlexception.xml create mode 100644 reference/uri/uri.whatwg.url.xml create mode 100644 reference/uri/uri.whatwg.urlvalidationerror.xml create mode 100644 reference/uri/versions.xml create mode 100644 reference/uri/whatwg/invalidurlexception/construct.xml create mode 100644 reference/uri/whatwg/url/construct.xml create mode 100644 reference/uri/whatwg/url/debuginfo.xml create mode 100644 reference/uri/whatwg/url/equals.xml create mode 100644 reference/uri/whatwg/url/getasciihost.xml create mode 100644 reference/uri/whatwg/url/getfragment.xml create mode 100644 reference/uri/whatwg/url/getpassword.xml create mode 100644 reference/uri/whatwg/url/getpath.xml create mode 100644 reference/uri/whatwg/url/getport.xml create mode 100644 reference/uri/whatwg/url/getquery.xml create mode 100644 reference/uri/whatwg/url/getscheme.xml create mode 100644 reference/uri/whatwg/url/getunicodehost.xml create mode 100644 reference/uri/whatwg/url/getusername.xml create mode 100644 reference/uri/whatwg/url/parse.xml create mode 100644 reference/uri/whatwg/url/resolve.xml create mode 100644 reference/uri/whatwg/url/serialize.xml create mode 100644 reference/uri/whatwg/url/toasciistring.xml create mode 100644 reference/uri/whatwg/url/tounicodestring.xml create mode 100644 reference/uri/whatwg/url/unserialize.xml create mode 100644 reference/uri/whatwg/url/withfragment.xml create mode 100644 reference/uri/whatwg/url/withhost.xml create mode 100644 reference/uri/whatwg/url/withpassword.xml create mode 100644 reference/uri/whatwg/url/withpath.xml create mode 100644 reference/uri/whatwg/url/withport.xml create mode 100644 reference/uri/whatwg/url/withquery.xml create mode 100644 reference/uri/whatwg/url/withscheme.xml create mode 100644 reference/uri/whatwg/url/withusername.xml create mode 100644 reference/uri/whatwg/urlvalidationerror/construct.xml diff --git a/appendices/extensions.xml b/appendices/extensions.xml index 3434c95e8c14..28202c591c88 100644 --- a/appendices/extensions.xml +++ b/appendices/extensions.xml @@ -163,6 +163,7 @@ + @@ -228,6 +229,7 @@ + diff --git a/reference/uri/book.xml b/reference/uri/book.xml new file mode 100644 index 000000000000..39425695e8df --- /dev/null +++ b/reference/uri/book.xml @@ -0,0 +1,52 @@ + + + + URI + URI + + + &reftitle.intro; + + This chapter describes the functions that allow you to work with + Uniform Resource Identifiers (URIs). A URI is a string of characters + used to identify a resource. URIs are used in web technologies to + identify resources on the Internet. + + + URI implements RFC 3986, Uniform Resource Identifier (URI): Generic Syntax, + which can be found at http://www.ietf.org/rfc/rfc3986.txt. + And WHATWG URL Standard, which can be found at + https://url.spec.whatwg.org/. + + + + &reference.uri.uri.invaliduriexception; + &reference.uri.uri.urierror; + &reference.uri.uri.uriexception; + + &reference.uri.uri.rfc3986.uri; + + &reference.uri.uri.whatwg.invalidurlexception; + &reference.uri.uri.whatwg.url; + &reference.uri.uri.whatwg.urlvalidationerror; + + diff --git a/reference/uri/rfc3986/uri/construct.xml b/reference/uri/rfc3986/uri/construct.xml new file mode 100644 index 000000000000..31236612f36b --- /dev/null +++ b/reference/uri/rfc3986/uri/construct.xml @@ -0,0 +1,81 @@ + + + + Uri\Rfc3986\Uri::__construct + Description + + + + &reftitle.description; + + public Uri\Rfc3986\Uri::__construct + stringuri + Uri\Rfc3986\UrinullbaseUrl&null; + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + uri + + + URI to parse. + + + + + baseUrl + + + Description. + + + + + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::parse + Uri\WhatWg\Url::__construct + + + + + diff --git a/reference/uri/rfc3986/uri/debuginfo.xml b/reference/uri/rfc3986/uri/debuginfo.xml new file mode 100644 index 000000000000..4657d65356da --- /dev/null +++ b/reference/uri/rfc3986/uri/debuginfo.xml @@ -0,0 +1,66 @@ + + + + Uri\Rfc3986\Uri::__debugInfo + Description + + + + &reftitle.description; + + public arrayUri\Rfc3986\Uri::__debugInfo + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::__debugInfo + + + + + diff --git a/reference/uri/rfc3986/uri/equals.xml b/reference/uri/rfc3986/uri/equals.xml new file mode 100644 index 000000000000..6d95887f4b2d --- /dev/null +++ b/reference/uri/rfc3986/uri/equals.xml @@ -0,0 +1,113 @@ + + + + Uri\Rfc3986\Uri::equals + Description + + + + &reftitle.description; + + public boolUri\Rfc3986\Uri::equals + Uri\Rfc3986\Uriuri + Uri\UriComparisonModecomparisonModeUri\UriComparisonMode::ExcludeFragment + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + uri + + + URI to compare the current URI against. + + + + + comparisonMode + + + Description. + + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::equals</methodname> example + + Description. + + +equals($uri2)); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::equals + + + + + diff --git a/reference/uri/rfc3986/uri/getfragment.xml b/reference/uri/rfc3986/uri/getfragment.xml new file mode 100644 index 000000000000..2ce008fb9a69 --- /dev/null +++ b/reference/uri/rfc3986/uri/getfragment.xml @@ -0,0 +1,93 @@ + + + + Uri\Rfc3986\Uri::getFragment + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getFragment + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getFragment</methodname> example + + Description. + + +getFragment(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawFragment + Uri\Rfc3986\Uri::withFragment + Uri\WhatWg\Url::getFragment + + + + + diff --git a/reference/uri/rfc3986/uri/gethost.xml b/reference/uri/rfc3986/uri/gethost.xml new file mode 100644 index 000000000000..3e815a98036a --- /dev/null +++ b/reference/uri/rfc3986/uri/gethost.xml @@ -0,0 +1,94 @@ + + + + Uri\Rfc3986\Uri::getHost + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getHost + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getHost</methodname> example + + Description. + + +getHost(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawHost + Uri\Rfc3986\Uri::withHost + Uri\WhatWg\Url::getAsciiHost + Uri\WhatWg\Url::getUnicodeHost + + + + + diff --git a/reference/uri/rfc3986/uri/getpassword.xml b/reference/uri/rfc3986/uri/getpassword.xml new file mode 100644 index 000000000000..2494cab34ce4 --- /dev/null +++ b/reference/uri/rfc3986/uri/getpassword.xml @@ -0,0 +1,93 @@ + + + + Uri\Rfc3986\Uri::getPassword + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getPassword + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getPassword</methodname> example + + Description. + + +getPassword(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawPassword + Uri\Rfc3986\Uri::withPassword + Uri\WhatWg\Url::getPassword + + + + + diff --git a/reference/uri/rfc3986/uri/getpath.xml b/reference/uri/rfc3986/uri/getpath.xml new file mode 100644 index 000000000000..730cf518178e --- /dev/null +++ b/reference/uri/rfc3986/uri/getpath.xml @@ -0,0 +1,94 @@ + + + + Uri\Rfc3986\Uri::getPath + Description + + + + &reftitle.description; + + public stringUri\Rfc3986\Uri::getPath + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getPath</methodname> example + + Description. + + +getPath(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawPath + Uri\Rfc3986\Uri::withPath + Uri\WhatWg\Url::getPath + + + + + diff --git a/reference/uri/rfc3986/uri/getport.xml b/reference/uri/rfc3986/uri/getport.xml new file mode 100644 index 000000000000..7492089c74bf --- /dev/null +++ b/reference/uri/rfc3986/uri/getport.xml @@ -0,0 +1,92 @@ + + + + Uri\Rfc3986\Uri::getPort + Description + + + + &reftitle.description; + + public intnullUri\Rfc3986\Uri::getPort + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getPort</methodname> example + + Description. + + +getPort(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::withPort + Uri\WhatWg\Url::getPort + + + + + diff --git a/reference/uri/rfc3986/uri/getquery.xml b/reference/uri/rfc3986/uri/getquery.xml new file mode 100644 index 000000000000..847c31232f9a --- /dev/null +++ b/reference/uri/rfc3986/uri/getquery.xml @@ -0,0 +1,93 @@ + + + + Uri\Rfc3986\Uri::getQuery + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getQuery + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getQuery</methodname> example + + Description. + + +getQuery(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawQuery + Uri\Rfc3986\Uri::withQuery + Uri\WhatWg\Url::getQuery + + + + + diff --git a/reference/uri/rfc3986/uri/getrawfragment.xml b/reference/uri/rfc3986/uri/getrawfragment.xml new file mode 100644 index 000000000000..1acba1d7f401 --- /dev/null +++ b/reference/uri/rfc3986/uri/getrawfragment.xml @@ -0,0 +1,93 @@ + + + + Uri\Rfc3986\Uri::getRawFragment + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawFragment + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getRawFragment</methodname> example + + Description. + + +getRawFragment(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getFragment + Uri\Rfc3986\Uri::withFragment + Uri\WhatWg\Url::getFragment + + + + + diff --git a/reference/uri/rfc3986/uri/getrawhost.xml b/reference/uri/rfc3986/uri/getrawhost.xml new file mode 100644 index 000000000000..6408058250fe --- /dev/null +++ b/reference/uri/rfc3986/uri/getrawhost.xml @@ -0,0 +1,94 @@ + + + + Uri\Rfc3986\Uri::getRawHost + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawHost + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getRawHost</methodname> example + + Description. + + +getRawHost(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getHost + Uri\Rfc3986\Uri::withHost + Uri\WhatWg\Url::getAsciiHost + Uri\WhatWg\Url::getUnicodeHost + + + + + diff --git a/reference/uri/rfc3986/uri/getrawpassword.xml b/reference/uri/rfc3986/uri/getrawpassword.xml new file mode 100644 index 000000000000..093e0199cdc7 --- /dev/null +++ b/reference/uri/rfc3986/uri/getrawpassword.xml @@ -0,0 +1,93 @@ + + + + Uri\Rfc3986\Uri::getRawPassword + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawPassword + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getRawPassword</methodname> example + + Description. + + +getRawPassword(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getPassword + Uri\Rfc3986\Uri::withUserInfo + Uri\WhatWg\Url::getPassword + + + + + diff --git a/reference/uri/rfc3986/uri/getrawpath.xml b/reference/uri/rfc3986/uri/getrawpath.xml new file mode 100644 index 000000000000..8f68676d98b4 --- /dev/null +++ b/reference/uri/rfc3986/uri/getrawpath.xml @@ -0,0 +1,93 @@ + + + + Uri\Rfc3986\Uri::getRawPath + Description + + + + &reftitle.description; + + public stringUri\Rfc3986\Uri::getRawPath + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getRawPath</methodname> example + + Description. + + +getRawPath(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getPath + Uri\Rfc3986\Uri::withPath + Uri\WhatWg\Url::getPath + + + + + diff --git a/reference/uri/rfc3986/uri/getrawquery.xml b/reference/uri/rfc3986/uri/getrawquery.xml new file mode 100644 index 000000000000..72e148fb7f1c --- /dev/null +++ b/reference/uri/rfc3986/uri/getrawquery.xml @@ -0,0 +1,93 @@ + + + + Uri\Rfc3986\Uri::getRawQuery + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawQuery + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getRawQuery</methodname> example + + Description. + + +getRawQuery(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getQuery + Uri\Rfc3986\Uri::withQuery + Uri\WhatWg\Url::getQuery + + + + + diff --git a/reference/uri/rfc3986/uri/getrawscheme.xml b/reference/uri/rfc3986/uri/getrawscheme.xml new file mode 100644 index 000000000000..0d951a85d851 --- /dev/null +++ b/reference/uri/rfc3986/uri/getrawscheme.xml @@ -0,0 +1,93 @@ + + + + Uri\Rfc3986\Uri::getRawScheme + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawScheme + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getRawScheme</methodname> example + + Description. + + +getRawScheme(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getScheme + Uri\Rfc3986\Uri::withScheme + Uri\WhatWg\Url::getScheme + + + + + diff --git a/reference/uri/rfc3986/uri/getrawuserinfo.xml b/reference/uri/rfc3986/uri/getrawuserinfo.xml new file mode 100644 index 000000000000..382083f16f14 --- /dev/null +++ b/reference/uri/rfc3986/uri/getrawuserinfo.xml @@ -0,0 +1,96 @@ + + + + Uri\Rfc3986\Uri::getRawUserInfo + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawUserInfo + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getRawUserInfo</methodname> example + + Description. + + +getRawUserInfo(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getUserInfo + Uri\Rfc3986\Uri::getUsername + Uri\Rfc3986\Uri::getPassword + Uri\Rfc3986\Uri::withUserInfo + Uri\WhatWg\Url::getUsername + Uri\WhatWg\Url::getPassword + + + + + diff --git a/reference/uri/rfc3986/uri/getrawusername.xml b/reference/uri/rfc3986/uri/getrawusername.xml new file mode 100644 index 000000000000..7bfbfd0ceafb --- /dev/null +++ b/reference/uri/rfc3986/uri/getrawusername.xml @@ -0,0 +1,94 @@ + + + + Uri\Rfc3986\Uri::getRawUsername + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawUsername + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getRawUsername</methodname> example + + Description. + + +getRawUsername(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawUserInfo + Uri\Rfc3986\Uri::getUserInfo + Uri\Rfc3986\Uri::withUserInfo + Uri\WhatWg\Url::getUsername + + + + + diff --git a/reference/uri/rfc3986/uri/getscheme.xml b/reference/uri/rfc3986/uri/getscheme.xml new file mode 100644 index 000000000000..66dd97a530e0 --- /dev/null +++ b/reference/uri/rfc3986/uri/getscheme.xml @@ -0,0 +1,93 @@ + + + + Uri\Rfc3986\Uri::getScheme + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getScheme + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getScheme</methodname> example + + Description. + + +getScheme(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawScheme + Uri\Rfc3986\Uri::withScheme + Uri\WhatWg\Url::getScheme + + + + + diff --git a/reference/uri/rfc3986/uri/getuserinfo.xml b/reference/uri/rfc3986/uri/getuserinfo.xml new file mode 100644 index 000000000000..44576f604e27 --- /dev/null +++ b/reference/uri/rfc3986/uri/getuserinfo.xml @@ -0,0 +1,98 @@ + + + + Uri\Rfc3986\Uri::getUserInfo + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getUserInfo + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getUserInfo</methodname> example + + Description. + + +getUserInfo(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawUserInfo + Uri\Rfc3986\Uri::getRawUsername + Uri\Rfc3986\Uri::getRawPassword + Uri\Rfc3986\Uri::getUsername + Uri\Rfc3986\Uri::getPassword + Uri\Rfc3986\Uri::withUserInfo + Uri\WhatWg\Url::getUsername + Uri\WhatWg\Url::getPassword + + + + + diff --git a/reference/uri/rfc3986/uri/getusername.xml b/reference/uri/rfc3986/uri/getusername.xml new file mode 100644 index 000000000000..028f98a99365 --- /dev/null +++ b/reference/uri/rfc3986/uri/getusername.xml @@ -0,0 +1,95 @@ + + + + Uri\Rfc3986\Uri::getUsername + Description + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getUsername + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::getUsername</methodname> example + + Description. + + +getUsername(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawUserInfo + Uri\Rfc3986\Uri::getRawUsername + Uri\Rfc3986\Uri::getUserInfo + Uri\Rfc3986\Uri::withUserInfo + Uri\WhatWg\Url::getUsername + + + + + diff --git a/reference/uri/rfc3986/uri/parse.xml b/reference/uri/rfc3986/uri/parse.xml new file mode 100644 index 000000000000..cb83200fceac --- /dev/null +++ b/reference/uri/rfc3986/uri/parse.xml @@ -0,0 +1,117 @@ + + + + Uri\Rfc3986\Uri::parse + Description + + + + &reftitle.description; + + public static staticnullUri\Rfc3986\Uri::parse + stringuri + Uri\Rfc3986\UrinullbaseUrl&null; + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + uri + + + URI to parse. + + + + + baseUrl + + + Description. + + + + + + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::parse</methodname> example + + Description. + + +toString(); +} +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::__construct + Uri\WhatWg\Url::parse + + + + + diff --git a/reference/uri/rfc3986/uri/resolve.xml b/reference/uri/rfc3986/uri/resolve.xml new file mode 100644 index 000000000000..316740b590ed --- /dev/null +++ b/reference/uri/rfc3986/uri/resolve.xml @@ -0,0 +1,104 @@ + + + + Uri\Rfc3986\Uri::resolve + Description + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::resolve + stringuri + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + uri + + + Description. + + + + + + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::resolve</methodname> example + + Description. + + +resolve("/foo"); + +echo $uri->toString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::resolve + + + + + diff --git a/reference/uri/rfc3986/uri/serialize.xml b/reference/uri/rfc3986/uri/serialize.xml new file mode 100644 index 000000000000..8dae8c41832b --- /dev/null +++ b/reference/uri/rfc3986/uri/serialize.xml @@ -0,0 +1,68 @@ + + + + Uri\Rfc3986\Uri::__serialize + Description + + + + &reftitle.description; + + public arrayUri\Rfc3986\Uri::__serialize + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::__unserialize + Uri\WhatWg\Url::__serialize + Uri\WhatWg\Url::__unserialize + + + + + diff --git a/reference/uri/rfc3986/uri/torawstring.xml b/reference/uri/rfc3986/uri/torawstring.xml new file mode 100644 index 000000000000..30d186164ea3 --- /dev/null +++ b/reference/uri/rfc3986/uri/torawstring.xml @@ -0,0 +1,93 @@ + + + + Uri\Rfc3986\Uri::toRawString + Description + + + + &reftitle.description; + + public stringUri\Rfc3986\Uri::toRawString + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::toRawString</methodname> example + + Description. + + +toString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::toString + Uri\WhatWg\Url::toAsciiString + Uri\WhatWg\Url::toUnicodeString + + + + + diff --git a/reference/uri/rfc3986/uri/tostring.xml b/reference/uri/rfc3986/uri/tostring.xml new file mode 100644 index 000000000000..bd98ef611af2 --- /dev/null +++ b/reference/uri/rfc3986/uri/tostring.xml @@ -0,0 +1,93 @@ + + + + Uri\Rfc3986\Uri::toString + Description + + + + &reftitle.description; + + public stringUri\Rfc3986\Uri::toString + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::toString</methodname> example + + Description. + + +toString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::toRawString + Uri\WhatWg\Url::toAsciiString + Uri\WhatWg\Url::toUnicodeString + + + + + diff --git a/reference/uri/rfc3986/uri/unserialize.xml b/reference/uri/rfc3986/uri/unserialize.xml new file mode 100644 index 000000000000..2710d4443fdb --- /dev/null +++ b/reference/uri/rfc3986/uri/unserialize.xml @@ -0,0 +1,80 @@ + + + + Uri\Rfc3986\Uri::__unserialize + Description + + + + &reftitle.description; + + public voidUri\Rfc3986\Uri::__unserialize + arraydata + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + data + + + Description. + + + + + + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::__serialize + Uri\WhatWg\Url::__serialize + Uri\WhatWg\Url::__unserialize + + + + + diff --git a/reference/uri/rfc3986/uri/withfragment.xml b/reference/uri/rfc3986/uri/withfragment.xml new file mode 100644 index 000000000000..75f0becff18f --- /dev/null +++ b/reference/uri/rfc3986/uri/withfragment.xml @@ -0,0 +1,105 @@ + + + + Uri\Rfc3986\Uri::withFragment + Description + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withFragment + stringnullfragment + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + fragment + + + New fragment component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\Rfc3986\Uri instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::withFragment</methodname> example + + Description. + + +withFragment("bar"); + +echo $uri->getFragment(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getFragment + Uri\Rfc3986\Uri::getRawFragment + Uri\WhatWg\Url::withFragment + + + + + diff --git a/reference/uri/rfc3986/uri/withhost.xml b/reference/uri/rfc3986/uri/withhost.xml new file mode 100644 index 000000000000..3f1418b467a1 --- /dev/null +++ b/reference/uri/rfc3986/uri/withhost.xml @@ -0,0 +1,106 @@ + + + + Uri\Rfc3986\Uri::withHost + Description + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withHost + stringnullhost + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + host + + + New host component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\Rfc3986\Uri instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::withHost</methodname> example + + Description. + + +withHost("example.net"); + +echo $uri->getHost(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getHost + Uri\Rfc3986\Uri::getRawHost + Uri\WhatWg\Url::withHost + + + + + diff --git a/reference/uri/rfc3986/uri/withpath.xml b/reference/uri/rfc3986/uri/withpath.xml new file mode 100644 index 000000000000..a295101c07b9 --- /dev/null +++ b/reference/uri/rfc3986/uri/withpath.xml @@ -0,0 +1,106 @@ + + + + Uri\Rfc3986\Uri::withPath + Description + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withPath + stringpath + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + path + + + New path component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\Rfc3986\Uri instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::withPath</methodname> example + + Description. + + +withPath("/baz"); + +echo $uri->getPath(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getPath + Uri\Rfc3986\Uri::getRawPath + Uri\WhatWg\Url::withPath + + + + + diff --git a/reference/uri/rfc3986/uri/withport.xml b/reference/uri/rfc3986/uri/withport.xml new file mode 100644 index 000000000000..326e6201ac41 --- /dev/null +++ b/reference/uri/rfc3986/uri/withport.xml @@ -0,0 +1,105 @@ + + + + Uri\Rfc3986\Uri::withPort + Description + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withPort + intnullport + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + port + + + New port component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\Rfc3986\Uri instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::withPort</methodname> example + + Description. + + +withPort(443); + +echo $uri->getPort(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getPort + Uri\WhatWg\Url::withPort + + + + + diff --git a/reference/uri/rfc3986/uri/withquery.xml b/reference/uri/rfc3986/uri/withquery.xml new file mode 100644 index 000000000000..f592681fcb23 --- /dev/null +++ b/reference/uri/rfc3986/uri/withquery.xml @@ -0,0 +1,106 @@ + + + + Uri\Rfc3986\Uri::withQuery + Description + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withQuery + stringnullquery + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + query + + + New query component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\Rfc3986\Uri instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::withQuery</methodname> example + + Description. + + +withQuery("foo=baz"); + +echo $uri->getQuery(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawQuery + Uri\Rfc3986\Uri::getQuery + Uri\WhatWg\Url::withQuery + + + + + diff --git a/reference/uri/rfc3986/uri/withscheme.xml b/reference/uri/rfc3986/uri/withscheme.xml new file mode 100644 index 000000000000..c2ab929cbe11 --- /dev/null +++ b/reference/uri/rfc3986/uri/withscheme.xml @@ -0,0 +1,106 @@ + + + + Uri\Rfc3986\Uri::withScheme + Description + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withScheme + stringnullscheme + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + scheme + + + New scheme component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\Rfc3986\Uri instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::withScheme</methodname> example + + Description. + + +withScheme("http"); + +echo $uri->getScheme(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawScheme + Uri\Rfc3986\Uri::getScheme + Uri\WhatWg\Url::withScheme + + + + + diff --git a/reference/uri/rfc3986/uri/withuserinfo.xml b/reference/uri/rfc3986/uri/withuserinfo.xml new file mode 100644 index 000000000000..64cdc4b7b272 --- /dev/null +++ b/reference/uri/rfc3986/uri/withuserinfo.xml @@ -0,0 +1,111 @@ + + + + Uri\Rfc3986\Uri::withUserInfo + Description + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withUserInfo + #[\SensitiveParameter]stringnulluserinfo + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + userinfo + + + New userinfo component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\Rfc3986\Uri instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\Rfc3986\Uri::withUserInfo</methodname> example + + Description. + + +withUserInfo("userinfo"); + +echo $uri->getUserInfo(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawUserInfo + Uri\Rfc3986\Uri::getRawUsername + Uri\Rfc3986\Uri::getRawPassword + Uri\Rfc3986\Uri::getUserInfo + Uri\Rfc3986\Uri::getUsername + Uri\Rfc3986\Uri::getPassword + Uri\WhatWg\Url::withUsername + Uri\WhatWg\Url::withPassword + + + + + diff --git a/reference/uri/uri.invaliduriexception.xml b/reference/uri/uri.invaliduriexception.xml new file mode 100644 index 000000000000..1b6d326ba8a7 --- /dev/null +++ b/reference/uri/uri.invaliduriexception.xml @@ -0,0 +1,61 @@ + + + The Uri\InvalidUriException class + Uri\InvalidUriException + + +
+ &reftitle.intro; + + +
+ +
+ &reftitle.classsynopsis; + + + + Uri\InvalidUriException + + + + extends + Uri\UriException + + + &InheritedProperties; + + + + + &InheritedMethods; + + + + + + + +
+
+
+ diff --git a/reference/uri/uri.rfc3986.uri.xml b/reference/uri/uri.rfc3986.uri.xml new file mode 100644 index 000000000000..bbe59fe47a1c --- /dev/null +++ b/reference/uri/uri.rfc3986.uri.xml @@ -0,0 +1,53 @@ + + + The Uri\Rfc3986\Uri class + Uri\Rfc3986\Uri + + +
+ &reftitle.intro; + + +
+ +
+ &reftitle.classsynopsis; + + + + final + readonly + Uri\Rfc3986\Uri + + + &Methods; + + + + + + + +
+
+
+ diff --git a/reference/uri/uri.urierror.xml b/reference/uri/uri.urierror.xml new file mode 100644 index 000000000000..05eba02f3460 --- /dev/null +++ b/reference/uri/uri.urierror.xml @@ -0,0 +1,61 @@ + + + The Uri\UriError class + Uri\UriError + + +
+ &reftitle.intro; + + +
+ +
+ &reftitle.classsynopsis; + + + + Uri\UriError + + + + extends + Error + + + &InheritedProperties; + + + + + &InheritedMethods; + + + + + + + +
+
+
+ diff --git a/reference/uri/uri.uriexception.xml b/reference/uri/uri.uriexception.xml new file mode 100644 index 000000000000..0ead27d60c81 --- /dev/null +++ b/reference/uri/uri.uriexception.xml @@ -0,0 +1,61 @@ + + + The Uri\UriException class + Uri\UriException + + +
+ &reftitle.intro; + + +
+ +
+ &reftitle.classsynopsis; + + + + Uri\UriException + + + + extends + Exception + + + &InheritedProperties; + + + + + &InheritedMethods; + + + + + + + +
+
+
+ diff --git a/reference/uri/uri.whatwg.invalidurlexception.xml b/reference/uri/uri.whatwg.invalidurlexception.xml new file mode 100644 index 000000000000..f1bd5035cbb2 --- /dev/null +++ b/reference/uri/uri.whatwg.invalidurlexception.xml @@ -0,0 +1,71 @@ + + + The Uri\WhatWg\InvalidUrlException class + Uri\WhatWg\InvalidUrlException + + +
+ &reftitle.intro; + + +
+ +
+ &reftitle.classsynopsis; + + + + Uri\WhatWg\InvalidUrlException + + + + extends + Uri\InvalidUriException + + + &Properties; + + public + readonly + array + errors + + + &InheritedProperties; + + + + + &Methods; + + + + + &InheritedMethods; + + + + +
+
+
+ diff --git a/reference/uri/uri.whatwg.url.xml b/reference/uri/uri.whatwg.url.xml new file mode 100644 index 000000000000..58c58d1bb7b8 --- /dev/null +++ b/reference/uri/uri.whatwg.url.xml @@ -0,0 +1,53 @@ + + + The Uri\WhatWg\Url class + Uri\WhatWg\Url + + +
+ &reftitle.intro; + + +
+ +
+ &reftitle.classsynopsis; + + + + final + readonly + Uri\WhatWg\Url + + + &Methods; + + + + + + + +
+
+
+ diff --git a/reference/uri/uri.whatwg.urlvalidationerror.xml b/reference/uri/uri.whatwg.urlvalidationerror.xml new file mode 100644 index 000000000000..593539879a86 --- /dev/null +++ b/reference/uri/uri.whatwg.urlvalidationerror.xml @@ -0,0 +1,67 @@ + + + The Uri\WhatWg\UrlValidationError class + Uri\WhatWg\UrlValidationError + + +
+ &reftitle.intro; + + +
+ +
+ &reftitle.classsynopsis; + + + + final + readonly + Uri\WhatWg\UrlValidationError + + + &Properties; + + public + string + context + + + public + Uri\WhatWg\UrlValidationErrorType + type + + + public + bool + failure + + + &Methods; + + + + +
+
+
+ diff --git a/reference/uri/versions.xml b/reference/uri/versions.xml new file mode 100644 index 000000000000..445315188a7f --- /dev/null +++ b/reference/uri/versions.xml @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/reference/uri/whatwg/invalidurlexception/construct.xml b/reference/uri/whatwg/invalidurlexception/construct.xml new file mode 100644 index 000000000000..637fa6eb9911 --- /dev/null +++ b/reference/uri/whatwg/invalidurlexception/construct.xml @@ -0,0 +1,81 @@ + + + + Uri\WhatWg\InvalidUrlException::__construct + Description + + + + &reftitle.description; + + public Uri\WhatWg\InvalidUrlException::__construct + stringmessage"" + arrayerrors[] + intcode0 + Throwablenullprevious&null; + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + message + + + Description. + + + + + errors + + + Description. + + + + + code + + + Description. + + + + + previous + + + Description. + + + + + + + diff --git a/reference/uri/whatwg/url/construct.xml b/reference/uri/whatwg/url/construct.xml new file mode 100644 index 000000000000..8c859a443faf --- /dev/null +++ b/reference/uri/whatwg/url/construct.xml @@ -0,0 +1,90 @@ + + + + Uri\WhatWg\Url::__construct + Description + + + + &reftitle.description; + + public Uri\WhatWg\Url::__construct + stringuri + Uri\WhatWg\UrlnullbaseUrl&null; + arraysoftErrors&null; + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + uri + + + URI to parse. + + + + + baseUrl + + + Description. + + + + + softErrors + + + Description. + + + + + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::__construct + Uri\WhatWg\Url::parse + + + + + diff --git a/reference/uri/whatwg/url/debuginfo.xml b/reference/uri/whatwg/url/debuginfo.xml new file mode 100644 index 000000000000..21ec498d703e --- /dev/null +++ b/reference/uri/whatwg/url/debuginfo.xml @@ -0,0 +1,69 @@ + + + + Uri\WhatWg\Url::__debugInfo + Description + + + + &reftitle.description; + + public arrayUri\WhatWg\Url::__debugInfo + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.seealso; + + ClassName::otherMethodName + some_function + something appendix + + + + + diff --git a/reference/uri/whatwg/url/equals.xml b/reference/uri/whatwg/url/equals.xml new file mode 100644 index 000000000000..c74ff6a992c4 --- /dev/null +++ b/reference/uri/whatwg/url/equals.xml @@ -0,0 +1,113 @@ + + + + Uri\WhatWg\Url::equals + Description + + + + &reftitle.description; + + public boolUri\WhatWg\Url::equals + Uri\WhatWg\Urlurl + Uri\UriComparisonModecomparisonModeUri\UriComparisonMode::ExcludeFragment + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + url + + + URL to compare the current URL against. + + + + + comparisonMode + + + Description. + + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::equals</methodname> example + + Description. + + +equals($url2)); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::equals + + + + + diff --git a/reference/uri/whatwg/url/getasciihost.xml b/reference/uri/whatwg/url/getasciihost.xml new file mode 100644 index 000000000000..471054f5d19d --- /dev/null +++ b/reference/uri/whatwg/url/getasciihost.xml @@ -0,0 +1,94 @@ + + + + Uri\WhatWg\Url::getAsciiHost + Description + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getAsciiHost + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::getAsciiHost</methodname> example + + Description. + + +getAsciiHost(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getHost + Uri\Rfc3986\Uri::getRawHost + Uri\WhatWg\Url::withHost + + + + + diff --git a/reference/uri/whatwg/url/getfragment.xml b/reference/uri/whatwg/url/getfragment.xml new file mode 100644 index 000000000000..d81091d1d8be --- /dev/null +++ b/reference/uri/whatwg/url/getfragment.xml @@ -0,0 +1,94 @@ + + + + Uri\WhatWg\Url::getFragment + Description + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getFragment + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::getFragment</methodname> example + + Description. + + +getFragment(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getFragment + Uri\Rfc3986\Uri::getRawFragment + Uri\WhatWg\Url::withFragment + + + + + diff --git a/reference/uri/whatwg/url/getpassword.xml b/reference/uri/whatwg/url/getpassword.xml new file mode 100644 index 000000000000..7110c8c79bb0 --- /dev/null +++ b/reference/uri/whatwg/url/getpassword.xml @@ -0,0 +1,94 @@ + + + + Uri\WhatWg\Url::getPassword + Description + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getPassword + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::getPassword</methodname> example + + Description. + + +getPassword(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getPassword + Uri\Rfc3986\Uri::getRawPassword + Uri\WhatWg\Url::withPassword + + + + + diff --git a/reference/uri/whatwg/url/getpath.xml b/reference/uri/whatwg/url/getpath.xml new file mode 100644 index 000000000000..db8e853f66c1 --- /dev/null +++ b/reference/uri/whatwg/url/getpath.xml @@ -0,0 +1,94 @@ + + + + Uri\WhatWg\Url::getPath + Description + + + + &reftitle.description; + + public stringUri\WhatWg\Url::getPath + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::getPath</methodname> example + + Description. + + +getPath(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getPath + Uri\Rfc3986\Uri::getRawPath + Uri\WhatWg\Url::withPath + + + + + diff --git a/reference/uri/whatwg/url/getport.xml b/reference/uri/whatwg/url/getport.xml new file mode 100644 index 000000000000..4a6082880225 --- /dev/null +++ b/reference/uri/whatwg/url/getport.xml @@ -0,0 +1,93 @@ + + + + Uri\WhatWg\Url::getPort + Description + + + + &reftitle.description; + + public intnullUri\WhatWg\Url::getPort + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::getPort</methodname> example + + Description. + + +getPort(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getPort + Uri\WhatWg\Url::withPort + + + + + diff --git a/reference/uri/whatwg/url/getquery.xml b/reference/uri/whatwg/url/getquery.xml new file mode 100644 index 000000000000..3f2fd42c4591 --- /dev/null +++ b/reference/uri/whatwg/url/getquery.xml @@ -0,0 +1,94 @@ + + + + Uri\WhatWg\Url::getQuery + Description + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getQuery + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::getQuery</methodname> example + + Description. + + +getQuery(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawQuery + Uri\Rfc3986\Uri::getQuery + Uri\WhatWg\Url::withQuery + + + + + diff --git a/reference/uri/whatwg/url/getscheme.xml b/reference/uri/whatwg/url/getscheme.xml new file mode 100644 index 000000000000..e4ec20ebb057 --- /dev/null +++ b/reference/uri/whatwg/url/getscheme.xml @@ -0,0 +1,94 @@ + + + + Uri\WhatWg\Url::getScheme + Description + + + + &reftitle.description; + + public stringUri\WhatWg\Url::getScheme + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::getScheme</methodname> example + + Description. + + +getScheme(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawScheme + Uri\Rfc3986\Uri::getScheme + Uri\WhatWg\Url::withScheme + + + + + diff --git a/reference/uri/whatwg/url/getunicodehost.xml b/reference/uri/whatwg/url/getunicodehost.xml new file mode 100644 index 000000000000..393d9d7bded3 --- /dev/null +++ b/reference/uri/whatwg/url/getunicodehost.xml @@ -0,0 +1,95 @@ + + + + Uri\WhatWg\Url::getUnicodeHost + Description + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getUnicodeHost + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::getUnicodeHost</methodname> example + + Description. + + +getUnicodeHost(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawHost + Uri\Rfc3986\Uri::getHost + Uri\WhatWg\Url::getUnicodeHost + Uri\WhatWg\Url::withHost + + + + + diff --git a/reference/uri/whatwg/url/getusername.xml b/reference/uri/whatwg/url/getusername.xml new file mode 100644 index 000000000000..196fbe73e101 --- /dev/null +++ b/reference/uri/whatwg/url/getusername.xml @@ -0,0 +1,94 @@ + + + + Uri\WhatWg\Url::getUsername + Description + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getUsername + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::getUsername</methodname> example + + Description. + + +getUsername(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawUsername + Uri\Rfc3986\Uri::getUsername + Uri\WhatWg\Url::withUsername + + + + + diff --git a/reference/uri/whatwg/url/parse.xml b/reference/uri/whatwg/url/parse.xml new file mode 100644 index 000000000000..8191a5bcbc83 --- /dev/null +++ b/reference/uri/whatwg/url/parse.xml @@ -0,0 +1,126 @@ + + + + Uri\WhatWg\Url::parse + Description + + + + &reftitle.description; + + public static staticnullUri\WhatWg\Url::parse + stringuri + Uri\WhatWg\UrlnullbaseUrl&null; + arrayerrors&null; + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + uri + + + URI to parse. + + + + + baseUrl + + + Description. + + + + + errors + + + Description. + + + + + + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::parse</methodname> example + + Description. + + +toAsciiString(); +} +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::parse + Uri\WhatWg\Url::__construct + + + + + diff --git a/reference/uri/whatwg/url/resolve.xml b/reference/uri/whatwg/url/resolve.xml new file mode 100644 index 000000000000..094167adee83 --- /dev/null +++ b/reference/uri/whatwg/url/resolve.xml @@ -0,0 +1,113 @@ + + + + Uri\WhatWg\Url::resolve + Description + + + + &reftitle.description; + + public staticUri\WhatWg\Url::resolve + stringuri + arraysoftErrors&null; + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + uri + + + Description. + + + + + softErrors + + + Description. + + + + + + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::resolve</methodname> example + + Description. + + +resolve("/foo"); + +echo $url->toAsciiString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::resolve + + + + + diff --git a/reference/uri/whatwg/url/serialize.xml b/reference/uri/whatwg/url/serialize.xml new file mode 100644 index 000000000000..dc9584b457b0 --- /dev/null +++ b/reference/uri/whatwg/url/serialize.xml @@ -0,0 +1,68 @@ + + + + Uri\WhatWg\Url::__serialize + Description + + + + &reftitle.description; + + public arrayUri\WhatWg\Url::__serialize + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::__serialize + Uri\WhatWg\Url::__unserialize + + + + + diff --git a/reference/uri/whatwg/url/toasciistring.xml b/reference/uri/whatwg/url/toasciistring.xml new file mode 100644 index 000000000000..75347418ed5b --- /dev/null +++ b/reference/uri/whatwg/url/toasciistring.xml @@ -0,0 +1,94 @@ + + + + Uri\WhatWg\Url::toAsciiString + Description + + + + &reftitle.description; + + public stringUri\WhatWg\Url::toAsciiString + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::toAsciiString</methodname> example + + Description. + + +toAsciiString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::toRawString + Uri\Rfc3986\Uri::toString + Uri\WhatWg\Url::toUnicodeString + + + + + diff --git a/reference/uri/whatwg/url/tounicodestring.xml b/reference/uri/whatwg/url/tounicodestring.xml new file mode 100644 index 000000000000..47d3326e00fc --- /dev/null +++ b/reference/uri/whatwg/url/tounicodestring.xml @@ -0,0 +1,94 @@ + + + + Uri\WhatWg\Url::toUnicodeString + Description + + + + &reftitle.description; + + public stringUri\WhatWg\Url::toUnicodeString + + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Description. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::toUnicodeString</methodname> example + + Description. + + +toAsciiString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::toRawString + Uri\Rfc3986\Uri::toString + Uri\WhatWg\Url::toAsciiString + + + + + diff --git a/reference/uri/whatwg/url/unserialize.xml b/reference/uri/whatwg/url/unserialize.xml new file mode 100644 index 000000000000..68060b3208d0 --- /dev/null +++ b/reference/uri/whatwg/url/unserialize.xml @@ -0,0 +1,79 @@ + + + + Uri\WhatWg\Url::__unserialize + Description + + + + &reftitle.description; + + public voidUri\WhatWg\Url::__unserialize + arraydata + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + data + + + Description. + + + + + + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::__unserialize + Uri\WhatWg\Url::__serialize + + + + + diff --git a/reference/uri/whatwg/url/withfragment.xml b/reference/uri/whatwg/url/withfragment.xml new file mode 100644 index 000000000000..f4e071a52177 --- /dev/null +++ b/reference/uri/whatwg/url/withfragment.xml @@ -0,0 +1,105 @@ + + + + Uri\WhatWg\Url::withFragment + Description + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withFragment + stringnullfragment + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + fragment + + + New fragment component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\WhatWg\Url instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::withFragment</methodname> example + + Description. + + +withFragment("bar"); + +echo $url->getFragment(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::withFragment + Uri\WhatWg\Url::getFragment + + + + + diff --git a/reference/uri/whatwg/url/withhost.xml b/reference/uri/whatwg/url/withhost.xml new file mode 100644 index 000000000000..3b9998873d9e --- /dev/null +++ b/reference/uri/whatwg/url/withhost.xml @@ -0,0 +1,106 @@ + + + + Uri\WhatWg\Url::withHost + Description + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withHost + stringnullhost + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + host + + + New host component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\WhatWg\Url instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::withHost</methodname> example + + Description. + + +withHost("example.net"); + +echo $url->getHost(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::withHost + Uri\WhatWg\Url::getAsciiHost + Uri\WhatWg\Url::getUnicodeHost + + + + + diff --git a/reference/uri/whatwg/url/withpassword.xml b/reference/uri/whatwg/url/withpassword.xml new file mode 100644 index 000000000000..c3b3aa20ffe1 --- /dev/null +++ b/reference/uri/whatwg/url/withpassword.xml @@ -0,0 +1,105 @@ + + + + Uri\WhatWg\Url::withPassword + Description + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withPassword + #[\SensitiveParameter]stringnullpassword + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + password + + + New password component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\WhatWg\Url instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::withPassword</methodname> example + + Description. + + +withPassword("pass"); + +echo $url->getPassword(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getUserInfo + Uri\WhatWg\Url::getPassword + + + + + diff --git a/reference/uri/whatwg/url/withpath.xml b/reference/uri/whatwg/url/withpath.xml new file mode 100644 index 000000000000..1cfe4604dd3f --- /dev/null +++ b/reference/uri/whatwg/url/withpath.xml @@ -0,0 +1,105 @@ + + + + Uri\WhatWg\Url::withPath + Description + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withPath + stringpath + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + path + + + New path component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\WhatWg\Url instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::withPath</methodname> example + + Description. + + +with("/baz"); + +echo $url->get(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::withPath + Uri\WhatWg\Url::getPath + + + + + diff --git a/reference/uri/whatwg/url/withport.xml b/reference/uri/whatwg/url/withport.xml new file mode 100644 index 000000000000..4d8d20fb860b --- /dev/null +++ b/reference/uri/whatwg/url/withport.xml @@ -0,0 +1,105 @@ + + + + Uri\WhatWg\Url::withPort + Description + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withPort + intnullport + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + port + + + New port component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\WhatWg\Url instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::withPort</methodname> example + + Description. + + +withPort(443); + +echo $url->getPort(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::withPort + Uri\WhatWg\Url::getPort + + + + + diff --git a/reference/uri/whatwg/url/withquery.xml b/reference/uri/whatwg/url/withquery.xml new file mode 100644 index 000000000000..08f2532ed79c --- /dev/null +++ b/reference/uri/whatwg/url/withquery.xml @@ -0,0 +1,105 @@ + + + + Uri\WhatWg\Url::withQuery + Description + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withQuery + stringnullquery + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + query + + + New query component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\WhatWg\Url instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::withQuery</methodname> example + + Description. + + +withQuery("foo=baz"); + +echo $url->getQuery(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::withQuery + Uri\WhatWg\Url::getQuery + + + + + diff --git a/reference/uri/whatwg/url/withscheme.xml b/reference/uri/whatwg/url/withscheme.xml new file mode 100644 index 000000000000..3e5879ef0c2c --- /dev/null +++ b/reference/uri/whatwg/url/withscheme.xml @@ -0,0 +1,105 @@ + + + + Uri\WhatWg\Url::withScheme + Description + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withScheme + stringscheme + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + scheme + + + New scheme component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\WhatWg\Url instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::withScheme</methodname> example + + Description. + + +withScheme("http"); + +echo $url->getScheme(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::withScheme + Uri\WhatWg\Url::getScheme + + + + + diff --git a/reference/uri/whatwg/url/withusername.xml b/reference/uri/whatwg/url/withusername.xml new file mode 100644 index 000000000000..e6216391c83b --- /dev/null +++ b/reference/uri/whatwg/url/withusername.xml @@ -0,0 +1,106 @@ + + + + Uri\WhatWg\Url::withUsername + Description + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withUsername + stringnullusername + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + username + + + New username component. + + + + + + + + + &reftitle.returnvalues; + + The modified Uri\WhatWg\Url instance. + + + + + &reftitle.errors; + + When does this function issue E_* level errors, + and/or throw Exceptions. + + + + + &reftitle.examples; + + <methodname>Uri\WhatWg\Url::withUsername</methodname> example + + Description. + + +withUsername("usr"); + +echo $url->getUsername(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getUsername + Uri\Rfc3986\Uri::getRawUsername + Uri\WhatWg\Url::getUsername + + + + + diff --git a/reference/uri/whatwg/urlvalidationerror/construct.xml b/reference/uri/whatwg/urlvalidationerror/construct.xml new file mode 100644 index 000000000000..e50d03bd61ba --- /dev/null +++ b/reference/uri/whatwg/urlvalidationerror/construct.xml @@ -0,0 +1,72 @@ + + + + Uri\WhatWg\UrlValidationError::__construct + Description + + + + &reftitle.description; + + public Uri\WhatWg\UrlValidationError::__construct + stringcontext + Uri\WhatWg\UrlValidationErrorTypetype + boolfailure + + &warn.undocumented.func; + + Description. + + + + + &reftitle.parameters; + + + + context + + + Description. + + + + + type + + + Description. + + + + + failure + + + Description. + + + + + + +