From 9cbf490d9a2acb4013b6edcfccf7814e1a810e02 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Tue, 7 Apr 2026 00:34:55 +0200 Subject: [PATCH 1/4] Translate ext/uri documentation to Spanish --- language-snippets.ent | 13 ++ reference/uri/book.xml | 56 +++++ reference/uri/uri.invaliduriexception.xml | 67 ++++++ reference/uri/uri.rfc3986.uri.xml | 61 ++++++ reference/uri/uri.uricomparisonmode.xml | 56 +++++ reference/uri/uri.urierror.xml | 67 ++++++ reference/uri/uri.uriexception.xml | 67 ++++++ .../uri/uri.whatwg.invalidurlexception.xml | 96 +++++++++ reference/uri/uri.whatwg.url.xml | 61 ++++++ .../uri/uri.whatwg.urlvalidationerror.xml | 108 ++++++++++ .../uri/uri.whatwg.urlvalidationerrortype.xml | 201 ++++++++++++++++++ reference/uri/uri/rfc3986/uri/construct.xml | 79 +++++++ reference/uri/uri/rfc3986/uri/debuginfo.xml | 58 +++++ reference/uri/uri/rfc3986/uri/equals.xml | 101 +++++++++ reference/uri/uri/rfc3986/uri/getfragment.xml | 82 +++++++ reference/uri/uri/rfc3986/uri/gethost.xml | 83 ++++++++ reference/uri/uri/rfc3986/uri/getpassword.xml | 87 ++++++++ reference/uri/uri/rfc3986/uri/getpath.xml | 82 +++++++ reference/uri/uri/rfc3986/uri/getport.xml | 81 +++++++ reference/uri/uri/rfc3986/uri/getquery.xml | 82 +++++++ .../uri/uri/rfc3986/uri/getrawfragment.xml | 82 +++++++ reference/uri/uri/rfc3986/uri/getrawhost.xml | 83 ++++++++ .../uri/uri/rfc3986/uri/getrawpassword.xml | 85 ++++++++ reference/uri/uri/rfc3986/uri/getrawpath.xml | 82 +++++++ reference/uri/uri/rfc3986/uri/getrawquery.xml | 82 +++++++ .../uri/uri/rfc3986/uri/getrawscheme.xml | 82 +++++++ .../uri/uri/rfc3986/uri/getrawuserinfo.xml | 86 ++++++++ .../uri/uri/rfc3986/uri/getrawusername.xml | 84 ++++++++ reference/uri/uri/rfc3986/uri/getscheme.xml | 82 +++++++ reference/uri/uri/rfc3986/uri/getuserinfo.xml | 87 ++++++++ reference/uri/uri/rfc3986/uri/getusername.xml | 85 ++++++++ reference/uri/uri/rfc3986/uri/parse.xml | 107 ++++++++++ reference/uri/uri/rfc3986/uri/resolve.xml | 97 +++++++++ reference/uri/uri/rfc3986/uri/serialize.xml | 59 +++++ reference/uri/uri/rfc3986/uri/torawstring.xml | 82 +++++++ reference/uri/uri/rfc3986/uri/tostring.xml | 82 +++++++ reference/uri/uri/rfc3986/uri/unserialize.xml | 78 +++++++ .../uri/uri/rfc3986/uri/withfragment.xml | 96 +++++++++ reference/uri/uri/rfc3986/uri/withhost.xml | 97 +++++++++ reference/uri/uri/rfc3986/uri/withpath.xml | 97 +++++++++ reference/uri/uri/rfc3986/uri/withport.xml | 96 +++++++++ reference/uri/uri/rfc3986/uri/withquery.xml | 97 +++++++++ reference/uri/uri/rfc3986/uri/withscheme.xml | 97 +++++++++ .../uri/uri/rfc3986/uri/withuserinfo.xml | 102 +++++++++ .../whatwg/invalidurlexception/construct.xml | 80 +++++++ reference/uri/uri/whatwg/url/construct.xml | 89 ++++++++ reference/uri/uri/whatwg/url/debuginfo.xml | 58 +++++ reference/uri/uri/whatwg/url/equals.xml | 101 +++++++++ reference/uri/uri/whatwg/url/getasciihost.xml | 83 ++++++++ reference/uri/uri/whatwg/url/getfragment.xml | 82 +++++++ reference/uri/uri/whatwg/url/getpassword.xml | 82 +++++++ reference/uri/uri/whatwg/url/getpath.xml | 82 +++++++ reference/uri/uri/whatwg/url/getport.xml | 81 +++++++ reference/uri/uri/whatwg/url/getquery.xml | 82 +++++++ reference/uri/uri/whatwg/url/getscheme.xml | 82 +++++++ .../uri/uri/whatwg/url/getunicodehost.xml | 83 ++++++++ reference/uri/uri/whatwg/url/getusername.xml | 82 +++++++ reference/uri/uri/whatwg/url/parse.xml | 118 ++++++++++ reference/uri/uri/whatwg/url/resolve.xml | 109 ++++++++++ reference/uri/uri/whatwg/url/serialize.xml | 59 +++++ .../uri/uri/whatwg/url/toasciistring.xml | 83 ++++++++ .../uri/uri/whatwg/url/tounicodestring.xml | 82 +++++++ reference/uri/uri/whatwg/url/unserialize.xml | 78 +++++++ reference/uri/uri/whatwg/url/withfragment.xml | 96 +++++++++ reference/uri/uri/whatwg/url/withhost.xml | 97 +++++++++ reference/uri/uri/whatwg/url/withpassword.xml | 97 +++++++++ reference/uri/uri/whatwg/url/withpath.xml | 96 +++++++++ reference/uri/uri/whatwg/url/withport.xml | 96 +++++++++ reference/uri/uri/whatwg/url/withquery.xml | 96 +++++++++ reference/uri/uri/whatwg/url/withscheme.xml | 96 +++++++++ reference/uri/uri/whatwg/url/withusername.xml | 98 +++++++++ .../whatwg/urlvalidationerror/construct.xml | 72 +++++++ reference/uri/versions.xml | 113 ++++++++++ 73 files changed, 6248 insertions(+) create mode 100644 reference/uri/book.xml create mode 100644 reference/uri/uri.invaliduriexception.xml create mode 100644 reference/uri/uri.rfc3986.uri.xml create mode 100644 reference/uri/uri.uricomparisonmode.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/uri.whatwg.urlvalidationerrortype.xml create mode 100644 reference/uri/uri/rfc3986/uri/construct.xml create mode 100644 reference/uri/uri/rfc3986/uri/debuginfo.xml create mode 100644 reference/uri/uri/rfc3986/uri/equals.xml create mode 100644 reference/uri/uri/rfc3986/uri/getfragment.xml create mode 100644 reference/uri/uri/rfc3986/uri/gethost.xml create mode 100644 reference/uri/uri/rfc3986/uri/getpassword.xml create mode 100644 reference/uri/uri/rfc3986/uri/getpath.xml create mode 100644 reference/uri/uri/rfc3986/uri/getport.xml create mode 100644 reference/uri/uri/rfc3986/uri/getquery.xml create mode 100644 reference/uri/uri/rfc3986/uri/getrawfragment.xml create mode 100644 reference/uri/uri/rfc3986/uri/getrawhost.xml create mode 100644 reference/uri/uri/rfc3986/uri/getrawpassword.xml create mode 100644 reference/uri/uri/rfc3986/uri/getrawpath.xml create mode 100644 reference/uri/uri/rfc3986/uri/getrawquery.xml create mode 100644 reference/uri/uri/rfc3986/uri/getrawscheme.xml create mode 100644 reference/uri/uri/rfc3986/uri/getrawuserinfo.xml create mode 100644 reference/uri/uri/rfc3986/uri/getrawusername.xml create mode 100644 reference/uri/uri/rfc3986/uri/getscheme.xml create mode 100644 reference/uri/uri/rfc3986/uri/getuserinfo.xml create mode 100644 reference/uri/uri/rfc3986/uri/getusername.xml create mode 100644 reference/uri/uri/rfc3986/uri/parse.xml create mode 100644 reference/uri/uri/rfc3986/uri/resolve.xml create mode 100644 reference/uri/uri/rfc3986/uri/serialize.xml create mode 100644 reference/uri/uri/rfc3986/uri/torawstring.xml create mode 100644 reference/uri/uri/rfc3986/uri/tostring.xml create mode 100644 reference/uri/uri/rfc3986/uri/unserialize.xml create mode 100644 reference/uri/uri/rfc3986/uri/withfragment.xml create mode 100644 reference/uri/uri/rfc3986/uri/withhost.xml create mode 100644 reference/uri/uri/rfc3986/uri/withpath.xml create mode 100644 reference/uri/uri/rfc3986/uri/withport.xml create mode 100644 reference/uri/uri/rfc3986/uri/withquery.xml create mode 100644 reference/uri/uri/rfc3986/uri/withscheme.xml create mode 100644 reference/uri/uri/rfc3986/uri/withuserinfo.xml create mode 100644 reference/uri/uri/whatwg/invalidurlexception/construct.xml create mode 100644 reference/uri/uri/whatwg/url/construct.xml create mode 100644 reference/uri/uri/whatwg/url/debuginfo.xml create mode 100644 reference/uri/uri/whatwg/url/equals.xml create mode 100644 reference/uri/uri/whatwg/url/getasciihost.xml create mode 100644 reference/uri/uri/whatwg/url/getfragment.xml create mode 100644 reference/uri/uri/whatwg/url/getpassword.xml create mode 100644 reference/uri/uri/whatwg/url/getpath.xml create mode 100644 reference/uri/uri/whatwg/url/getport.xml create mode 100644 reference/uri/uri/whatwg/url/getquery.xml create mode 100644 reference/uri/uri/whatwg/url/getscheme.xml create mode 100644 reference/uri/uri/whatwg/url/getunicodehost.xml create mode 100644 reference/uri/uri/whatwg/url/getusername.xml create mode 100644 reference/uri/uri/whatwg/url/parse.xml create mode 100644 reference/uri/uri/whatwg/url/resolve.xml create mode 100644 reference/uri/uri/whatwg/url/serialize.xml create mode 100644 reference/uri/uri/whatwg/url/toasciistring.xml create mode 100644 reference/uri/uri/whatwg/url/tounicodestring.xml create mode 100644 reference/uri/uri/whatwg/url/unserialize.xml create mode 100644 reference/uri/uri/whatwg/url/withfragment.xml create mode 100644 reference/uri/uri/whatwg/url/withhost.xml create mode 100644 reference/uri/uri/whatwg/url/withpassword.xml create mode 100644 reference/uri/uri/whatwg/url/withpath.xml create mode 100644 reference/uri/uri/whatwg/url/withport.xml create mode 100644 reference/uri/uri/whatwg/url/withquery.xml create mode 100644 reference/uri/uri/whatwg/url/withscheme.xml create mode 100644 reference/uri/uri/whatwg/url/withusername.xml create mode 100644 reference/uri/uri/whatwg/urlvalidationerror/construct.xml create mode 100644 reference/uri/versions.xml diff --git a/language-snippets.ent b/language-snippets.ent index b1448b0d0..23d8ccb3e 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -4864,6 +4864,19 @@ Las fuentes de aleatoriedad por orden de prioridad son las siguientes: '> + + + Si la URI resultante es inválida, se lanza una excepción Uri\InvalidUriException. + + '> + + + Si la URL resultante es inválida, se lanza una excepción Uri\WhatWg\InvalidUrlException. + + '> + + + + + URI + URI + + + &reftitle.intro; + + Este capítulo describe las funciones que permiten trabajar con + Identificadores de Recursos Uniformes (URIs). Una URI es una cadena de + caracteres utilizada para identificar un recurso. Las URIs se utilizan en + las tecnologías web para identificar recursos en Internet. + + + Esta extensión implementa funcionalidades que siguen las especificaciones + RFC 3986, + Uniform Resource Identifier (URI): Generic Syntax y + WHATWG URL Standard. + + + + &reference.uri.uri.rfc3986.uri; + + &reference.uri.uri.whatwg.url; + + &reference.uri.uri.uricomparisonmode; + + &reference.uri.uri.uriexception; + &reference.uri.uri.urierror; + &reference.uri.uri.invaliduriexception; + &reference.uri.uri.whatwg.invalidurlexception; + &reference.uri.uri.whatwg.urlvalidationerror; + &reference.uri.uri.whatwg.urlvalidationerrortype; + + diff --git a/reference/uri/uri.invaliduriexception.xml b/reference/uri/uri.invaliduriexception.xml new file mode 100644 index 000000000..db43b8ea0 --- /dev/null +++ b/reference/uri/uri.invaliduriexception.xml @@ -0,0 +1,67 @@ + + + + La clase Uri\InvalidUriException + Uri\InvalidUriException + + +
+ &reftitle.intro; + + Indica que una URI dada es inválida o que una operación resultaría en una URI inválida. + +
+ +
+ &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 000000000..f9fa7eefb --- /dev/null +++ b/reference/uri/uri.rfc3986.uri.xml @@ -0,0 +1,61 @@ + + + + La clase Uri\Rfc3986\Uri + Uri\Rfc3986\Uri + + +
+ &reftitle.intro; + + +
+ +
+ &reftitle.classsynopsis; + + + Uri\Rfc3986 + + + + final + readonly + Uri + + + &Methods; + + + + + + + + +
+
+ + &reference.uri.uri.rfc3986.entities.uri; + +
+ diff --git a/reference/uri/uri.uricomparisonmode.xml b/reference/uri/uri.uricomparisonmode.xml new file mode 100644 index 000000000..33097fbcb --- /dev/null +++ b/reference/uri/uri.uricomparisonmode.xml @@ -0,0 +1,56 @@ + + + + La enumeración Uri\UriComparisonMode + Uri\UriComparisonMode + + +
+ &reftitle.intro; + + +
+ +
+ &reftitle.enumsynopsis; + + + Uri + + + UriComparisonMode + + + IncludeFragment + El componente fragment se incluye en la comparación. + + + + ExcludeFragment + El componente fragment se excluye de la comparación. + + + +
+
+
+ diff --git a/reference/uri/uri.urierror.xml b/reference/uri/uri.urierror.xml new file mode 100644 index 000000000..73f527750 --- /dev/null +++ b/reference/uri/uri.urierror.xml @@ -0,0 +1,67 @@ + + + + La clase Uri\UriError + Uri\UriError + + +
+ &reftitle.intro; + + La clase base para los errores (Error) que ocurren durante el procesamiento de URIs. + +
+ +
+ &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 000000000..7d0205ffa --- /dev/null +++ b/reference/uri/uri.uriexception.xml @@ -0,0 +1,67 @@ + + + + La clase Uri\UriException + Uri\UriException + + +
+ &reftitle.intro; + + La clase base para las excepciones (Exception) que ocurren durante el procesamiento de URIs. + +
+ +
+ &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 000000000..4e2d73b16 --- /dev/null +++ b/reference/uri/uri.whatwg.invalidurlexception.xml @@ -0,0 +1,96 @@ + + + + La clase Uri\WhatWg\InvalidUrlException + Uri\WhatWg\InvalidUrlException + + +
+ &reftitle.intro; + + Indica que una URL dada es inválida o que una operación + resultaría en una URL inválida según el + estándar WHATWG URL. + +
+ +
+ &reftitle.classsynopsis; + + + Uri\WhatWg + + + + InvalidUrlException + + + + extends + Uri\InvalidUriException + + + &Properties; + + public + readonly + array + errors + + + &InheritedProperties; + + + + + &Methods; + + + + + &InheritedMethods; + + + + + +
+ +
+ &reftitle.properties; + + + errors + + + Un &array; de objetos Uri\WhatWg\UrlValidationError. + + + + +
+
+ + &reference.uri.uri.whatwg.entities.invalidurlexception; + +
+ diff --git a/reference/uri/uri.whatwg.url.xml b/reference/uri/uri.whatwg.url.xml new file mode 100644 index 000000000..24856ff63 --- /dev/null +++ b/reference/uri/uri.whatwg.url.xml @@ -0,0 +1,61 @@ + + + + La clase Uri\WhatWg\Url + Uri\WhatWg\Url + + +
+ &reftitle.intro; + + +
+ +
+ &reftitle.classsynopsis; + + + Uri\WhatWg + + + + final + readonly + Url + + + &Methods; + + + + + + + + +
+
+ + &reference.uri.uri.whatwg.entities.url; + +
+ diff --git a/reference/uri/uri.whatwg.urlvalidationerror.xml b/reference/uri/uri.whatwg.urlvalidationerror.xml new file mode 100644 index 000000000..ee7cf88a4 --- /dev/null +++ b/reference/uri/uri.whatwg.urlvalidationerror.xml @@ -0,0 +1,108 @@ + + + + La clase Uri\WhatWg\UrlValidationError + Uri\WhatWg\UrlValidationError + + +
+ &reftitle.intro; + + Proporciona detalles sobre los errores detectados al analizar una URL con + Uri\WhatWg\Url. + +
+ +
+ &reftitle.classsynopsis; + + + Uri\WhatWg + + + + final + readonly + UrlValidationError + + + &Properties; + + public + string + context + + + public + Uri\WhatWg\UrlValidationErrorType + type + + + public + bool + failure + + + &Methods; + + + + + +
+ +
+ &reftitle.properties; + + + context + + + La URL de entrada en el punto donde se detectó el error. + + + + + type + + + El tipo de error. + + + + + failure + + + Si es &true;, el error provocó que la URL fuera rechazada como inválida. Si es &false;, + el error es un error leve que fue corregido automáticamente durante el análisis. + + + + +
+
+ + &reference.uri.uri.whatwg.entities.urlvalidationerror; + +
+ diff --git a/reference/uri/uri.whatwg.urlvalidationerrortype.xml b/reference/uri/uri.whatwg.urlvalidationerrortype.xml new file mode 100644 index 000000000..66b8737af --- /dev/null +++ b/reference/uri/uri.whatwg.urlvalidationerrortype.xml @@ -0,0 +1,201 @@ + + + + La enumeración Uri\WhatWg\UrlValidationErrorType + Uri\WhatWg\UrlValidationErrorType + + +
+ &reftitle.intro; + + +
+ +
+ &reftitle.enumsynopsis; + + + Uri\WhatWg + + + UrlValidationErrorType + + + DomainToAscii + Error durante el proceso de conversión del nombre de dominio a una cadena ASCII. + + + + DomainToUnicode + Error durante el proceso de conversión del nombre de dominio a una cadena Unicode. + + + + DomainInvalidCodePoint + El host de la entrada contiene un punto de código de dominio prohibido. + + + + HostInvalidCodePoint + Un host opaco (en una URL que no es especial) contiene un punto de código de host prohibido. + + + + Ipv4EmptyPart + Una dirección IPv4 termina con un U+002E (.). + + + + Ipv4TooManyParts + Una dirección IPv4 no consta exactamente de 4 partes. + + + + Ipv4NonNumericPart + Una parte de la dirección IPv4 no es numérica. + + + + Ipv4NonDecimalPart + La dirección IPv4 contiene números expresados con dígitos hexadecimales u octales. + + + + Ipv4OutOfRangePart + Una parte de la dirección IPv4 supera 255. + + + + Ipv6Unclosed + A una dirección IPv6 le falta el cierre U+005D (]). + + + + Ipv6InvalidCompression + Una dirección IPv6 comienza con una compresión incorrecta. + + + + Ipv6TooManyPieces + Una dirección IPv6 contiene más de 8 piezas. + + + + Ipv6MultipleCompression + Una dirección IPv6 está comprimida en más de un lugar. + + + + Ipv6InvalidCodePoint + + Una dirección IPv6 contiene un punto de código que no es ni un dígito hexadecimal ASCII + ni un U+003A (:). O termina de forma inesperada. + + + + + Ipv6TooFewPieces + Una dirección IPv6 sin compresión contiene menos de 8 piezas. + + + + Ipv4InIpv6TooManyPieces + Una dirección IPv6 con sintaxis de dirección IPv4: la dirección IPv6 tiene más de 6 piezas. + + + + Ipv4InIpv6InvalidCodePoint + Una dirección IPv6 con sintaxis de dirección IPv4. + + + + Ipv4InIpv6OutOfRangePart + Una dirección IPv6 con sintaxis de dirección IPv4: una parte IPv4 supera 255. + + + + Ipv4InIpv6TooFewParts + Una dirección IPv6 con sintaxis de dirección IPv4: una dirección IPv4 contiene muy pocas partes. + + + + InvalidUrlUnit + Se encontró un punto de código que no es una unidad de URL. + + + + SpecialSchemeMissingFollowingSolidus + El esquema de la entrada no está seguido de //. + + + + MissingSchemeNonRelativeUrl + + La entrada carece de un esquema, porque no comienza con un carácter alfabético ASCII, y no se proporcionó + una URL base o la URL base no puede utilizarse como URL base porque tiene una ruta opaca. + + + + + InvalidReverseSoldius + La URL tiene un esquema especial y utiliza U+005C (\) + en lugar de U+002F (/). + + + + InvalidCredentials + La entrada incluye credenciales. + + + + HostMissing + La entrada tiene un esquema especial, pero no contiene un host. + + + + PortOutOfRange + El puerto de la entrada es demasiado grande. + + + + PortInvalid + El puerto de la entrada es inválido. + + + + FileInvalidWindowsDriveLetter + + La entrada es una cadena de URL relativa que comienza con una letra de unidad Windows y + el esquema de la URL base es file. + + + + + FileInvalidWindowsDriveLetterHost + El host de una URL file: es una letra de unidad Windows. + + + +
+
+
+ diff --git a/reference/uri/uri/rfc3986/uri/construct.xml b/reference/uri/uri/rfc3986/uri/construct.xml new file mode 100644 index 000000000..a648e78ee --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/construct.xml @@ -0,0 +1,79 @@ + + + + + Uri\Rfc3986\Uri::__construct + Construye el objeto Uri + + + + &reftitle.description; + + public Uri\Rfc3986\Uri::__construct + stringuri + Uri\Rfc3986\UrinullbaseUrl&null; + + + Construye el objeto Uri\Rfc3986\Uri. + + + + + &reftitle.parameters; + + + uri + + + URI a analizar. + + + + + baseUrl + + + Cuando se pasa un &string;, uri se aplica sobre + baseUrl, si uri es una referencia relativa. + Si se pasa &null;, o uri no es una referencia relativa, + baseUrl no tiene ningún efecto. + + + + + + + + &reftitle.errors; + &uri.errors.invalidUriException; + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::parse + Uri\Rfc3986\Uri::resolve + Uri\WhatWg\Url::__construct + + + + diff --git a/reference/uri/uri/rfc3986/uri/debuginfo.xml b/reference/uri/uri/rfc3986/uri/debuginfo.xml new file mode 100644 index 000000000..076737a48 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/debuginfo.xml @@ -0,0 +1,58 @@ + + + + + Uri\Rfc3986\Uri::__debugInfo + Devuelve el estado interno de la URI + + + + &reftitle.description; + + public arrayUri\Rfc3986\Uri::__debugInfo + + + + Devuelve el estado interno de la URI. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el estado interno de la URI como un &array;. + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::__debugInfo + + + + diff --git a/reference/uri/uri/rfc3986/uri/equals.xml b/reference/uri/uri/rfc3986/uri/equals.xml new file mode 100644 index 000000000..ab692215f --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/equals.xml @@ -0,0 +1,101 @@ + + + + + Uri\Rfc3986\Uri::equals + Verifica si dos URIs son equivalentes + + + + &reftitle.description; + + public boolUri\Rfc3986\Uri::equals + Uri\Rfc3986\Uriuri + Uri\UriComparisonModecomparisonModeUri\UriComparisonMode::ExcludeFragment + + + Verifica si dos URIs son equivalentes. + + + + + &reftitle.parameters; + + + uri + + + URI con la que comparar la URI actual. + + + + + comparisonMode + + + Indica si el componente de fragmento se tiene en cuenta en la comparación + (Uri\UriComparisonMode::IncludeFragment) o no + (Uri\UriComparisonMode::ExcludeFragment). Por defecto, el fragmento se excluye. + + + + + + + + &reftitle.returnvalues; + + Devuelve &true; si las dos URIs son equivalentes, o &false; en caso contrario. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::equals</methodname> + +equals($uri2)); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::equals + + + + diff --git a/reference/uri/uri/rfc3986/uri/getfragment.xml b/reference/uri/uri/rfc3986/uri/getfragment.xml new file mode 100644 index 000000000..00c368659 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getfragment.xml @@ -0,0 +1,82 @@ + + + + + Uri\Rfc3986\Uri::getFragment + Recupera el componente de fragmento normalizado + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getFragment + + + + Recupera el componente de fragmento normalizado. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de fragmento normalizado como un &string; si el componente de fragmento existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getFragment</methodname> + +getFragment(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawFragment + Uri\Rfc3986\Uri::withFragment + Uri\WhatWg\Url::getFragment + + + + diff --git a/reference/uri/uri/rfc3986/uri/gethost.xml b/reference/uri/uri/rfc3986/uri/gethost.xml new file mode 100644 index 000000000..ef6dbc1bc --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/gethost.xml @@ -0,0 +1,83 @@ + + + + + Uri\Rfc3986\Uri::getHost + Recupera el componente de host normalizado + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getHost + + + + Recupera el componente de host normalizado. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de host normalizado como un &string; si el componente de host existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getHost</methodname> + +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/uri/rfc3986/uri/getpassword.xml b/reference/uri/uri/rfc3986/uri/getpassword.xml new file mode 100644 index 000000000..75b0f3ee4 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getpassword.xml @@ -0,0 +1,87 @@ + + + + + Uri\Rfc3986\Uri::getPassword + Recupera la contraseña normalizada + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getPassword + + + + Recupera la parte de contraseña normalizada (el texto después del primer carácter :) + del componente userinfo. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve la contraseña normalizada como un &string; si el componente userinfo contiene un carácter :. + Se devuelve una cadena vacía cuando el componente userinfo no contiene un carácter :. + Se devuelve &null; cuando el componente userinfo no existe. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getPassword</methodname> + +getPassword(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawPassword + Uri\Rfc3986\Uri::getRawUserInfo + Uri\Rfc3986\Uri::getUserInfo + Uri\Rfc3986\Uri::withPassword + Uri\WhatWg\Url::getPassword + + + + diff --git a/reference/uri/uri/rfc3986/uri/getpath.xml b/reference/uri/uri/rfc3986/uri/getpath.xml new file mode 100644 index 000000000..084fd56fb --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getpath.xml @@ -0,0 +1,82 @@ + + + + + Uri\Rfc3986\Uri::getPath + Recupera el componente de ruta normalizado + + + + &reftitle.description; + + public stringUri\Rfc3986\Uri::getPath + + + + Recupera el componente de ruta normalizado. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de ruta normalizado como un &string;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getPath</methodname> + +getPath(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawPath + Uri\Rfc3986\Uri::withPath + Uri\WhatWg\Url::getPath + + + + diff --git a/reference/uri/uri/rfc3986/uri/getport.xml b/reference/uri/uri/rfc3986/uri/getport.xml new file mode 100644 index 000000000..c24e85d61 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getport.xml @@ -0,0 +1,81 @@ + + + + + Uri\Rfc3986\Uri::getPort + Recupera el componente de puerto normalizado + + + + &reftitle.description; + + public intnullUri\Rfc3986\Uri::getPort + + + + Recupera el componente de puerto normalizado. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de puerto normalizado como un &integer; si el componente de puerto existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getPort</methodname> + +getPort(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::withPort + Uri\WhatWg\Url::getPort + + + + diff --git a/reference/uri/uri/rfc3986/uri/getquery.xml b/reference/uri/uri/rfc3986/uri/getquery.xml new file mode 100644 index 000000000..59c49a07b --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getquery.xml @@ -0,0 +1,82 @@ + + + + + Uri\Rfc3986\Uri::getQuery + Recupera el componente de consulta normalizado + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getQuery + + + + Recupera el componente de consulta normalizado. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de consulta normalizado como un &string; si el componente de consulta existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getQuery</methodname> + +getQuery(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawQuery + Uri\Rfc3986\Uri::withQuery + Uri\WhatWg\Url::getQuery + + + + diff --git a/reference/uri/uri/rfc3986/uri/getrawfragment.xml b/reference/uri/uri/rfc3986/uri/getrawfragment.xml new file mode 100644 index 000000000..3cc517e2f --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getrawfragment.xml @@ -0,0 +1,82 @@ + + + + + Uri\Rfc3986\Uri::getRawFragment + Recupera el componente de fragmento sin procesar + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawFragment + + + + Recupera el componente de fragmento sin procesar (no normalizado). + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de fragmento sin procesar como un &string; si el componente de fragmento existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getRawFragment</methodname> + +getRawFragment(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getFragment + Uri\Rfc3986\Uri::withFragment + Uri\WhatWg\Url::getFragment + + + + diff --git a/reference/uri/uri/rfc3986/uri/getrawhost.xml b/reference/uri/uri/rfc3986/uri/getrawhost.xml new file mode 100644 index 000000000..1db3b8177 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getrawhost.xml @@ -0,0 +1,83 @@ + + + + + Uri\Rfc3986\Uri::getRawHost + Recupera el componente de host sin procesar + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawHost + + + + Recupera el componente de host sin procesar (no normalizado). + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de host sin procesar como un &string; si el componente de host existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getRawHost</methodname> + +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/uri/rfc3986/uri/getrawpassword.xml b/reference/uri/uri/rfc3986/uri/getrawpassword.xml new file mode 100644 index 000000000..794f8e472 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getrawpassword.xml @@ -0,0 +1,85 @@ + + + + + Uri\Rfc3986\Uri::getRawPassword + Recupera la contraseña sin procesar + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawPassword + + + + Recupera la parte de contraseña sin procesar (no normalizada) (el texto después del primer carácter :) + del componente userinfo. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve la contraseña sin procesar (no normalizada) como un &string; si el componente userinfo contiene un carácter :. + Se devuelve una cadena vacía cuando el componente userinfo no contiene un carácter :. + Se devuelve &null; cuando el componente userinfo no existe. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getRawPassword</methodname> + +getRawPassword(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getPassword + Uri\Rfc3986\Uri::withUserInfo + Uri\WhatWg\Url::getPassword + + + + diff --git a/reference/uri/uri/rfc3986/uri/getrawpath.xml b/reference/uri/uri/rfc3986/uri/getrawpath.xml new file mode 100644 index 000000000..6ebcbb595 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getrawpath.xml @@ -0,0 +1,82 @@ + + + + + Uri\Rfc3986\Uri::getRawPath + Recupera el componente de ruta sin procesar + + + + &reftitle.description; + + public stringUri\Rfc3986\Uri::getRawPath + + + + Recupera el componente de ruta sin procesar (no normalizado). + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de ruta sin procesar como un &string;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getRawPath</methodname> + +getRawPath(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getPath + Uri\Rfc3986\Uri::withPath + Uri\WhatWg\Url::getPath + + + + diff --git a/reference/uri/uri/rfc3986/uri/getrawquery.xml b/reference/uri/uri/rfc3986/uri/getrawquery.xml new file mode 100644 index 000000000..78ad5cf3f --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getrawquery.xml @@ -0,0 +1,82 @@ + + + + + Uri\Rfc3986\Uri::getRawQuery + Recupera el componente de consulta sin procesar + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawQuery + + + + Recupera el componente de consulta sin procesar (no normalizado). + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de consulta sin procesar como un &string; si el componente de consulta existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getRawQuery</methodname> + +getRawQuery(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getQuery + Uri\Rfc3986\Uri::withQuery + Uri\WhatWg\Url::getQuery + + + + diff --git a/reference/uri/uri/rfc3986/uri/getrawscheme.xml b/reference/uri/uri/rfc3986/uri/getrawscheme.xml new file mode 100644 index 000000000..32d75bd5e --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getrawscheme.xml @@ -0,0 +1,82 @@ + + + + + Uri\Rfc3986\Uri::getRawScheme + Recupera el componente de esquema sin procesar + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawScheme + + + + Recupera el componente de esquema sin procesar (no normalizado). + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de esquema sin procesar como un &string; si el componente de esquema existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getRawScheme</methodname> + +getRawScheme(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getScheme + Uri\Rfc3986\Uri::withScheme + Uri\WhatWg\Url::getScheme + + + + diff --git a/reference/uri/uri/rfc3986/uri/getrawuserinfo.xml b/reference/uri/uri/rfc3986/uri/getrawuserinfo.xml new file mode 100644 index 000000000..617839710 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getrawuserinfo.xml @@ -0,0 +1,86 @@ + + + + + Uri\Rfc3986\Uri::getRawUserInfo + Recupera el componente userinfo sin procesar + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawUserInfo + + + + Recupera el componente userinfo sin procesar (no normalizado). + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente userinfo sin procesar como un &string; si el componente userinfo existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getRawUserInfo</methodname> + +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/uri/rfc3986/uri/getrawusername.xml b/reference/uri/uri/rfc3986/uri/getrawusername.xml new file mode 100644 index 000000000..f7c1fe5f5 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getrawusername.xml @@ -0,0 +1,84 @@ + + + + + Uri\Rfc3986\Uri::getRawUsername + Recupera el nombre de usuario sin procesar + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getRawUsername + + + + Recupera la parte del nombre de usuario sin procesar (no normalizado) (el texto antes del primer carácter :) + del componente userinfo. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el nombre de usuario sin procesar (no normalizado) como un &string; si el componente userinfo existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getRawUsername</methodname> + +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/uri/rfc3986/uri/getscheme.xml b/reference/uri/uri/rfc3986/uri/getscheme.xml new file mode 100644 index 000000000..7e5d44797 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getscheme.xml @@ -0,0 +1,82 @@ + + + + + Uri\Rfc3986\Uri::getScheme + Recupera el componente de esquema normalizado + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getScheme + + + + Recupera el componente de esquema normalizado. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de esquema normalizado como un &string; si el componente de esquema existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getScheme</methodname> + +getScheme(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawScheme + Uri\Rfc3986\Uri::withScheme + Uri\WhatWg\Url::getScheme + + + + diff --git a/reference/uri/uri/rfc3986/uri/getuserinfo.xml b/reference/uri/uri/rfc3986/uri/getuserinfo.xml new file mode 100644 index 000000000..e172d5a64 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getuserinfo.xml @@ -0,0 +1,87 @@ + + + + + Uri\Rfc3986\Uri::getUserInfo + Recupera el componente userinfo normalizado + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getUserInfo + + + + Recupera el componente userinfo normalizado. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente userinfo normalizado como un &string; si el componente userinfo existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getUserInfo</methodname> + +getUserInfo(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawUserInfo + Uri\Rfc3986\Uri::getRawUsername + Uri\Rfc3986\Uri::getUsername + Uri\Rfc3986\Uri::getRawPassword + Uri\Rfc3986\Uri::getPassword + Uri\Rfc3986\Uri::withUserInfo + Uri\WhatWg\Url::getUsername + Uri\WhatWg\Url::getPassword + + + + diff --git a/reference/uri/uri/rfc3986/uri/getusername.xml b/reference/uri/uri/rfc3986/uri/getusername.xml new file mode 100644 index 000000000..261360bb3 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/getusername.xml @@ -0,0 +1,85 @@ + + + + + Uri\Rfc3986\Uri::getUsername + Recupera el nombre de usuario normalizado + + + + &reftitle.description; + + public stringnullUri\Rfc3986\Uri::getUsername + + + + Recupera la parte del nombre de usuario normalizado (el texto antes del primer carácter :) + del componente userinfo. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el nombre de usuario normalizado como un &string; si el componente userinfo existe; de lo contrario, se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::getUsername</methodname> + +getUsername(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawUsername + Uri\Rfc3986\Uri::getRawUserInfo + Uri\Rfc3986\Uri::getUserInfo + Uri\Rfc3986\Uri::withUserInfo + Uri\WhatWg\Url::getUsername + + + + diff --git a/reference/uri/uri/rfc3986/uri/parse.xml b/reference/uri/uri/rfc3986/uri/parse.xml new file mode 100644 index 000000000..10a01dacb --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/parse.xml @@ -0,0 +1,107 @@ + + + + + Uri\Rfc3986\Uri::parse + Analiza una URI + + + + &reftitle.description; + + public static staticnullUri\Rfc3986\Uri::parse + stringuri + Uri\Rfc3986\UrinullbaseUrl&null; + + + Analiza una URI. + + + + + &reftitle.parameters; + + + uri + + + URI a analizar. + + + + + baseUrl + + + Cuando se pasa un &string;, uri se aplica sobre + baseUrl, si uri es una referencia relativa. + Si se pasa &null;, o uri no es una referencia relativa, + baseUrl no tiene ningún efecto. + + + + + + + + &reftitle.returnvalues; + + Devuelve una instancia de Uri\Rfc3986\Uri en caso de éxito, o &null; en caso de error. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::parse</methodname> + +toString(); +} else { + echo "Invalid URI" +} +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::__construct + Uri\Rfc3986\Uri::resolve + Uri\WhatWg\Url::parse + + + + diff --git a/reference/uri/uri/rfc3986/uri/resolve.xml b/reference/uri/uri/rfc3986/uri/resolve.xml new file mode 100644 index 000000000..a028454db --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/resolve.xml @@ -0,0 +1,97 @@ + + + + + Uri\Rfc3986\Uri::resolve + Resuelve una URI con el objeto actual como URL base + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::resolve + stringuri + + + Resuelve una URI - que puede ser potencialmente una referencia relativa - con el objeto actual como URL base. + + + + + &reftitle.parameters; + + + uri + + + Una URI a aplicar sobre el objeto actual. + + + + + + + + &reftitle.returnvalues; + + Una nueva instancia de Uri\Rfc3986\Uri. + + + + + &reftitle.errors; + &uri.errors.invalidUriException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::resolve</methodname> + +resolve("/foo"); + +echo $uri->toRawString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::__construct + Uri\Rfc3986\Uri::parse + Uri\WhatWg\Url::resolve + + + + diff --git a/reference/uri/uri/rfc3986/uri/serialize.xml b/reference/uri/uri/rfc3986/uri/serialize.xml new file mode 100644 index 000000000..4a021692a --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/serialize.xml @@ -0,0 +1,59 @@ + + + + + Uri\Rfc3986\Uri::__serialize + Serializa el objeto Uri + + + + &reftitle.description; + + public arrayUri\Rfc3986\Uri::__serialize + + + + Serializa el objeto Uri\Rfc3986\Uri. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve la URI serializada como un &string;. + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::__unserialize + Uri\WhatWg\Url::__serialize + + + + diff --git a/reference/uri/uri/rfc3986/uri/torawstring.xml b/reference/uri/uri/rfc3986/uri/torawstring.xml new file mode 100644 index 000000000..6149c7539 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/torawstring.xml @@ -0,0 +1,82 @@ + + + + + Uri\Rfc3986\Uri::toRawString + Recompone la URI sin procesar + + + + &reftitle.description; + + public stringUri\Rfc3986\Uri::toRawString + + + + Recompone la URI sin procesar (no normalizada) en un &string;. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve la URI recompuesta sin procesar (no normalizada) como un &string;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::toRawString</methodname> + +toRawString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::toString + Uri\WhatWg\Url::toAsciiString + Uri\WhatWg\Url::toUnicodeString + + + + diff --git a/reference/uri/uri/rfc3986/uri/tostring.xml b/reference/uri/uri/rfc3986/uri/tostring.xml new file mode 100644 index 000000000..2474329fb --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/tostring.xml @@ -0,0 +1,82 @@ + + + + + Uri\Rfc3986\Uri::toString + Recompone la URI normalizada + + + + &reftitle.description; + + public stringUri\Rfc3986\Uri::toString + + + + Recompone la URI normalizada en un &string;. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve la URI recompuesta normalizada como un &string;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::toString</methodname> + +toString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::toRawString + Uri\WhatWg\Url::toAsciiString + Uri\WhatWg\Url::toUnicodeString + + + + diff --git a/reference/uri/uri/rfc3986/uri/unserialize.xml b/reference/uri/uri/rfc3986/uri/unserialize.xml new file mode 100644 index 000000000..7eedd986e --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/unserialize.xml @@ -0,0 +1,78 @@ + + + + + Uri\Rfc3986\Uri::__unserialize + Deserializa el parámetro data en un objeto Uri + + + + &reftitle.description; + + public voidUri\Rfc3986\Uri::__unserialize + arraydata + + + Deserializa un parámetro data en un objeto Uri\Rfc3986\Uri. + + + + + &reftitle.parameters; + + + data + + + Los datos serializados como un array. + + + + + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.errors; + + Si el método __unserialize se llama sobre una URI ya existente, + se lanza un Error. + + + &uri.errors.invalidUriException; + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::__serialize + Uri\WhatWg\Url::__unserialize + + + + diff --git a/reference/uri/uri/rfc3986/uri/withfragment.xml b/reference/uri/uri/rfc3986/uri/withfragment.xml new file mode 100644 index 000000000..c34b7cde6 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/withfragment.xml @@ -0,0 +1,96 @@ + + + + + Uri\Rfc3986\Uri::withFragment + Modifica el componente de fragmento + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withFragment + stringnullfragment + + + Crea una nueva URI y modifica su componente de fragmento. + + + + + &reftitle.parameters; + + + fragment + + + Nuevo componente de fragmento. + + + + + + + + &reftitle.returnvalues; + + La instancia modificada de Uri\Rfc3986\Uri. + + + + + &reftitle.errors; + &uri.errors.invalidUriException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::withFragment</methodname> + +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/uri/rfc3986/uri/withhost.xml b/reference/uri/uri/rfc3986/uri/withhost.xml new file mode 100644 index 000000000..efb028d5e --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/withhost.xml @@ -0,0 +1,97 @@ + + + + + Uri\Rfc3986\Uri::withHost + Modifica el componente de host + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withHost + stringnullhost + + + Crea una nueva URI y modifica su componente de host. + + + + + &reftitle.parameters; + + + host + + + Nuevo componente de host. + + + + + + + + &reftitle.returnvalues; + + La instancia modificada de Uri\Rfc3986\Uri. + + + + + &reftitle.errors; + &uri.errors.invalidUriException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::withHost</methodname> + +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/uri/rfc3986/uri/withpath.xml b/reference/uri/uri/rfc3986/uri/withpath.xml new file mode 100644 index 000000000..b93de7b5b --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/withpath.xml @@ -0,0 +1,97 @@ + + + + + Uri\Rfc3986\Uri::withPath + Modifica el componente de ruta + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withPath + stringpath + + + Crea una nueva URI y modifica su componente de ruta. + + + + + &reftitle.parameters; + + + path + + + Nuevo componente de ruta. + + + + + + + + &reftitle.returnvalues; + + La instancia modificada de Uri\Rfc3986\Uri. + + + + + &reftitle.errors; + &uri.errors.invalidUriException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::withPath</methodname> + +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/uri/rfc3986/uri/withport.xml b/reference/uri/uri/rfc3986/uri/withport.xml new file mode 100644 index 000000000..e38bfe21f --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/withport.xml @@ -0,0 +1,96 @@ + + + + + Uri\Rfc3986\Uri::withPort + Modifica el componente de puerto + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withPort + intnullport + + + Crea una nueva URI y modifica su componente de puerto. + + + + + &reftitle.parameters; + + + port + + + Nuevo componente de puerto. + + + + + + + + &reftitle.returnvalues; + + La instancia modificada de Uri\Rfc3986\Uri. + + + + + &reftitle.errors; + &uri.errors.invalidUriException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::withPort</methodname> + +withPort(443); + +echo $uri->getPort(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getPort + Uri\WhatWg\Url::withPort + + + + diff --git a/reference/uri/uri/rfc3986/uri/withquery.xml b/reference/uri/uri/rfc3986/uri/withquery.xml new file mode 100644 index 000000000..86a9f8c28 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/withquery.xml @@ -0,0 +1,97 @@ + + + + + Uri\Rfc3986\Uri::withQuery + Modifica el componente de consulta + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withQuery + stringnullquery + + + Crea una nueva URI y modifica su componente de consulta. + + + + + &reftitle.parameters; + + + query + + + Nuevo componente de consulta. + + + + + + + + &reftitle.returnvalues; + + La instancia modificada de Uri\Rfc3986\Uri. + + + + + &reftitle.errors; + &uri.errors.invalidUriException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::withQuery</methodname> + +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/uri/rfc3986/uri/withscheme.xml b/reference/uri/uri/rfc3986/uri/withscheme.xml new file mode 100644 index 000000000..fdcf32d55 --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/withscheme.xml @@ -0,0 +1,97 @@ + + + + + Uri\Rfc3986\Uri::withScheme + Modifica el componente de esquema + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withScheme + stringnullscheme + + + Crea una nueva URI y modifica su componente de esquema. + + + + + &reftitle.parameters; + + + scheme + + + Nuevo componente de esquema. + + + + + + + + &reftitle.returnvalues; + + La instancia modificada de Uri\Rfc3986\Uri. + + + + + &reftitle.errors; + &uri.errors.invalidUriException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::withScheme</methodname> + +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/uri/rfc3986/uri/withuserinfo.xml b/reference/uri/uri/rfc3986/uri/withuserinfo.xml new file mode 100644 index 000000000..70d10f20a --- /dev/null +++ b/reference/uri/uri/rfc3986/uri/withuserinfo.xml @@ -0,0 +1,102 @@ + + + + + Uri\Rfc3986\Uri::withUserInfo + Modifica el componente de información de usuario + + + + &reftitle.description; + + public staticUri\Rfc3986\Uri::withUserInfo + #[\SensitiveParameter]stringnulluserinfo + + + Crea una nueva URI y modifica su componente de información de usuario. + + + + + &reftitle.parameters; + + + userinfo + + + Nuevo componente de información de usuario. + + + + + + + + &reftitle.returnvalues; + + La instancia modificada de Uri\Rfc3986\Uri. + + + + + &reftitle.errors; + &uri.errors.invalidUriException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\Rfc3986\Uri::withUserInfo</methodname> + +withUserInfo("userinfo"); + +echo $uri->getUserInfo(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::getRawUserInfo + Uri\Rfc3986\Uri::getUserInfo + Uri\Rfc3986\Uri::getRawUsername + Uri\Rfc3986\Uri::getUsername + Uri\Rfc3986\Uri::getRawPassword + Uri\Rfc3986\Uri::getPassword + Uri\WhatWg\Url::withUsername + Uri\WhatWg\Url::withPassword + + + + diff --git a/reference/uri/uri/whatwg/invalidurlexception/construct.xml b/reference/uri/uri/whatwg/invalidurlexception/construct.xml new file mode 100644 index 000000000..d495a28a5 --- /dev/null +++ b/reference/uri/uri/whatwg/invalidurlexception/construct.xml @@ -0,0 +1,80 @@ + + + + + Uri\WhatWg\InvalidUrlException::__construct + Construye un objeto InvalidUrlException + + + + &reftitle.description; + + public Uri\WhatWg\InvalidUrlException::__construct + stringmessage"" + arrayerrors[] + intcode0 + Throwablenullprevious&null; + + + Construye un objeto Uri\WhatWg\InvalidUrlException. + + + + + &reftitle.parameters; + + + message + + + Mensaje de la excepción. + + + + + errors + + + Un &array; de objetos Uri\WhatWg\UrlValidationError. + + + + + code + + + Código de la excepción. + + + + + previous + + + La excepción anterior utilizada para el encadenamiento de excepciones. + + + + + + + diff --git a/reference/uri/uri/whatwg/url/construct.xml b/reference/uri/uri/whatwg/url/construct.xml new file mode 100644 index 000000000..2531ed534 --- /dev/null +++ b/reference/uri/uri/whatwg/url/construct.xml @@ -0,0 +1,89 @@ + + + + + Uri\WhatWg\Url::__construct + Construye el objeto Url + + + + &reftitle.description; + + public Uri\WhatWg\Url::__construct + stringuri + Uri\WhatWg\UrlnullbaseUrl&null; + arraysoftErrors&null; + + + Construye el objeto Uri\Rfc3986\Uri. + + + + + &reftitle.parameters; + + + uri + + + Una cadena de URL válida a analizar (por ejemplo, /foo o https://example.com/foo). + + + + + baseUrl + + + Cuando se pasa un &string;, uri se aplica sobre + baseUrl, si uri es una cadena de URL relativa. + Si se pasa &null;, o uri no es una cadena de URL relativa, + baseUrl no tiene ningún efecto. + + + + + softErrors + + + Un &array; para pasar por referencia una lista de instancias de Uri\WhatWg\UrlValidationError + que proporciona información extendida sobre los errores generados durante el análisis. + + + + + + + + &reftitle.errors; + &uri.errors.invalidUrlException; + + + + &reftitle.seealso; + + Uri\WhatWg\Url::parse + Uri\WhatWg\Url::resolve + Uri\Rfc3986\Uri::__construct + + + + diff --git a/reference/uri/uri/whatwg/url/debuginfo.xml b/reference/uri/uri/whatwg/url/debuginfo.xml new file mode 100644 index 000000000..05eb29aa7 --- /dev/null +++ b/reference/uri/uri/whatwg/url/debuginfo.xml @@ -0,0 +1,58 @@ + + + + + Uri\WhatWg\Url::__debugInfo + Devuelve el estado interno de la URL + + + + &reftitle.description; + + public arrayUri\WhatWg\Url::__debugInfo + + + + Devuelve el estado interno de la URL. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el estado interno de la URL como un &array;. + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::__debugInfo + + + + diff --git a/reference/uri/uri/whatwg/url/equals.xml b/reference/uri/uri/whatwg/url/equals.xml new file mode 100644 index 000000000..c2f759234 --- /dev/null +++ b/reference/uri/uri/whatwg/url/equals.xml @@ -0,0 +1,101 @@ + + + + + Uri\WhatWg\Url::equals + Verifica si dos URLs son equivalentes + + + + &reftitle.description; + + public boolUri\WhatWg\Url::equals + Uri\WhatWg\Urlurl + Uri\UriComparisonModecomparisonModeUri\UriComparisonMode::ExcludeFragment + + + Verifica si dos URLs son equivalentes. + + + + + &reftitle.parameters; + + + url + + + URL con la que comparar la URL actual. + + + + + comparisonMode + + + Indica si el componente de fragmento se tiene en cuenta en la comparación + (Uri\UriComparisonMode::IncludeFragment) o no + (Uri\UriComparisonMode::ExcludeFragment). Por defecto, el fragmento se excluye. + + + + + + + + &reftitle.returnvalues; + + Devuelve &true; si las dos URLs son equivalentes, o &false; en caso contrario. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::equals</methodname> + +equals($url2)); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\Rfc3986\Uri::equals + + + + diff --git a/reference/uri/uri/whatwg/url/getasciihost.xml b/reference/uri/uri/whatwg/url/getasciihost.xml new file mode 100644 index 000000000..d46a66c22 --- /dev/null +++ b/reference/uri/uri/whatwg/url/getasciihost.xml @@ -0,0 +1,83 @@ + + + + + Uri\WhatWg\Url::getAsciiHost + Recupera el componente de host como una cadena ASCII + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getAsciiHost + + + + Recupera el componente de host como un &string; utilizando la transcripción punycode en lugar de caracteres Unicode. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de host como un &string; ASCII si el componente de host existe, en caso contrario se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::getAsciiHost</methodname> + +getAsciiHost(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::getUnicodeHost + Uri\WhatWg\Url::withHost + Uri\Rfc3986\Uri::getRawHost + Uri\Rfc3986\Uri::getHost + + + + diff --git a/reference/uri/uri/whatwg/url/getfragment.xml b/reference/uri/uri/whatwg/url/getfragment.xml new file mode 100644 index 000000000..c449d024c --- /dev/null +++ b/reference/uri/uri/whatwg/url/getfragment.xml @@ -0,0 +1,82 @@ + + + + + Uri\WhatWg\Url::getFragment + Recupera el componente de fragmento + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getFragment + + + + Recupera el componente de fragmento. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de fragmento como un &string; si el componente de fragmento existe, en caso contrario se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::getFragment</methodname> + +getFragment(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::withFragment + Uri\Rfc3986\Uri::getRawFragment + Uri\Rfc3986\Uri::getFragment + + + + diff --git a/reference/uri/uri/whatwg/url/getpassword.xml b/reference/uri/uri/whatwg/url/getpassword.xml new file mode 100644 index 000000000..c35e56f41 --- /dev/null +++ b/reference/uri/uri/whatwg/url/getpassword.xml @@ -0,0 +1,82 @@ + + + + + Uri\WhatWg\Url::getPassword + Recupera el componente de contraseña + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getPassword + + + + Recupera el componente de contraseña. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de contraseña como un &string; si el componente de contraseña existe, en caso contrario se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::getPassword</methodname> + +getPassword(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::withPassword + Uri\Rfc3986\Uri::getRawPassword + Uri\Rfc3986\Uri::getPassword + + + + diff --git a/reference/uri/uri/whatwg/url/getpath.xml b/reference/uri/uri/whatwg/url/getpath.xml new file mode 100644 index 000000000..06e8e4d30 --- /dev/null +++ b/reference/uri/uri/whatwg/url/getpath.xml @@ -0,0 +1,82 @@ + + + + + Uri\WhatWg\Url::getPath + Recupera el componente de ruta + + + + &reftitle.description; + + public stringUri\WhatWg\Url::getPath + + + + Recupera el componente de ruta. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de ruta como un &string;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::getPath</methodname> + +getPath(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::withPath + Uri\Rfc3986\Uri::getRawPath + Uri\Rfc3986\Uri::getPath + + + + diff --git a/reference/uri/uri/whatwg/url/getport.xml b/reference/uri/uri/whatwg/url/getport.xml new file mode 100644 index 000000000..6a6e5cbed --- /dev/null +++ b/reference/uri/uri/whatwg/url/getport.xml @@ -0,0 +1,81 @@ + + + + + Uri\WhatWg\Url::getPort + Recupera el componente de puerto + + + + &reftitle.description; + + public intnullUri\WhatWg\Url::getPort + + + + Recupera el componente de puerto. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de puerto como un &integer; si el componente de puerto existe, en caso contrario se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::getPort</methodname> + +getPort(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::withPort + Uri\Rfc3986\Uri::getPort + + + + diff --git a/reference/uri/uri/whatwg/url/getquery.xml b/reference/uri/uri/whatwg/url/getquery.xml new file mode 100644 index 000000000..53a747a8b --- /dev/null +++ b/reference/uri/uri/whatwg/url/getquery.xml @@ -0,0 +1,82 @@ + + + + + Uri\WhatWg\Url::getQuery + Recupera el componente de consulta + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getQuery + + + + Recupera el componente de consulta. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de consulta como un &string; si el componente de consulta existe, en caso contrario se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::getQuery</methodname> + +getQuery(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::withQuery + Uri\Rfc3986\Uri::getRawQuery + Uri\Rfc3986\Uri::getQuery + + + + diff --git a/reference/uri/uri/whatwg/url/getscheme.xml b/reference/uri/uri/whatwg/url/getscheme.xml new file mode 100644 index 000000000..32f0bef84 --- /dev/null +++ b/reference/uri/uri/whatwg/url/getscheme.xml @@ -0,0 +1,82 @@ + + + + + Uri\WhatWg\Url::getScheme + Recupera el componente de esquema + + + + &reftitle.description; + + public stringUri\WhatWg\Url::getScheme + + + + Recupera el componente de esquema. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de esquema como un &string; si el componente de esquema existe, en caso contrario se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::getScheme</methodname> + +getScheme(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::withScheme + Uri\Rfc3986\Uri::getRawScheme + Uri\Rfc3986\Uri::getScheme + + + + diff --git a/reference/uri/uri/whatwg/url/getunicodehost.xml b/reference/uri/uri/whatwg/url/getunicodehost.xml new file mode 100644 index 000000000..bd09c2676 --- /dev/null +++ b/reference/uri/uri/whatwg/url/getunicodehost.xml @@ -0,0 +1,83 @@ + + + + + Uri\WhatWg\Url::getUnicodeHost + Recupera el componente de host como una cadena Unicode + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getUnicodeHost + + + + Recupera el componente de host como un &string;, que puede contener caracteres Unicode. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de host como un &string; Unicode si el componente de host existe, en caso contrario se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::getUnicodeHost</methodname> + +getUnicodeHost(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::getAsciiHost + Uri\WhatWg\Url::withHost + Uri\Rfc3986\Uri::getRawHost + Uri\Rfc3986\Uri::getHost + + + + diff --git a/reference/uri/uri/whatwg/url/getusername.xml b/reference/uri/uri/whatwg/url/getusername.xml new file mode 100644 index 000000000..27c891835 --- /dev/null +++ b/reference/uri/uri/whatwg/url/getusername.xml @@ -0,0 +1,82 @@ + + + + + Uri\WhatWg\Url::getUsername + Recupera el componente de nombre de usuario + + + + &reftitle.description; + + public stringnullUri\WhatWg\Url::getUsername + + + + Recupera el componente de nombre de usuario. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve el componente de nombre de usuario como un &string; si el componente de nombre de usuario existe, en caso contrario se devuelve &null;. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::getUsername</methodname> + +getUsername(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::withUsername + Uri\Rfc3986\Uri::getRawUsername + Uri\Rfc3986\Uri::getUsername + + + + diff --git a/reference/uri/uri/whatwg/url/parse.xml b/reference/uri/uri/whatwg/url/parse.xml new file mode 100644 index 000000000..696457fed --- /dev/null +++ b/reference/uri/uri/whatwg/url/parse.xml @@ -0,0 +1,118 @@ + + + + + Uri\WhatWg\Url::parse + Analiza una URL + + + + &reftitle.description; + + public static staticnullUri\WhatWg\Url::parse + stringuri + Uri\WhatWg\UrlnullbaseUrl&null; + arrayerrors&null; + + + Analiza una URL. + + + + + &reftitle.parameters; + + + uri + + + Una cadena de URL válida a analizar (p.ej. /foo o (p.ej. https://example.com/foo). + + + + + baseUrl + + + Cuando se pasa un &string;, uri se aplica sobre + baseUrl, si uri es una cadena de URL relativa. + Si se pasa &null;, o uri no es una cadena de URL relativa, + baseUrl no tiene ningún efecto. + + + + + errors + + + Un &array; para pasar por referencia una lista de instancias de + Uri\WhatWg\UrlValidationError que proporcionan + información extendida sobre los errores generados durante el análisis. + + + + + + + + &reftitle.returnvalues; + + Devuelve una instancia de Uri\WhatWg\Url en caso de éxito, o &null; en caso de error. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::parse</methodname> + +toAsciiString(); +} else { + echo "Invalid URL" +} +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::__construct + Uri\WhatWg\Url::resolve + Uri\Rfc3986\Uri::parse + + + + diff --git a/reference/uri/uri/whatwg/url/resolve.xml b/reference/uri/uri/whatwg/url/resolve.xml new file mode 100644 index 000000000..3197ba192 --- /dev/null +++ b/reference/uri/uri/whatwg/url/resolve.xml @@ -0,0 +1,109 @@ + + + + + Uri\WhatWg\Url::resolve + Resuelve una URL con el objeto actual como URL base + + + + &reftitle.description; + + public staticUri\WhatWg\Url::resolve + stringuri + arraysoftErrors&null; + + + Resuelve una cadena de URL válida, que potencialmente puede ser una cadena de URL relativa, con el objeto actual como URL base. + + + + + &reftitle.parameters; + + + uri + + + Una cadena de URL válida (p.ej. /foo o (p.ej. https://example.com/foo) a aplicar sobre + el objeto actual. + + + + + softErrors + + + Un &array; para pasar por referencia una lista de instancias de + Uri\WhatWg\UrlValidationError que proporcionan + información extendida sobre los errores leves generados durante la resolución de referencia. + + + + + + + + &reftitle.returnvalues; + + Una nueva instancia de Uri\WhatWg\Url. + + + + + &reftitle.errors; + &uri.errors.invalidUrlException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::resolve</methodname> + +resolve("/foo"); + +echo $url->toAsciiString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::__construct + Uri\WhatWg\Url::parse + Uri\Rfc3986\Uri::resolve + + + + diff --git a/reference/uri/uri/whatwg/url/serialize.xml b/reference/uri/uri/whatwg/url/serialize.xml new file mode 100644 index 000000000..eef117cc9 --- /dev/null +++ b/reference/uri/uri/whatwg/url/serialize.xml @@ -0,0 +1,59 @@ + + + + + Uri\WhatWg\Url::__serialize + Serializa el objeto Url + + + + &reftitle.description; + + public arrayUri\WhatWg\Url::__serialize + + + + Serializa el objeto Uri\WhatWg\Url. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve la URL serializada como un &array;. + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::__unserialize + Uri\Rfc3986\Uri::__serialize + + + + diff --git a/reference/uri/uri/whatwg/url/toasciistring.xml b/reference/uri/uri/whatwg/url/toasciistring.xml new file mode 100644 index 000000000..fddadbca9 --- /dev/null +++ b/reference/uri/uri/whatwg/url/toasciistring.xml @@ -0,0 +1,83 @@ + + + + + Uri\WhatWg\Url::toAsciiString + Recompone la URL como un &string; ASCII + + + + &reftitle.description; + + public stringUri\WhatWg\Url::toAsciiString + + + + Recompone la URL como un &string; ASCII, utilizando la transcripción punycode en lugar de caracteres Unicode en el + componente del host. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve la URL recompuesta como un &string; ASCII. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::toAsciiString</methodname> + +toAsciiString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::toUnicodeString + Uri\Rfc3986\Uri::toRawString + Uri\Rfc3986\Uri::toString + + + + diff --git a/reference/uri/uri/whatwg/url/tounicodestring.xml b/reference/uri/uri/whatwg/url/tounicodestring.xml new file mode 100644 index 000000000..47ae5857c --- /dev/null +++ b/reference/uri/uri/whatwg/url/tounicodestring.xml @@ -0,0 +1,82 @@ + + + + + Uri\WhatWg\Url::toUnicodeString + Recompone la URL como un &string; Unicode + + + + &reftitle.description; + + public stringUri\WhatWg\Url::toUnicodeString + + + + Recompone la URL como un &string;, donde el componente del host puede contener caracteres Unicode. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Devuelve la URL recompuesta como un &string; Unicode. + + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::toUnicodeString</methodname> + +toUnicodeString(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::toAsciiString + Uri\Rfc3986\Uri::toRawString + Uri\Rfc3986\Uri::toString + + + + diff --git a/reference/uri/uri/whatwg/url/unserialize.xml b/reference/uri/uri/whatwg/url/unserialize.xml new file mode 100644 index 000000000..6faaf1bb2 --- /dev/null +++ b/reference/uri/uri/whatwg/url/unserialize.xml @@ -0,0 +1,78 @@ + + + + + Uri\WhatWg\Url::__unserialize + Deserializa el parámetro data en un objeto Url + + + + &reftitle.description; + + public voidUri\WhatWg\Url::__unserialize + arraydata + + + Deserializa un parámetro data en un objeto Uri\WhatWg\Url. + + + + + &reftitle.parameters; + + + data + + + Los datos serializados como un array. + + + + + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.errors; + + Si el método __unserialize se invoca sobre una URL ya existente, se lanza una excepción + Error. + + + &uri.errors.invalidUriException; + + + + &reftitle.seealso; + + Uri\WhatWg\Url::__serialize + Uri\Rfc3986\Uri::__unserialize + + + + diff --git a/reference/uri/uri/whatwg/url/withfragment.xml b/reference/uri/uri/whatwg/url/withfragment.xml new file mode 100644 index 000000000..d8e0619f4 --- /dev/null +++ b/reference/uri/uri/whatwg/url/withfragment.xml @@ -0,0 +1,96 @@ + + + + + Uri\WhatWg\Url::withFragment + Modifica el componente de fragmento + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withFragment + stringnullfragment + + + Crea una nueva URL y modifica su componente de fragmento. + + + + + &reftitle.parameters; + + + fragment + + + Nuevo componente de fragmento. + + + + + + + + &reftitle.returnvalues; + + La instancia de Uri\WhatWg\Url modificada. + + + + + &reftitle.errors; + &uri.errors.invalidUrlException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::withFragment</methodname> + +withFragment("bar"); + +echo $url->getFragment(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::getFragment + Uri\Rfc3986\Uri::withFragment + + + + diff --git a/reference/uri/uri/whatwg/url/withhost.xml b/reference/uri/uri/whatwg/url/withhost.xml new file mode 100644 index 000000000..e85eab2b3 --- /dev/null +++ b/reference/uri/uri/whatwg/url/withhost.xml @@ -0,0 +1,97 @@ + + + + + Uri\WhatWg\Url::withHost + Modifica el componente de host + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withHost + stringnullhost + + + Crea una nueva URL y modifica su componente de host. + + + + + &reftitle.parameters; + + + host + + + Nuevo componente de host. + + + + + + + + &reftitle.returnvalues; + + La instancia de Uri\WhatWg\Url modificada. + + + + + &reftitle.errors; + &uri.errors.invalidUrlException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::withHost</methodname> + +withHost("example.net"); + +echo $url->getAsciiHost(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::getAsciiHost + Uri\WhatWg\Url::getUnicodeHost + Uri\Rfc3986\Uri::withHost + + + + diff --git a/reference/uri/uri/whatwg/url/withpassword.xml b/reference/uri/uri/whatwg/url/withpassword.xml new file mode 100644 index 000000000..26d2c10b9 --- /dev/null +++ b/reference/uri/uri/whatwg/url/withpassword.xml @@ -0,0 +1,97 @@ + + + + + Uri\WhatWg\Url::withPassword + Modifica el componente de contraseña + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withPassword + #[\SensitiveParameter]stringnullpassword + + + Crea una nueva URL y modifica su componente de contraseña. + + + + + &reftitle.parameters; + + + password + + + Nuevo componente de contraseña. + + + + + + + + &reftitle.returnvalues; + + La instancia de Uri\WhatWg\Url modificada. + + + + + &reftitle.errors; + &uri.errors.invalidUrlException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::withPassword</methodname> + +withPassword("pass"); + +echo $url->getPassword(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::getPassword + Uri\WhatWg\Url::getUsername + Uri\Rfc3986\Uri::withUserInfo + + + + diff --git a/reference/uri/uri/whatwg/url/withpath.xml b/reference/uri/uri/whatwg/url/withpath.xml new file mode 100644 index 000000000..b44f61950 --- /dev/null +++ b/reference/uri/uri/whatwg/url/withpath.xml @@ -0,0 +1,96 @@ + + + + + Uri\WhatWg\Url::withPath + Modifica el componente de ruta + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withPath + stringpath + + + Crea una nueva URL y modifica su componente de ruta. + + + + + &reftitle.parameters; + + + path + + + Nuevo componente de ruta. + + + + + + + + &reftitle.returnvalues; + + La instancia de Uri\WhatWg\Url modificada. + + + + + &reftitle.errors; + &uri.errors.invalidUrlException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::withPath</methodname> + +withPath("/baz"); + +echo $url->getPath(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::getPath + Uri\Rfc3986\Uri::withPath + + + + diff --git a/reference/uri/uri/whatwg/url/withport.xml b/reference/uri/uri/whatwg/url/withport.xml new file mode 100644 index 000000000..f62287379 --- /dev/null +++ b/reference/uri/uri/whatwg/url/withport.xml @@ -0,0 +1,96 @@ + + + + + Uri\WhatWg\Url::withPort + Modifica el componente de puerto + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withPort + intnullport + + + Crea una nueva URL y modifica su componente de puerto. + + + + + &reftitle.parameters; + + + port + + + Nuevo componente de puerto. + + + + + + + + &reftitle.returnvalues; + + La instancia de Uri\WhatWg\Url modificada. + + + + + &reftitle.errors; + &uri.errors.invalidUrlException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::withPort</methodname> + +withPort(443); + +echo $url->getPort(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::getPort + Uri\Rfc3986\Uri::withPort + + + + diff --git a/reference/uri/uri/whatwg/url/withquery.xml b/reference/uri/uri/whatwg/url/withquery.xml new file mode 100644 index 000000000..f388284c4 --- /dev/null +++ b/reference/uri/uri/whatwg/url/withquery.xml @@ -0,0 +1,96 @@ + + + + + Uri\WhatWg\Url::withQuery + Modifica el componente de consulta + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withQuery + stringnullquery + + + Crea una nueva URL y modifica su componente de consulta. + + + + + &reftitle.parameters; + + + query + + + Nuevo componente de consulta. + + + + + + + + &reftitle.returnvalues; + + La instancia de Uri\WhatWg\Url modificada. + + + + + &reftitle.errors; + &uri.errors.invalidUrlException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::withQuery</methodname> + +withQuery("foo=baz"); + +echo $url->getQuery(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::getQuery + Uri\Rfc3986\Uri::withQuery + + + + diff --git a/reference/uri/uri/whatwg/url/withscheme.xml b/reference/uri/uri/whatwg/url/withscheme.xml new file mode 100644 index 000000000..7f66c93de --- /dev/null +++ b/reference/uri/uri/whatwg/url/withscheme.xml @@ -0,0 +1,96 @@ + + + + + Uri\WhatWg\Url::withScheme + Modifica el componente de esquema + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withScheme + stringscheme + + + Crea una nueva URL y modifica su componente de esquema. + + + + + &reftitle.parameters; + + + scheme + + + Nuevo componente de esquema. + + + + + + + + &reftitle.returnvalues; + + La instancia de Uri\WhatWg\Url modificada. + + + + + &reftitle.errors; + &uri.errors.invalidUrlException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::withScheme</methodname> + +withScheme("http"); + +echo $url->getScheme(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::getScheme + Uri\Rfc3986\Uri::withScheme + + + + diff --git a/reference/uri/uri/whatwg/url/withusername.xml b/reference/uri/uri/whatwg/url/withusername.xml new file mode 100644 index 000000000..d6e00532b --- /dev/null +++ b/reference/uri/uri/whatwg/url/withusername.xml @@ -0,0 +1,98 @@ + + + + + Uri\WhatWg\Url::withUsername + Modifica el componente de nombre de usuario + + + + &reftitle.description; + + public staticUri\WhatWg\Url::withUsername + stringnullusername + + + Crea una nueva URL y modifica su componente de nombre de usuario. + + + + + &reftitle.parameters; + + + username + + + Nuevo componente de nombre de usuario. + + + + + + + + + &reftitle.returnvalues; + + La instancia de Uri\WhatWg\Url modificada. + + + + + &reftitle.errors; + &uri.errors.invalidUrlException; + + + + &reftitle.examples; + + Ejemplo básico de <methodname>Uri\WhatWg\Url::withUsername</methodname> + +withUsername("usr"); + +echo $url->getUsername(); +?> +]]> + + &example.outputs; + + + + + + + + &reftitle.seealso; + + Uri\WhatWg\Url::getUsername + Uri\WhatWg\Url::getPassword + Uri\Rfc3986\Uri::withUserInfo + + + + diff --git a/reference/uri/uri/whatwg/urlvalidationerror/construct.xml b/reference/uri/uri/whatwg/urlvalidationerror/construct.xml new file mode 100644 index 000000000..c44efabf8 --- /dev/null +++ b/reference/uri/uri/whatwg/urlvalidationerror/construct.xml @@ -0,0 +1,72 @@ + + + + + Uri\WhatWg\UrlValidationError::__construct + Construye un objeto UrlValidationError + + + + &reftitle.description; + + public Uri\WhatWg\UrlValidationError::__construct + stringcontext + Uri\WhatWg\UrlValidationErrorTypetype + boolfailure + + + Construye un objeto Uri\WhatWg\UrlValidationError. + + + + + &reftitle.parameters; + + + context + + + La URL de entrada en el punto donde se detectó el error. + + + + + type + + + El tipo de error. + + + + + failure + + + Si es &true;, el error ha causado que la URL sea rechazada como inválida. Si es &false;, + el error es un error leve que fue corregido automáticamente durante el análisis. + + + + + + + diff --git a/reference/uri/versions.xml b/reference/uri/versions.xml new file mode 100644 index 000000000..fac5ab996 --- /dev/null +++ b/reference/uri/versions.xml @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From e3b5dbc36205ad1c5e7042a285561e967f78c2c3 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Tue, 7 Apr 2026 00:38:44 +0200 Subject: [PATCH 2/4] Fix refpurpose entity in getasciihost.xml --- reference/uri/uri/whatwg/url/getasciihost.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/uri/uri/whatwg/url/getasciihost.xml b/reference/uri/uri/whatwg/url/getasciihost.xml index d46a66c22..5e8f81425 100644 --- a/reference/uri/uri/whatwg/url/getasciihost.xml +++ b/reference/uri/uri/whatwg/url/getasciihost.xml @@ -3,7 +3,7 @@ Uri\WhatWg\Url::getAsciiHost - Recupera el componente de host como una cadena ASCII + Recupera el componente de host como un &string; ASCII From 6ed8a788fd4996d0d119c97fb99afe26cf7c29d1 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Tue, 7 Apr 2026 08:45:47 +0200 Subject: [PATCH 3/4] Fix undefined ó entity in uricomparisonmode.xml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use UTF-8 character ó directly instead of ó HTML entity which is not defined in the DocBook XML context. --- reference/uri/uri.uricomparisonmode.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/uri/uri.uricomparisonmode.xml b/reference/uri/uri.uricomparisonmode.xml index 33097fbcb..cd2f1493f 100644 --- a/reference/uri/uri.uricomparisonmode.xml +++ b/reference/uri/uri.uricomparisonmode.xml @@ -1,7 +1,7 @@ - La enumeración Uri\UriComparisonMode + La enumeración Uri\UriComparisonMode Uri\UriComparisonMode @@ -22,12 +22,12 @@ IncludeFragment - El componente fragment se incluye en la comparación. + El componente fragment se incluye en la comparación. ExcludeFragment - El componente fragment se excluye de la comparación. + El componente fragment se excluye de la comparación. From d338fadf2fe41e4ab0f1581ace8bad88ac3e9e79 Mon Sep 17 00:00:00 2001 From: lacatoire Date: Tue, 7 Apr 2026 08:53:10 +0200 Subject: [PATCH 4/4] Replace HTML entities with UTF-8 characters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use UTF-8 characters (ó, á, í, é, ú) directly instead of HTML entities (ó, á, etc.) which are not defined in the DocBook XML context. --- reference/uri/uri.invaliduriexception.xml | 2 +- .../uri/uri.whatwg.invalidurlexception.xml | 6 +-- .../uri/uri.whatwg.urlvalidationerror.xml | 6 +-- .../uri/uri.whatwg.urlvalidationerrortype.xml | 48 +++++++++---------- 4 files changed, 31 insertions(+), 31 deletions(-) diff --git a/reference/uri/uri.invaliduriexception.xml b/reference/uri/uri.invaliduriexception.xml index db43b8ea0..d71b8a831 100644 --- a/reference/uri/uri.invaliduriexception.xml +++ b/reference/uri/uri.invaliduriexception.xml @@ -8,7 +8,7 @@
&reftitle.intro; - Indica que una URI dada es inválida o que una operación resultaría en una URI inválida. + Indica que una URI dada es inválida o que una operación resultaría en una URI inválida.
diff --git a/reference/uri/uri.whatwg.invalidurlexception.xml b/reference/uri/uri.whatwg.invalidurlexception.xml index 4e2d73b16..d57c8d8cb 100644 --- a/reference/uri/uri.whatwg.invalidurlexception.xml +++ b/reference/uri/uri.whatwg.invalidurlexception.xml @@ -8,9 +8,9 @@
&reftitle.intro; - Indica que una URL dada es inválida o que una operación - resultaría en una URL inválida según el - estándar WHATWG URL. + Indica que una URL dada es inválida o que una operación + resultaría en una URL inválida según el + estándar WHATWG URL.
diff --git a/reference/uri/uri.whatwg.urlvalidationerror.xml b/reference/uri/uri.whatwg.urlvalidationerror.xml index ee7cf88a4..5ed44ca5e 100644 --- a/reference/uri/uri.whatwg.urlvalidationerror.xml +++ b/reference/uri/uri.whatwg.urlvalidationerror.xml @@ -58,7 +58,7 @@ context - La URL de entrada en el punto donde se detectó el error. + La URL de entrada en el punto donde se detectó el error. @@ -74,8 +74,8 @@ failure - Si es &true;, el error provocó que la URL fuera rechazada como inválida. Si es &false;, - el error es un error leve que fue corregido automáticamente durante el análisis. + Si es &true;, el error provocó que la URL fuera rechazada como inválida. Si es &false;, + el error es un error leve que fue corregido automáticamente durante el análisis. diff --git a/reference/uri/uri.whatwg.urlvalidationerrortype.xml b/reference/uri/uri.whatwg.urlvalidationerrortype.xml index 66b8737af..6db4ee405 100644 --- a/reference/uri/uri.whatwg.urlvalidationerrortype.xml +++ b/reference/uri/uri.whatwg.urlvalidationerrortype.xml @@ -1,7 +1,7 @@ - La enumeración Uri\WhatWg\UrlValidationErrorType + La enumeración Uri\WhatWg\UrlValidationErrorType Uri\WhatWg\UrlValidationErrorType @@ -22,116 +22,116 @@ DomainToAscii - Error durante el proceso de conversión del nombre de dominio a una cadena ASCII. + Error durante el proceso de conversión del nombre de dominio a una cadena ASCII. DomainToUnicode - Error durante el proceso de conversión del nombre de dominio a una cadena Unicode. + Error durante el proceso de conversión del nombre de dominio a una cadena Unicode. DomainInvalidCodePoint - El host de la entrada contiene un punto de código de dominio prohibido. + El host de la entrada contiene un punto de código de dominio prohibido. HostInvalidCodePoint - Un host opaco (en una URL que no es especial) contiene un punto de código de host prohibido. + Un host opaco (en una URL que no es especial) contiene un punto de código de host prohibido. Ipv4EmptyPart - Una dirección IPv4 termina con un U+002E (.). + Una dirección IPv4 termina con un U+002E (.). Ipv4TooManyParts - Una dirección IPv4 no consta exactamente de 4 partes. + Una dirección IPv4 no consta exactamente de 4 partes. Ipv4NonNumericPart - Una parte de la dirección IPv4 no es numérica. + Una parte de la dirección IPv4 no es numérica. Ipv4NonDecimalPart - La dirección IPv4 contiene números expresados con dígitos hexadecimales u octales. + La dirección IPv4 contiene números expresados con dígitos hexadecimales u octales. Ipv4OutOfRangePart - Una parte de la dirección IPv4 supera 255. + Una parte de la dirección IPv4 supera 255. Ipv6Unclosed - A una dirección IPv6 le falta el cierre U+005D (]). + A una dirección IPv6 le falta el cierre U+005D (]). Ipv6InvalidCompression - Una dirección IPv6 comienza con una compresión incorrecta. + Una dirección IPv6 comienza con una compresión incorrecta. Ipv6TooManyPieces - Una dirección IPv6 contiene más de 8 piezas. + Una dirección IPv6 contiene más de 8 piezas. Ipv6MultipleCompression - Una dirección IPv6 está comprimida en más de un lugar. + Una dirección IPv6 está comprimida en más de un lugar. Ipv6InvalidCodePoint - Una dirección IPv6 contiene un punto de código que no es ni un dígito hexadecimal ASCII + Una dirección IPv6 contiene un punto de código que no es ni un dígito hexadecimal ASCII ni un U+003A (:). O termina de forma inesperada. Ipv6TooFewPieces - Una dirección IPv6 sin compresión contiene menos de 8 piezas. + Una dirección IPv6 sin compresión contiene menos de 8 piezas. Ipv4InIpv6TooManyPieces - Una dirección IPv6 con sintaxis de dirección IPv4: la dirección IPv6 tiene más de 6 piezas. + Una dirección IPv6 con sintaxis de dirección IPv4: la dirección IPv6 tiene más de 6 piezas. Ipv4InIpv6InvalidCodePoint - Una dirección IPv6 con sintaxis de dirección IPv4. + Una dirección IPv6 con sintaxis de dirección IPv4. Ipv4InIpv6OutOfRangePart - Una dirección IPv6 con sintaxis de dirección IPv4: una parte IPv4 supera 255. + Una dirección IPv6 con sintaxis de dirección IPv4: una parte IPv4 supera 255. Ipv4InIpv6TooFewParts - Una dirección IPv6 con sintaxis de dirección IPv4: una dirección IPv4 contiene muy pocas partes. + Una dirección IPv6 con sintaxis de dirección IPv4: una dirección IPv4 contiene muy pocas partes. InvalidUrlUnit - Se encontró un punto de código que no es una unidad de URL. + Se encontró un punto de código que no es una unidad de URL. SpecialSchemeMissingFollowingSolidus - El esquema de la entrada no está seguido de //. + El esquema de la entrada no está seguido de //. MissingSchemeNonRelativeUrl - La entrada carece de un esquema, porque no comienza con un carácter alfabético ASCII, y no se proporcionó + La entrada carece de un esquema, porque no comienza con un carácter alfabético ASCII, y no se proporcionó una URL base o la URL base no puede utilizarse como URL base porque tiene una ruta opaca. @@ -159,7 +159,7 @@ PortInvalid - El puerto de la entrada es inválido. + El puerto de la entrada es inválido.