Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions language-snippets.ent
Original file line number Diff line number Diff line change
Expand Up @@ -4958,6 +4958,19 @@ Les sources de hasard par ordre de priorité sont les suivantes :
</listitem>
'>

<!-- URI snippets -->
<!ENTITY uri.errors.invalidUriException '
<simpara>
Si l&apos;URI résultante est invalide, une exception <exceptionname>Uri\InvalidUriException</exceptionname> est lancée.
</simpara>
'>

<!ENTITY uri.errors.invalidUrlException '
<simpara>
Si l&apos;URL résultante est invalide, une exception <exceptionname>Uri\WhatWg\InvalidUrlException</exceptionname> est lancée.
</simpara>
'>

<!-- UOPZ snippets -->

<!ENTITY uopz.warn.removed.function-5-0-0 '<warning
Expand Down
56 changes: 56 additions & 0 deletions reference/uri/book.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4f62b60b56562114d9d816e2e5f13b40a5614c26 Maintainer: lacatoire Status: ready -->
<book xml:id="book.uri" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" annotations="interactive">
<?phpdoc extension-membership="core" ?>
<title>URI</title>
<titleabbrev>URI</titleabbrev>

<preface xml:id="intro.uri">
&reftitle.intro;
<simpara>
Ce chapitre décrit les fonctions qui permettent de travailler avec
les identifiants de ressource uniformes (URI). Un URI est une chaîne de caractères
utilisée pour identifier une ressource. Les URI sont utilisés dans les technologies
web pour identifier des ressources sur Internet.
</simpara>
<simpara>
Cette extension implémente des fonctionnalités qui suivent les spécifications
<link xlink:href="&url.url.rfc3986;">RFC 3986,
Uniform Resource Identifier (URI): Generic Syntax</link> et
<link xlink:href="&url.url.whatwg-url;">WHATWG URL Standard</link>.
</simpara>
</preface>

&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;
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
67 changes: 67 additions & 0 deletions reference/uri/uri.invaliduriexception.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 8a341f6c434f352133a6ac7eb5a7d90208604d84 Maintainer: lacatoire Status: ready -->
<reference xml:id="class.uri-invaliduriexception" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>La classe Uri\InvalidUriException</title>
<titleabbrev>Uri\InvalidUriException</titleabbrev>

<partintro>
<section xml:id="uri-invaliduriexception.intro">
&reftitle.intro;
<simpara>
Indique qu'une URI donnée est invalide ou qu'une opération résulterait en une URI invalide.
</simpara>
</section>

<section xml:id="uri-invaliduriexception.synopsis">
&reftitle.classsynopsis;

<packagesynopsis>
<package>Uri</package>

<classsynopsis class="class">
<ooexception>
<exceptionname>InvalidUriException</exceptionname>
</ooexception>

<ooclass>
<modifier>extends</modifier>
<classname>Uri\UriException</classname>
</ooclass>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
</xi:include>

<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Exception'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Exception'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
</packagesynopsis>
</section>
</partintro>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
61 changes: 61 additions & 0 deletions reference/uri/uri.rfc3986.uri.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: e4aca6ce959c13feaaf1a1c880defd94cb2d8b06 Maintainer: lacatoire Status: ready -->
<reference xml:id="class.uri-rfc3986-uri" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>La classe Uri\Rfc3986\Uri</title>
<titleabbrev>Uri\Rfc3986\Uri</titleabbrev>

<partintro>
<section xml:id="uri-rfc3986-uri.intro">
&reftitle.intro;
<simpara>
</simpara>
</section>

<section xml:id="uri-rfc3986-uri.synopsis">
&reftitle.classsynopsis;

<packagesynopsis>
<package>Uri\Rfc3986</package>

<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<modifier>readonly</modifier>
<classname>Uri</classname>
</ooclass>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.uri-rfc3986-uri')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Uri\\Rfc3986\\Uri'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.uri-rfc3986-uri')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Uri\\Rfc3986\\Uri'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
</packagesynopsis>
</section>
</partintro>

&reference.uri.uri.rfc3986.entities.uri;

</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
56 changes: 56 additions & 0 deletions reference/uri/uri.uricomparisonmode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 330903cf6a567b885d24d0a468960d1e3b9ae213 Maintainer: lacatoire Status: ready -->
<reference xml:id="enum.uri-uricomparisonmode" role="enum" xmlns="http://docbook.org/ns/docbook">
<title>L'énumération Uri\UriComparisonMode</title>
<titleabbrev>Uri\UriComparisonMode</titleabbrev>

<partintro>
<section xml:id="enum.uri-uricomparisonmode.intro">
&reftitle.intro;
<simpara>
</simpara>
</section>

<section xml:id="enum.uri-uricomparisonmode.synopsis">
&reftitle.enumsynopsis;

<packagesynopsis>
<package>Uri</package>

<enumsynopsis>
<enumname>UriComparisonMode</enumname>

<enumitem>
<enumidentifier>IncludeFragment</enumidentifier>
<enumitemdescription>Le composant <literal>fragment</literal> est inclus dans la comparaison.</enumitemdescription>
</enumitem>

<enumitem>
<enumidentifier>ExcludeFragment</enumidentifier>
<enumitemdescription>Le composant <literal>fragment</literal> est exclu de la comparaison.</enumitemdescription>
</enumitem>
</enumsynopsis>
</packagesynopsis>
</section>
</partintro>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
67 changes: 67 additions & 0 deletions reference/uri/uri.urierror.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 8a341f6c434f352133a6ac7eb5a7d90208604d84 Maintainer: lacatoire Status: ready -->
<reference xml:id="class.uri-urierror" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>La classe Uri\UriError</title>
<titleabbrev>Uri\UriError</titleabbrev>

<partintro>
<section xml:id="uri-urierror.intro">
&reftitle.intro;
<simpara>
La classe de base pour les <type>Error</type> qui surviennent lors du traitement des URI.
</simpara>
</section>

<section xml:id="uri-urierror.synopsis">
&reftitle.classsynopsis;

<packagesynopsis>
<package>Uri</package>

<classsynopsis class="class">
<ooexception>
<exceptionname>UriError</exceptionname>
</ooexception>

<ooclass>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
</xi:include>

<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Error'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Error'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
</packagesynopsis>
</section>
</partintro>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
67 changes: 67 additions & 0 deletions reference/uri/uri.uriexception.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 8a341f6c434f352133a6ac7eb5a7d90208604d84 Maintainer: lacatoire Status: ready -->
<reference xml:id="class.uri-uriexception" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>La classe Uri\UriException</title>
<titleabbrev>Uri\UriException</titleabbrev>

<partintro>
<section xml:id="uri-uriexception.intro">
&reftitle.intro;
<simpara>
La classe de base pour les <type>Exception</type> qui surviennent lors du traitement des URI.
</simpara>
</section>

<section xml:id="uri-uriexception.synopsis">
&reftitle.classsynopsis;

<packagesynopsis>
<package>Uri</package>

<classsynopsis class="class">
<ooexception>
<exceptionname>UriException</exceptionname>
</ooexception>

<ooclass>
<modifier>extends</modifier>
<classname>Exception</classname>
</ooclass>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
</xi:include>

<classsynopsisinfo role="comment">&InheritedMethods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Exception'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.exception')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='Exception'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
</packagesynopsis>
</section>
</partintro>
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Loading
Loading