cvs: phpdoc-fr /reference/spl/cachingiterator hasnext.xml next.xml rewind.xml tostring.xml valid.xml /reference/spl_types book.xml configure.xml
constants.xml reference.xml splbool.xml splenum.xml splfloat.xml splint.xml versions.xml /reference/spl_types/splbool construct.xml
/reference/spl_types/splenum construct.xml /reference/spl_types/splfloat construct.xml /reference/spl_types/splint construct.xml
/reference/wddx/functions wddx-add-vars.xml /reference/xdiff book.xml

From: Date: Mon, 05 Jan 2009 20:09:08 +0000
Subject: cvs: phpdoc-fr /reference/spl/cachingiterator hasnext.xml next.xml rewind.xml tostring.xml valid.xml /reference/spl_types book.xml configure.xml
constants.xml reference.xml splbool.xml splenum.xml splfloat.xml splint.xml versions.xml /reference/spl_types/splbool construct.xml
/reference/spl_types/splenum construct.xml /reference/spl_types/splfloat construct.xml /reference/spl_types/splint construct.xml
/reference/wddx/functions wddx-add-vars.xml /reference/xdiff book.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-6278@lists.php.net to get a copy of this message
dams Mon Jan 5 20:09:08 2009 UTC Added files: /phpdoc-fr/reference/spl_types book.xml configure.xml constants.xml reference.xml splbool.xml splenum.xml splfloat.xml splint.xml versions.xml /phpdoc-fr/reference/spl_types/splbool construct.xml /phpdoc-fr/reference/spl_types/splenum construct.xml /phpdoc-fr/reference/spl_types/splfloat construct.xml /phpdoc-fr/reference/spl_types/splint construct.xml Modified files: /phpdoc-fr/reference/spl/cachingiterator hasnext.xml next.xml rewind.xml tostring.xml valid.xml /phpdoc-fr/reference/wddx/functions wddx-add-vars.xml /phpdoc-fr/reference/xdiff book.xml Log: synch with en

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl/cachingiterator/hasnext.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/spl/cachingiterator/hasnext.xml diff -u phpdoc-fr/reference/spl/cachingiterator/hasnext.xml:1.1 phpdoc-fr/reference/spl/cachingiterator/hasnext.xml:1.2 --- phpdoc-fr/reference/spl/cachingiterator/hasnext.xml:1.1 Sun May 18 15:44:01 2008 +++ phpdoc-fr/reference/spl/cachingiterator/hasnext.xml Mon Jan 5 20:09:07 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="cachingiterator.hasnext" xmlns="http://docbook.org/ns/docbook"> @@ -12,8 +12,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>CachingIterator::hasNext</methodname> - <void/> + <modifier>public</modifier> <type>void</type><methodname>CachingIterator::hasNext</methodname> + <void /> </methodsynopsis> &warn.undocumented.func; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl/cachingiterator/next.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/spl/cachingiterator/next.xml diff -u phpdoc-fr/reference/spl/cachingiterator/next.xml:1.1 phpdoc-fr/reference/spl/cachingiterator/next.xml:1.2 --- phpdoc-fr/reference/spl/cachingiterator/next.xml:1.1 Sun May 18 15:44:01 2008 +++ phpdoc-fr/reference/spl/cachingiterator/next.xml Mon Jan 5 20:09:07 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="cachingiterator.next" xmlns="http://docbook.org/ns/docbook"> @@ -12,8 +12,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>void</type><methodname>CachingIterator::next</methodname> - <void/> + <modifier>public</modifier> <type>void</type><methodname>CachingIterator::next</methodname> + <void /> </methodsynopsis> &warn.undocumented.func; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl/cachingiterator/rewind.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/spl/cachingiterator/rewind.xml diff -u phpdoc-fr/reference/spl/cachingiterator/rewind.xml:1.1 phpdoc-fr/reference/spl/cachingiterator/rewind.xml:1.2 --- phpdoc-fr/reference/spl/cachingiterator/rewind.xml:1.1 Sun May 18 15:44:01 2008 +++ phpdoc-fr/reference/spl/cachingiterator/rewind.xml Mon Jan 5 20:09:07 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="cachingiterator.rewind" xmlns="http://docbook.org/ns/docbook"> @@ -12,9 +12,9 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>void</type><methodname>CachingIterator::rewind</methodname> - <void/> - </methodsynopsis> + <modifier>public</modifier> <type>void</type><methodname>CachingIterator::rewind</methodname> + <void /> +</methodsynopsis> &warn.undocumented.func; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl/cachingiterator/tostring.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/spl/cachingiterator/tostring.xml diff -u phpdoc-fr/reference/spl/cachingiterator/tostring.xml:1.2 phpdoc-fr/reference/spl/cachingiterator/tostring.xml:1.3 --- phpdoc-fr/reference/spl/cachingiterator/tostring.xml:1.2 Thu Jun 5 06:39:05 2008 +++ phpdoc-fr/reference/spl/cachingiterator/tostring.xml Mon Jan 5 20:09:07 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="cachingiterator.tostring" xmlns="http://docbook.org/ns/docbook"> @@ -12,8 +12,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>string</type><methodname>CachingIterator::__toString</methodname> - <void/> + <modifier>public</modifier> <type>void</type><methodname>CachingIterator::__toString</methodname> + <void /> </methodsynopsis> &warn.undocumented.func; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl/cachingiterator/valid.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/spl/cachingiterator/valid.xml diff -u phpdoc-fr/reference/spl/cachingiterator/valid.xml:1.1 phpdoc-fr/reference/spl/cachingiterator/valid.xml:1.2 --- phpdoc-fr/reference/spl/cachingiterator/valid.xml:1.1 Sun May 18 15:44:01 2008 +++ phpdoc-fr/reference/spl/cachingiterator/valid.xml Mon Jan 5 20:09:07 2009 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="cachingiterator.valid" xmlns="http://docbook.org/ns/docbook"> @@ -12,8 +12,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>CachingIterator::valid</methodname> - <void/> + <modifier>public</modifier> <type>void</type><methodname>CachingIterator::valid</methodname> + <void /> </methodsynopsis> &warn.undocumented.func; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/wddx/functions/wddx-add-vars.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/wddx/functions/wddx-add-vars.xml diff -u phpdoc-fr/reference/wddx/functions/wddx-add-vars.xml:1.11 phpdoc-fr/reference/wddx/functions/wddx-add-vars.xml:1.12 --- phpdoc-fr/reference/wddx/functions/wddx-add-vars.xml:1.11 Sun Feb 17 16:00:17 2008 +++ phpdoc-fr/reference/wddx/functions/wddx-add-vars.xml Mon Jan 5 20:09:08 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.wddx-add-vars" xmlns="http://docbook.org/ns/docbook"> @@ -18,8 +18,8 @@ <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> </methodsynopsis> <para> - Sert à enregistrer les variables passées en argument, et les - ajouter au paquet repéré par son identifiant <parameter>packet_id</parameter>. + Sert à enregistrer et à ajouter les variables passées en argument + au paquet repéré par son identifiant <parameter>packet_id</parameter>. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/xdiff/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/xdiff/book.xml diff -u phpdoc-fr/reference/xdiff/book.xml:1.1 phpdoc-fr/reference/xdiff/book.xml:1.2 --- phpdoc-fr/reference/xdiff/book.xml:1.1 Fri Jun 6 06:52:55 2008 +++ phpdoc-fr/reference/xdiff/book.xml Mon Jan 5 20:09:08 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <!-- Purpose: basic.text --> <!-- Membership: pecl, external --> @@ -12,8 +12,28 @@ <preface xml:id="intro.xdiff"> &reftitle.intro; <para> - L'extension xdiff crée et applique des correctifs sur des fichiers textes - mais aussi sur les fichiers binaires. + L'extension xdiff permet la création et l'application de patchs, contenant + les différences entre différentes versions d'un même fichier. + </para> + <para> + Cette extension supporte deux modes d'opération : sur les chaînes et sur les fichiers, + ainsi que deux formats de patch : unifié et binaire. Les patches unifiés sont parfaits + pour les fichiers textes, car ils sont lisibles et faciles à passer en revue. Les fichiers + binaires comme les archives compressées ou les images sont plus adaptés aux patches + binaires, car ils sont compatibles avec les données binaires, et gère les caractères + qui ne s'impriment pas. + </para> + <para> + Depuis la version 1.5.0, il y a deux jeux de fonctions pour générer les fichiers + binaires. Les nouvelles fonctions, <function>xdiff_string_rabdiff</function> et + <function>xdiff_file_rabdiff</function> génère un résultat compatible avec les anciennes + fonctions, mais généralement plus rapidement, et avec des résultats plus compacts. Pour plus + de détails sur la génération de patchs binaires, et leur différence, voyez le site Web de + <link xlink:href="&url.xdiff;">libxdiff</link>. + </para> + <para> + Cette extension utilise la bibliothèque libxdiff pour implémenter ces fonctions. Reportez-vous à + <link xlink:href="&url.xdiff;">&url.xdiff;</link> pour plus d'informations. </para> </preface> <!-- }}} --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/book.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/book.xml +++ phpdoc-fr/reference/spl_types/book.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- State: new --> <!-- EN-Revision: 1.6 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <book xml:id="book.spl-types" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Gestion des types SPL</title> <titleabbrev>Types SPL</titleabbrev> <!-- {{{ preface --> <preface xml:id="intro.spl-types"> &reftitle.intro; <para> Cette extension tend à aider les développeurs à faire de PHP un langage à type fort. Il fournit des classes pour gérer des objets tels que <type>integer</type>, <type>float</type>, <type>bool</type>, <type>enum</type>, etc. </para> &warn.experimental; </preface> <!-- }}} --> &reference.spl-types.splint; &reference.spl-types.splfloat; &reference.spl-types.splenum; &reference.spl-types.splbool; </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:"../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/configure.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/configure.xml +++ phpdoc-fr/reference/spl_types/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <section xml:id="spl-types.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.install; <para> &pecl.info; <link xlink:href="http://pecl.php.net/package/spl_types">http://pecl.php.net/package/spl_types</link> </para> <para> pecl install spl_types </para> </section> <!-- 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:"../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/constants.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/constants.xml +++ phpdoc-fr/reference/spl_types/constants.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <section xml:id="spl-types.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.constants; &extension.constants; <para> <variablelist> <varlistentry> <term> <constant>__default</constant> (Chaque objet SPL_Types contient une constante __default où la valeur de l'object est stockée. <type>int/float/bool/enum</type>) </term> <listitem> <simpara> </simpara> </listitem> </varlistentry> </variablelist> </para> </section> <!-- 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:"../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/reference.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/reference.xml +++ phpdoc-fr/reference/spl_types/reference.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <reference xml:id="ref.spl-types" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>&Functions; de types SPL</title> </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:"../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/splbool.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/splbool.xml +++ phpdoc-fr/reference/spl_types/splbool.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.splbool" 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 SplBool</title> <titleabbrev>SplBool</titleabbrev> <partintro> <!-- {{{ splbool intro --> <section xml:id="splbool.intro"> &reftitle.intro; <para> La classe SplBool est utilisée pour assurer le typage fort du type booléen. </para> </section> <!-- }}} --> <section xml:id="splbool.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SplBool</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SplBool</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Méthodes</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splbool')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" /> </classsynopsis> </section> </partintro> &reference.spl-types.entities.splbool; </phpdoc:classref> <!-- 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:"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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/splenum.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/splenum.xml +++ phpdoc-fr/reference/spl_types/splenum.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.splenum" 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 SplEnum</title> <titleabbrev>SplEnum</titleabbrev> <partintro> <!-- {{{ splenum intro --> <section xml:id="splenum.intro"> &reftitle.intro; <para> La classe SplEnum est utilisée pour assurer le typage fort du type booléen. </para> </section> <!-- }}} --> <section xml:id="splenum.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SplEnum</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <modifier>abstract</modifier><classname>SplEnum</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Méthodes</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splenum')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" /> </classsynopsis> </section> </partintro> &reference.spl-types.entities.splenum; </phpdoc:classref> <!-- 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:"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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/splfloat.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/splfloat.xml +++ phpdoc-fr/reference/spl_types/splfloat.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.splfloat" 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 SplFloat</title> <titleabbrev>SplFloat</titleabbrev> <partintro> <!-- {{{ splfloat intro --> <section xml:id="splfloat.intro"> &reftitle.intro; <para> La classe SplFloat est utilisée pour assurer le typage fort du type booléen. </para> </section> <!-- }}} --> <section xml:id="splfloat.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SplFloat</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SplFloat</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Méthodes</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splfloat')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" /> </classsynopsis> </section> </partintro> &reference.spl-types.entities.splfloat; </phpdoc:classref> <!-- 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:"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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/splint.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/splint.xml +++ phpdoc-fr/reference/spl_types/splint.xml <?xml version="1.0" encoding="utf-8"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.splint" 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 SplInt</title> <titleabbrev>SplInt</titleabbrev> <partintro> <!-- {{{ splint intro --> <section xml:id="splint.intro"> &reftitle.intro; <para> La classe SplInt est utilisée pour assurer le typage fort du type booléen. </para> </section> <!-- }}} --> <section xml:id="splint.synopsis"> &reftitle.classsynopsis; <!-- {{{ Synopsis --> <classsynopsis> <ooclass><classname>SplInt</classname></ooclass> <!-- {{{ Class synopsis --> <classsynopsisinfo> <ooclass> <classname>SplInt</classname> </ooclass> </classsynopsisinfo> <!-- }}} --> <classsynopsisinfo role="comment">Méthodes</classsynopsisinfo> <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.splint')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[1])" /> </classsynopsis> </section> </partintro> &reference.spl-types.entities.splint; </phpdoc:classref> <!-- 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:"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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/versions.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/versions.xml +++ phpdoc-fr/reference/spl_types/versions.xml <?xml version='1.0' encoding='utf-8'?> <!-- $Revision: 1.1 $ --> <!-- Do NOT translate this file --> <versions> <function name='spltype::__construct' from='PECL spl_types &gt;= 0.1.0'/> <function name='splenum::getconstlist' from='PECL spl_types &gt;= 0.1.0'/> </versions> <!-- 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:"../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/splbool/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/splbool/construct.xml +++ phpdoc-fr/reference/spl_types/splbool/construct.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <refentry xml:id="splbool.construct" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplBool::__construct</refname> <refpurpose>Construit un objet de type booléen</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <constructorsynopsis> <methodname>SplBool::__construct</methodname> <void /> </constructorsynopsis> <para> Ce constructeur est utilisé pour attribuer et garantir le type de l'objet booléen. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <variablelist> <varlistentry> <term><parameter>input</parameter></term> <listitem> <para> Le paramètre <parameter>input</parameter> prendre un <type>boolean</type> et produit une exception <classname>UnexpectedValueException</classname> si autre chose lui est passé. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>strict</parameter></term> <listitem> <para> Une variable de type <type>boolean</type> pour indiquer la souplesse du typage. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Exemple avec <function>SplBool::__construct</function></title> <programlisting role="php"> <![CDATA[ <?php $one = new SplBool(true); $two = new SplBool(1); var_dump($one); var_dump($two); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ object(SplBool)#1 (1) { ["__default"]=> bool(true) } object(SplBool)#1 (1) { ["__default"]=> bool(true) } ]]> </screen> </example> </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/splenum/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/splenum/construct.xml +++ phpdoc-fr/reference/spl_types/splenum/construct.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <refentry xml:id="splenum.construct" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplEnum::__construct</refname> <refpurpose>Construit un objet de type enum</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <constructorsynopsis> <methodname>SplEnum::__construct</methodname> <void /> </constructorsynopsis> <para> Ce constructeur est utilisé pour attribuer et garantir le type de l'objet "Enum". </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>input</parameter></term> <listitem> <para> Le paramètre <parameter>input</parameter> prendre un <type>integer</type> et produit une exception <classname>UnexpectedValueException</classname> si autre chose lui est passé. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>strict</parameter></term> <listitem> <para> Une variable de type <type>boolean</type> pour indiquer la souplesse du typage. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Exemple avec <function>SplEnum::__construct</function></title> <programlisting role="php"> <![CDATA[ <?php class EnumOne extends SplEnum { const __default = 1; } class EnumTwo extends SplEnum { const __default = 2; } class EnumThree extends SplEnum { const __default = 3; } $enumOne = new EnumOne(); $enumTwo = new EnumTwo(); $enumThree = new EnumThree(); echo 'Enum un : ' . $enumOne . PHP_EOL; echo 'Enum deux : ' . $enumTwo . PHP_EOL; echo 'Enum trois : ' . $enumThree . PHP_EOL; ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Enum un : 1 Enum deux : 2 Enum trois : 3 ]]> </screen> </example> </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/splfloat/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/splfloat/construct.xml +++ phpdoc-fr/reference/spl_types/splfloat/construct.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <refentry xml:id="splfloat.construct" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplFloat::__construct</refname> <refpurpose>Construit un objet de type nombre décimal</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <constructorsynopsis> <methodname>SplFloat::__construct</methodname> <void /> </constructorsynopsis> <para> Ce constructeur est utilisé pour attribuer et garantir le type de l'objet "Float". </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>input</parameter></term> <listitem> <para> Le paramètre <parameter>input</parameter> prendre un <type>float</type> et produit une exception <classname>UnexpectedValueException</classname> si autre chose lui est passé. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>strict</parameter></term> <listitem> <para> Une variable de type <type>boolean</type> pour indiquer la souplesse du typage. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Exemple avec <function>SplFloat::__construct</function></title> <programlisting role="php"> <![CDATA[ <?php $float = new SplFloat(3.154); $newFloat = new SplFloat(3); try { $float = 'Essayez de transtyper cette chaîne pour le fun'; } catch (UnexpectedValueException $uve) { echo $uve->getMessage() . PHP_EOL; } var_dump($float); var_dump($newFloat); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Value not a float object(SplFloat)#1 (1) { ["__default"]=> float(3.154) } object(SplFloat)#2 (1) { ["__default"]=> float(3) } ]]> </screen> </example> </para> </refsect1> </refentry> <!-- 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:"../../../../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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/spl_types/splint/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/spl_types/splint/construct.xml +++ phpdoc-fr/reference/spl_types/splint/construct.xml <?xml version='1.0' encoding='iso-8859-1'?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.5 Maintainer: dams Status: ready --> <!-- Reviewed: no --> <refentry xml:id="splint.construct" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>SplInt::__construct</refname> <refpurpose>Construit un objet de type integer</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <constructorsynopsis> <methodname>SplInt::__construct</methodname> <void /> </constructorsynopsis> <para> Ce constructeur est utilisé pour attribuer et garantir le type de l'objet "Integer". </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>input</parameter></term> <listitem> <para> Le paramètre <parameter>input</parameter> prendre un <type>integer</type> et produit une exception <classname>UnexpectedValueException</classname> si autre chose lui est passé. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>strict</parameter></term> <listitem> <para> Une variable de type <type>boolean</type> pour indiquer la souplesse du typage. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Exemple avec <function>SplInt::__construct</function></title> <programlisting role="php"> <![CDATA[ <?php $int = new SplInt(94); try { $int = 'Essayez de transtyper une chaîne pour le fun'; } catch (UnexpectedValueException $uve) { echo $uve->getMessage() . PHP_EOL; } var_dump($int); echo $int; // Affiche 94 ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ Value not an integer object(SplInt)#1 (1) { ["__default"]=> int(94) } 94 ]]> </screen> </example> </para> </refsect1> </refentry> <!-- 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:"../../../../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 -->
« previous php.doc.fr (#6278) next »