cvs: phpdoc-fr /internals/zendapi calling-user-functions.xml index.xml intro.xml /internals/zendapi/functions zend_wrong_param_count.xml
/internals/zendapi/macros ZEND_PUTC.xml ZEND_PUTS.xml ZEND_TRUTH.xml Z_BVAL.xml Z_BVAL_P.xml
| From: | Yannick Torres | Date: | Mon, 23 Jan 2006 21:36:59 +0000 |
| Subject: | cvs: phpdoc-fr /internals/zendapi calling-user-functions.xml index.xml intro.xml /internals/zendapi/functions zend_wrong_param_count.xml /internals/zendapi/macros ZEND_PUTC.xml ZEND_PUTS.xml ZEND_TRUTH.xml Z_BVAL.xml Z_BVAL_P.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-4781@lists.php.net to get a copy of this message | ||
yannick Mon Jan 23 21:36:59 2006 UTC
Modified files:
/phpdoc-fr/internals/zendapi calling-user-functions.xml index.xml
intro.xml
/phpdoc-fr/internals/zendapi/functions zend_wrong_param_count.xml
/phpdoc-fr/internals/zendapi/macros Z_BVAL_P.xml Z_BVAL.xml
ZEND_PUTC.xml ZEND_PUTS.xml
ZEND_TRUTH.xml
Log:
sync with EN
http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/calling-user-functions.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/internals/zendapi/calling-user-functions.xml diff -u phpdoc-fr/internals/zendapi/calling-user-functions.xml:1.2 phpdoc-fr/internals/zendapi/calling-user-functions.xml:1.3 --- phpdoc-fr/internals/zendapi/calling-user-functions.xml:1.2 Mon Dec 12 18:23:52 2005 +++ phpdoc-fr/internals/zendapi/calling-user-functions.xml Mon Jan 23 21:36:59 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <sect1 id="zend.calling-user-functions"> <title>Appel des fonctions utilisateurs</title> <para> @@ -113,19 +113,26 @@ function test_function() { - print("Nous sommes dans une fonction de test !<br />"); + echo "Nous sommes dans une fonction de test !\n"; - return("hello"); + return 'hello'; } $return_value = call_userland("test_function"); -print("Valeur retournée : \"$return_value\"<br />"); +echo "Valeur retournée : '$return_value'"; ?> ]]> - </programlisting> - <graphic fileref="figures/zend.10-userland.png"/> +</programlisting> +&example.outputs; +<para> + <![CDATA[ +Nous sommes dans une fonction de test ! +We have 3 as type +Valeur retournée : 'hello' +]]> + </para> </sect1> <!-- Keep this comment at the end of the file http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/index.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/index.xml diff -u phpdoc-fr/internals/zendapi/index.xml:1.1 phpdoc-fr/internals/zendapi/index.xml:1.2 --- phpdoc-fr/internals/zendapi/index.xml:1.1 Fri Sep 2 21:52:45 2005 +++ phpdoc-fr/internals/zendapi/index.xml Mon Jan 23 21:36:59 2006 @@ -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.4 Maintainer: yannick Status: ready --> <chapter id="zend"> <title>&ZendAPI;</title> &internals.zendapi.intro; @@ -23,8 +23,9 @@ &internals.zendapi.where-to-go; &internals.zendapi.configuration-macros; &internals.zendapi.api-macros; - <sect1><title>Fonctions de l'API (travail en cours)</title> - &internals.zendapi.functions; + <sect1 id="zendapi-reference"><title>Fonctions et macros de l'API (travail en cours)</title> + &internals.zendapi.functions; + &internals.zendapi.macros; </sect1> </chapter> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/intro.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/internals/zendapi/intro.xml diff -u phpdoc-fr/internals/zendapi/intro.xml:1.2 phpdoc-fr/internals/zendapi/intro.xml:1.3 --- phpdoc-fr/internals/zendapi/intro.xml:1.2 Sun Dec 11 20:54:35 2005 +++ phpdoc-fr/internals/zendapi/intro.xml Mon Jan 23 21:36:59 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <sect1 id="zend.intro"> <title>Introduction</title> <abstract> @@ -17,11 +17,24 @@ qu'une bibliothèque supplémentaire au code par défaut apporte au script simple, donc, une autre méthode doit être trouvée pour combler ces éventuels défauts de &php;. - </para> + </para> <para> À ce moment là, il est temps de toucher au coeur de &php; et regarder en son corps, le code C dont &php; est fait. </para> + <warning> + <para> + Ces informations ne sont actuellement plus à jour, + la plupart ne convrant que l'API 1.0 du moteur Zend alors qu'il n'est plus utilisé + depuis &php; 4. + </para> + <para> + Des informations plus récentes peuvent être trouvées dans les fichiers README + qui sont fournis avec les sources de &php; ainsi que dans la section + <ulink url="&url.zend.internals;">Internals"</ulink> + du site web de Zend. + </para> + </warning> </sect1> <!-- Keep this comment at the end of the file http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml diff -u phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml:1.2 phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml:1.3 --- phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml:1.2 Mon Dec 12 18:23:52 2005 +++ phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml Mon Jan 23 21:36:59 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="zend-api.zend-wrong-param-count"> <refnamediv> <refname>zend_wrong_param_count</refname> @@ -11,8 +11,8 @@ &reftitle.description; <literallayout>#include <zend_API.h></literallayout> <methodsynopsis> - <type>void</type><methodname>zend_wrong_param_count</methodname> - <methodparam><type></type><parameter>TSRMLS_D</parameter></methodparam> + <void/><methodname>zend_wrong_param_count</methodname> + <methodparam><type>magic</type><parameter>TSRMLS_D</parameter></methodparam> </methodsynopsis> <para> <function>zend_wrong_param_count</function> produit un message d'erreur standard pour les http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml diff -u phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml:1.1 phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml:1.2 --- phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml:1.1 Sun Jan 22 12:47:43 2006 +++ phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml Mon Jan 23 21:36:59 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <refentry id="zend-macro.z-bval-p"> <refnamediv> <refname>Z_BVAL_P</refname> @@ -15,7 +15,8 @@ <methodparam><type>zval *</type><parameter>zval_p</parameter></methodparam> </methodsynopsis> <para> - ... + <function>Z_BVAL_P</function> retourne l'élément <varname>lval</varname> de la structure + <type>zval</type> pointée par <parameter>zval_p</parameter> converti en <type>zend_bool</type>. </para> </refsect1> @@ -27,7 +28,7 @@ <term><parameter>zval_p</parameter></term> <listitem> <para> - ... + Pointeur vers la structure <type>zval</type> pour extraire la valeur résultante. </para> </listitem> </varlistentry> @@ -38,7 +39,33 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ... + L'élément <varname>lval</varname> de la structure <type>zval</type> + pointée par <parameter>zval_p</parameter> converti en + <type>zend_bool</type> qui peut être soit &true; ou &false;. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + Voir aussi + <function>Z_BVAL</function> et + <function>Z_BVAL_PP</function> pour d'autres macros qui accèdent au champ + <varname>lval</varname> d'un <type>zval</type> converti en <type>zend_bool</type>. + </para> + <para> + Pour les macros qui extraient d'autres valeurs depuis un <type>zval **</type>, voir + <function>Z_ARRVAL_P</function>, <function>Z_BINLEN_P</function>, + <function>Z_BINVAL_P</function>, <!-- <function>Z_BVAL_P</function> -->, + <function>Z_DVAL_P</function>, <function>Z_LVAL_P</function>, + <function>Z_OBJCE_P</function>, <function>Z_OBJ_HANDLE_P</function>, + <function>Z_OBJ_HANDLER_P</function>, <function>Z_OBJ_HT_P</function>, + <function>Z_OBJPROP_P</function>, <function>Z_OBJVAL_P</function>, + <function>Z_RESVAL_P</function>, <function>Z_STRLEN_P</function>, + <function>Z_STRVAL_P</function>, <function>Z_TYPE_P</function>, + <function>Z_UNILEN_P</function>, <function>Z_UNIVAL_P</function>, + <function>Z_USTRCPLEN_P</function>, <function>Z_USTRLEN_P</function>, + et <function>Z_USTRVAL_P</function>. </para> </refsect1> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml diff -u phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml:1.1 phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml:1.2 --- phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml:1.1 Sun Jan 22 12:47:43 2006 +++ phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml Mon Jan 23 21:36:59 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <refentry id="zend-macro.z-bval"> <refnamediv> <refname>Z_BVAL</refname> @@ -12,10 +12,11 @@ <literallayout>#include <zend_operators.h></literallayout> <methodsynopsis> <type>zend_bool</type><methodname>Z_BVAL</methodname> - <methodparam><type>zval</type><parameter>zval</parameter></methodparam> + <methodparam><type>zval</type><parameter>zv</parameter></methodparam> </methodsynopsis> <para> - ... + <function>Z_BVAL</function> retourne l'élément <varname>lval</varname> + d'un <parameter>zv</parameter> converti en <type>zend_bool</type>. </para> </refsect1> @@ -24,10 +25,10 @@ <para> <variablelist> <varlistentry> - <term><parameter>zval</parameter></term> + <term><parameter>zv</parameter></term> <listitem> <para> - ... + La structure <type>zval</type> où l'on extrait la valeur résultante. </para> </listitem> </varlistentry> @@ -38,7 +39,32 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ... + L'élément <varname>lval</varname> d'un <parameter>zv</parameter> + converti en <type>zend_bool</type> qui peut être soit &true; ou &false;. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + Voir + <function>Z_BVAL_P</function> et + <function>Z_BVAL_P</function> pour les autres macros qui accèdent au champ + <varname>lval</varname> d'un <type>zval</type> converti en <type>zend_bool</type>. + </para> + <para> + Pour les macros qui extraient les autres valeurs depuis un <type>zval **</type>, voir + <function>Z_ARRVAL</function>, <function>Z_BINLEN</function>, + <function>Z_BINVAL</function>, <!-- <function>Z_BVAL</function> -->, + <function>Z_DVAL</function>, <function>Z_LVAL</function>, + <function>Z_OBJCE</function>, <function>Z_OBJ_HANDLE</function>, + <function>Z_OBJ_HANDLER</function>, <function>Z_OBJ_HT</function>, + <function>Z_OBJPROP</function>, <function>Z_OBJVAL</function>, + <function>Z_RESVAL</function>, <function>Z_STRLEN</function>, + <function>Z_STRVAL</function>, <function>Z_TYPE</function>, + <function>Z_UNILEN</function>, <function>Z_UNIVAL</function>, + <function>Z_USTRCPLEN</function>, <function>Z_USTRLEN</function>, + et <function>Z_USTRVAL</function>. </para> </refsect1> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml diff -u phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml:1.1 phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml:1.2 --- phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml:1.1 Sun Jan 22 13:04:15 2006 +++ phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml Mon Jan 23 21:36:59 2006 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <refentry id="zend-macro.zend-putc"> <refnamediv> <refname>ZEND_PUTC</refname> - <refpurpose>...</refpurpose> + <refpurpose>Écrit un simple caractère sur le flux d'affichage courant</refpurpose> </refnamediv> <refsect1 role="description"> @@ -15,7 +15,7 @@ <methodparam><type>char</type><parameter>c</parameter></methodparam> </methodsynopsis> <para> - ... + Écrit un simpe caractère <parameter>c</parameter> sur le flux d'affichage courant. </para> </refsect1> @@ -27,7 +27,7 @@ <term><parameter>c</parameter></term> <listitem> <para> - ... + Caractère à afficher </para> </listitem> </varlistentry> @@ -38,10 +38,18 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ... + Nombre de caractères écrits ou -1 en cas d'erreur. </para> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + Voir aussi + <function>ZEND_PUTS</function> et + <function>ZEND_WRITE</function>. + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml diff -u phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml:1.1 phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml:1.2 --- phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml:1.1 Sun Jan 22 13:04:15 2006 +++ phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml Mon Jan 23 21:36:59 2006 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <refentry id="zend-macro.zend-puts"> <refnamediv> <refname>ZEND_PUTS</refname> - <refpurpose>...</refpurpose> + <refpurpose>Écrit une chaîne sur le flux d'affichage courant</refpurpose> </refnamediv> <refsect1 role="description"> @@ -15,7 +15,7 @@ <methodparam><type>char *</type><parameter>str</parameter></methodparam> </methodsynopsis> <para> - ... + Écrit une chaîne se terminant par zéro <parameter>str</parameter> sur le flux d'affichage courant. </para> </refsect1> @@ -27,7 +27,7 @@ <term><parameter>str</parameter></term> <listitem> <para> - ... + Chaîne affichée </para> </listitem> </varlistentry> @@ -38,10 +38,18 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ... + Nombre de caractères écrits ou -1 si une erreur survient. </para> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + Voir aussi + <function>ZEND_PUTC</function> et + <function>ZEND_WRITE</function>. + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml diff -u phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml:1.1 phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml:1.2 --- phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml:1.1 Sun Jan 22 13:04:15 2006 +++ phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml Mon Jan 23 21:36:59 2006 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <refentry id="zend-macro.zend-truth"> <refnamediv> <refname>ZEND_TRUTH</refname> - <refpurpose>...</refpurpose> + <refpurpose>Transforme une valeur en <type>zend_bool</type></refpurpose> </refnamediv> <refsect1 role="description"> @@ -15,7 +15,7 @@ <methodparam><type>mixed</type><parameter>x</parameter></methodparam> </methodsynopsis> <para> - ... + Une simple macro de convertion, actuellement définie comme <literal>((x) ? 1 : 0)</literal>. </para> </refsect1> @@ -27,7 +27,7 @@ <term><parameter>x</parameter></term> <listitem> <para> - ... + Valeur à transformer </para> </listitem> </varlistentry> @@ -38,7 +38,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ... + 1 si <parameter>x</parameter> a été considéré comme &true;, sinon 0. </para> </refsect1>
http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/calling-user-functions.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/internals/zendapi/calling-user-functions.xml diff -u phpdoc-fr/internals/zendapi/calling-user-functions.xml:1.2 phpdoc-fr/internals/zendapi/calling-user-functions.xml:1.3 --- phpdoc-fr/internals/zendapi/calling-user-functions.xml:1.2 Mon Dec 12 18:23:52 2005 +++ phpdoc-fr/internals/zendapi/calling-user-functions.xml Mon Jan 23 21:36:59 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <sect1 id="zend.calling-user-functions"> <title>Appel des fonctions utilisateurs</title> <para> @@ -113,19 +113,26 @@ function test_function() { - print("Nous sommes dans une fonction de test !<br />"); + echo "Nous sommes dans une fonction de test !\n"; - return("hello"); + return 'hello'; } $return_value = call_userland("test_function"); -print("Valeur retournée : \"$return_value\"<br />"); +echo "Valeur retournée : '$return_value'"; ?> ]]> - </programlisting> - <graphic fileref="figures/zend.10-userland.png"/> +</programlisting> +&example.outputs; +<para> + <![CDATA[ +Nous sommes dans une fonction de test ! +We have 3 as type +Valeur retournée : 'hello' +]]> + </para> </sect1> <!-- Keep this comment at the end of the file http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/index.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/index.xml diff -u phpdoc-fr/internals/zendapi/index.xml:1.1 phpdoc-fr/internals/zendapi/index.xml:1.2 --- phpdoc-fr/internals/zendapi/index.xml:1.1 Fri Sep 2 21:52:45 2005 +++ phpdoc-fr/internals/zendapi/index.xml Mon Jan 23 21:36:59 2006 @@ -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.4 Maintainer: yannick Status: ready --> <chapter id="zend"> <title>&ZendAPI;</title> &internals.zendapi.intro; @@ -23,8 +23,9 @@ &internals.zendapi.where-to-go; &internals.zendapi.configuration-macros; &internals.zendapi.api-macros; - <sect1><title>Fonctions de l'API (travail en cours)</title> - &internals.zendapi.functions; + <sect1 id="zendapi-reference"><title>Fonctions et macros de l'API (travail en cours)</title> + &internals.zendapi.functions; + &internals.zendapi.macros; </sect1> </chapter> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/intro.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/internals/zendapi/intro.xml diff -u phpdoc-fr/internals/zendapi/intro.xml:1.2 phpdoc-fr/internals/zendapi/intro.xml:1.3 --- phpdoc-fr/internals/zendapi/intro.xml:1.2 Sun Dec 11 20:54:35 2005 +++ phpdoc-fr/internals/zendapi/intro.xml Mon Jan 23 21:36:59 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <sect1 id="zend.intro"> <title>Introduction</title> <abstract> @@ -17,11 +17,24 @@ qu'une bibliothèque supplémentaire au code par défaut apporte au script simple, donc, une autre méthode doit être trouvée pour combler ces éventuels défauts de &php;. - </para> + </para> <para> À ce moment là, il est temps de toucher au coeur de &php; et regarder en son corps, le code C dont &php; est fait. </para> + <warning> + <para> + Ces informations ne sont actuellement plus à jour, + la plupart ne convrant que l'API 1.0 du moteur Zend alors qu'il n'est plus utilisé + depuis &php; 4. + </para> + <para> + Des informations plus récentes peuvent être trouvées dans les fichiers README + qui sont fournis avec les sources de &php; ainsi que dans la section + <ulink url="&url.zend.internals;">Internals"</ulink> + du site web de Zend. + </para> + </warning> </sect1> <!-- Keep this comment at the end of the file http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml diff -u phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml:1.2 phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml:1.3 --- phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml:1.2 Mon Dec 12 18:23:52 2005 +++ phpdoc-fr/internals/zendapi/functions/zend_wrong_param_count.xml Mon Jan 23 21:36:59 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="zend-api.zend-wrong-param-count"> <refnamediv> <refname>zend_wrong_param_count</refname> @@ -11,8 +11,8 @@ &reftitle.description; <literallayout>#include <zend_API.h></literallayout> <methodsynopsis> - <type>void</type><methodname>zend_wrong_param_count</methodname> - <methodparam><type></type><parameter>TSRMLS_D</parameter></methodparam> + <void/><methodname>zend_wrong_param_count</methodname> + <methodparam><type>magic</type><parameter>TSRMLS_D</parameter></methodparam> </methodsynopsis> <para> <function>zend_wrong_param_count</function> produit un message d'erreur standard pour les http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml diff -u phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml:1.1 phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml:1.2 --- phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml:1.1 Sun Jan 22 12:47:43 2006 +++ phpdoc-fr/internals/zendapi/macros/Z_BVAL_P.xml Mon Jan 23 21:36:59 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <refentry id="zend-macro.z-bval-p"> <refnamediv> <refname>Z_BVAL_P</refname> @@ -15,7 +15,8 @@ <methodparam><type>zval *</type><parameter>zval_p</parameter></methodparam> </methodsynopsis> <para> - ... + <function>Z_BVAL_P</function> retourne l'élément <varname>lval</varname> de la structure + <type>zval</type> pointée par <parameter>zval_p</parameter> converti en <type>zend_bool</type>. </para> </refsect1> @@ -27,7 +28,7 @@ <term><parameter>zval_p</parameter></term> <listitem> <para> - ... + Pointeur vers la structure <type>zval</type> pour extraire la valeur résultante. </para> </listitem> </varlistentry> @@ -38,7 +39,33 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ... + L'élément <varname>lval</varname> de la structure <type>zval</type> + pointée par <parameter>zval_p</parameter> converti en + <type>zend_bool</type> qui peut être soit &true; ou &false;. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + Voir aussi + <function>Z_BVAL</function> et + <function>Z_BVAL_PP</function> pour d'autres macros qui accèdent au champ + <varname>lval</varname> d'un <type>zval</type> converti en <type>zend_bool</type>. + </para> + <para> + Pour les macros qui extraient d'autres valeurs depuis un <type>zval **</type>, voir + <function>Z_ARRVAL_P</function>, <function>Z_BINLEN_P</function>, + <function>Z_BINVAL_P</function>, <!-- <function>Z_BVAL_P</function> -->, + <function>Z_DVAL_P</function>, <function>Z_LVAL_P</function>, + <function>Z_OBJCE_P</function>, <function>Z_OBJ_HANDLE_P</function>, + <function>Z_OBJ_HANDLER_P</function>, <function>Z_OBJ_HT_P</function>, + <function>Z_OBJPROP_P</function>, <function>Z_OBJVAL_P</function>, + <function>Z_RESVAL_P</function>, <function>Z_STRLEN_P</function>, + <function>Z_STRVAL_P</function>, <function>Z_TYPE_P</function>, + <function>Z_UNILEN_P</function>, <function>Z_UNIVAL_P</function>, + <function>Z_USTRCPLEN_P</function>, <function>Z_USTRLEN_P</function>, + et <function>Z_USTRVAL_P</function>. </para> </refsect1> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml diff -u phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml:1.1 phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml:1.2 --- phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml:1.1 Sun Jan 22 12:47:43 2006 +++ phpdoc-fr/internals/zendapi/macros/Z_BVAL.xml Mon Jan 23 21:36:59 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <refentry id="zend-macro.z-bval"> <refnamediv> <refname>Z_BVAL</refname> @@ -12,10 +12,11 @@ <literallayout>#include <zend_operators.h></literallayout> <methodsynopsis> <type>zend_bool</type><methodname>Z_BVAL</methodname> - <methodparam><type>zval</type><parameter>zval</parameter></methodparam> + <methodparam><type>zval</type><parameter>zv</parameter></methodparam> </methodsynopsis> <para> - ... + <function>Z_BVAL</function> retourne l'élément <varname>lval</varname> + d'un <parameter>zv</parameter> converti en <type>zend_bool</type>. </para> </refsect1> @@ -24,10 +25,10 @@ <para> <variablelist> <varlistentry> - <term><parameter>zval</parameter></term> + <term><parameter>zv</parameter></term> <listitem> <para> - ... + La structure <type>zval</type> où l'on extrait la valeur résultante. </para> </listitem> </varlistentry> @@ -38,7 +39,32 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ... + L'élément <varname>lval</varname> d'un <parameter>zv</parameter> + converti en <type>zend_bool</type> qui peut être soit &true; ou &false;. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + Voir + <function>Z_BVAL_P</function> et + <function>Z_BVAL_P</function> pour les autres macros qui accèdent au champ + <varname>lval</varname> d'un <type>zval</type> converti en <type>zend_bool</type>. + </para> + <para> + Pour les macros qui extraient les autres valeurs depuis un <type>zval **</type>, voir + <function>Z_ARRVAL</function>, <function>Z_BINLEN</function>, + <function>Z_BINVAL</function>, <!-- <function>Z_BVAL</function> -->, + <function>Z_DVAL</function>, <function>Z_LVAL</function>, + <function>Z_OBJCE</function>, <function>Z_OBJ_HANDLE</function>, + <function>Z_OBJ_HANDLER</function>, <function>Z_OBJ_HT</function>, + <function>Z_OBJPROP</function>, <function>Z_OBJVAL</function>, + <function>Z_RESVAL</function>, <function>Z_STRLEN</function>, + <function>Z_STRVAL</function>, <function>Z_TYPE</function>, + <function>Z_UNILEN</function>, <function>Z_UNIVAL</function>, + <function>Z_USTRCPLEN</function>, <function>Z_USTRLEN</function>, + et <function>Z_USTRVAL</function>. </para> </refsect1> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml diff -u phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml:1.1 phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml:1.2 --- phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml:1.1 Sun Jan 22 13:04:15 2006 +++ phpdoc-fr/internals/zendapi/macros/ZEND_PUTC.xml Mon Jan 23 21:36:59 2006 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <refentry id="zend-macro.zend-putc"> <refnamediv> <refname>ZEND_PUTC</refname> - <refpurpose>...</refpurpose> + <refpurpose>Écrit un simple caractère sur le flux d'affichage courant</refpurpose> </refnamediv> <refsect1 role="description"> @@ -15,7 +15,7 @@ <methodparam><type>char</type><parameter>c</parameter></methodparam> </methodsynopsis> <para> - ... + Écrit un simpe caractère <parameter>c</parameter> sur le flux d'affichage courant. </para> </refsect1> @@ -27,7 +27,7 @@ <term><parameter>c</parameter></term> <listitem> <para> - ... + Caractère à afficher </para> </listitem> </varlistentry> @@ -38,10 +38,18 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ... + Nombre de caractères écrits ou -1 en cas d'erreur. </para> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + Voir aussi + <function>ZEND_PUTS</function> et + <function>ZEND_WRITE</function>. + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml diff -u phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml:1.1 phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml:1.2 --- phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml:1.1 Sun Jan 22 13:04:15 2006 +++ phpdoc-fr/internals/zendapi/macros/ZEND_PUTS.xml Mon Jan 23 21:36:59 2006 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <refentry id="zend-macro.zend-puts"> <refnamediv> <refname>ZEND_PUTS</refname> - <refpurpose>...</refpurpose> + <refpurpose>Écrit une chaîne sur le flux d'affichage courant</refpurpose> </refnamediv> <refsect1 role="description"> @@ -15,7 +15,7 @@ <methodparam><type>char *</type><parameter>str</parameter></methodparam> </methodsynopsis> <para> - ... + Écrit une chaîne se terminant par zéro <parameter>str</parameter> sur le flux d'affichage courant. </para> </refsect1> @@ -27,7 +27,7 @@ <term><parameter>str</parameter></term> <listitem> <para> - ... + Chaîne affichée </para> </listitem> </varlistentry> @@ -38,10 +38,18 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ... + Nombre de caractères écrits ou -1 si une erreur survient. </para> </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + Voir aussi + <function>ZEND_PUTC</function> et + <function>ZEND_WRITE</function>. + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewcvs.cgi/phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml diff -u phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml:1.1 phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml:1.2 --- phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml:1.1 Sun Jan 22 13:04:15 2006 +++ phpdoc-fr/internals/zendapi/macros/ZEND_TRUTH.xml Mon Jan 23 21:36:59 2006 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <refentry id="zend-macro.zend-truth"> <refnamediv> <refname>ZEND_TRUTH</refname> - <refpurpose>...</refpurpose> + <refpurpose>Transforme une valeur en <type>zend_bool</type></refpurpose> </refnamediv> <refsect1 role="description"> @@ -15,7 +15,7 @@ <methodparam><type>mixed</type><parameter>x</parameter></methodparam> </methodsynopsis> <para> - ... + Une simple macro de convertion, actuellement définie comme <literal>((x) ? 1 : 0)</literal>. </para> </refsect1> @@ -27,7 +27,7 @@ <term><parameter>x</parameter></term> <listitem> <para> - ... + Valeur à transformer </para> </listitem> </varlistentry> @@ -38,7 +38,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - ... + 1 si <parameter>x</parameter> a été considéré comme &true;, sinon 0. </para> </refsect1>