cvs: phpdoc-fr /language/oop5 magic.xml /reference/curl/functions curl-getinfo.xml /reference/notes/functions notes-copy-db.xml
/reference/oci8/functions oci-collection-append.xml oci-collection-assign.xml oci-collection-element-assign.xml oci-collection-element-get.xml
oci-collection-free.xml oci-collection-max.xml oci-collection-size.xml oci-collection-trim.xml oci-free-collection.xml /reference/pdo/functions
PDOStatement-rowCount.xml

From: Date: Mon, 22 Nov 2004 22:10:23 +0000
Subject: cvs: phpdoc-fr /language/oop5 magic.xml /reference/curl/functions curl-getinfo.xml /reference/notes/functions notes-copy-db.xml
/reference/oci8/functions oci-collection-append.xml oci-collection-assign.xml oci-collection-element-assign.xml oci-collection-element-get.xml
oci-collection-free.xml oci-collection-max.xml oci-collection-size.xml oci-collection-trim.xml oci-free-collection.xml /reference/pdo/functions
PDOStatement-rowCount.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-3688@lists.php.net to get a copy of this message
yannick Mon Nov 22 17:10:23 2004 EDT Added files: /phpdoc-fr/reference/oci8/functions oci-collection-free.xml Removed files: /phpdoc-fr/reference/oci8/functions oci-free-collection.xml Modified files: /phpdoc-fr/language/oop5 magic.xml /phpdoc-fr/reference/curl/functions curl-getinfo.xml /phpdoc-fr/reference/notes/functions notes-copy-db.xml /phpdoc-fr/reference/oci8/functions oci-collection-append.xml oci-collection-assign.xml oci-collection-element-assign.xml oci-collection-element-get.xml oci-collection-max.xml oci-collection-size.xml oci-collection-trim.xml /phpdoc-fr/reference/pdo/functions PDOStatement-rowCount.xml Log: sync with EN

http://cvs.php.net/diff.php/phpdoc-fr/language/oop5/magic.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-fr/language/oop5/magic.xml diff -u phpdoc-fr/language/oop5/magic.xml:1.2 phpdoc-fr/language/oop5/magic.xml:1.3 --- phpdoc-fr/language/oop5/magic.xml:1.2 Sun Oct 24 15:53:14 2004 +++ phpdoc-fr/language/oop5/magic.xml Mon Nov 22 17:10:23 2004 @@ -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 --> <sect1 id="language.oop5.magic"> <title>Méthodes magiques</title> <para> @@ -119,6 +119,9 @@ // __toString non appelé (convertion en une chaîne de caractères en premier) echo (string) $class; + +// __toString non appelé (convertion en une chaîne de caractères en premier) +echo "text $class"; ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/curl/functions/curl-getinfo.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/curl/functions/curl-getinfo.xml diff -u phpdoc-fr/reference/curl/functions/curl-getinfo.xml:1.7 phpdoc-fr/reference/curl/functions/curl-getinfo.xml:1.8 --- phpdoc-fr/reference/curl/functions/curl-getinfo.xml:1.7 Mon Nov 1 13:27:03 2004 +++ phpdoc-fr/reference/curl/functions/curl-getinfo.xml Mon Nov 22 17:10:23 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <refentry id='function.curl-getinfo'> <refnamediv> <refname>curl_getinfo</refname> @@ -152,7 +152,7 @@ </listitem> <listitem> <simpara> - <literal>http_encode</literal> + <literal>http_code</literal> </simpara> </listitem> <listitem> http://cvs.php.net/diff.php/phpdoc-fr/reference/notes/functions/notes-copy-db.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/notes/functions/notes-copy-db.xml diff -u phpdoc-fr/reference/notes/functions/notes-copy-db.xml:1.6 phpdoc-fr/reference/notes/functions/notes-copy-db.xml:1.7 --- phpdoc-fr/reference/notes/functions/notes-copy-db.xml:1.6 Tue Nov 16 16:58:23 2004 +++ phpdoc-fr/reference/notes/functions/notes-copy-db.xml Mon Nov 22 17:10:23 2004 @@ -1,10 +1,10 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="function.notes-copy-db"> <refnamediv> <refname>notes_copy_db</refname> - <refpurpose>Crée une note à partir du formulaire form_name</refpurpose> + <refpurpose>Copie une base de données Lotus Notes</refpurpose> </refnamediv> <refsect1> &reftitle.description; http://cvs.php.net/diff.php/phpdoc-fr/reference/oci8/functions/oci-collection-append.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-fr/reference/oci8/functions/oci-collection-append.xml diff -u phpdoc-fr/reference/oci8/functions/oci-collection-append.xml:1.3 phpdoc-fr/reference/oci8/functions/oci-collection-append.xml:1.4 --- phpdoc-fr/reference/oci8/functions/oci-collection-append.xml:1.3 Tue Nov 16 16:58:24 2004 +++ phpdoc-fr/reference/oci8/functions/oci-collection-append.xml Mon Nov 22 17:10:23 2004 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> - <refentry id="function.oci-collection-append"> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> + <refentry id="function.OCI-Collection-append"> <refnamediv> - <refname>collection->append</refname> + <refname>OCI-Collection->append</refname> <refpurpose>Ajoute un objet à une collection Oracle</refpurpose> </refnamediv> <refsect1> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>collection->append</methodname> + <type>bool</type><methodname>OCI-Collection->append</methodname> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/oci8/functions/oci-collection-assign.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/oci8/functions/oci-collection-assign.xml diff -u phpdoc-fr/reference/oci8/functions/oci-collection-assign.xml:1.5 phpdoc-fr/reference/oci8/functions/oci-collection-assign.xml:1.6 --- phpdoc-fr/reference/oci8/functions/oci-collection-assign.xml:1.5 Tue Nov 16 16:58:24 2004 +++ phpdoc-fr/reference/oci8/functions/oci-collection-assign.xml Mon Nov 22 17:10:23 2004 @@ -1,9 +1,9 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.4 Maintainer: damien Status: ready --> - <refentry id="function.oci-collection-assign"> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.5 Maintainer: damien Status: ready --> + <refentry id="function.OCI-Collection-assign"> <refnamediv> - <refname>collection->assign</refname> + <refname>OCI-Collection->assign</refname> <refpurpose> Assigne une valeur à une collection depuis une autre collection Oracle </refpurpose> @@ -11,7 +11,7 @@ <refsect1> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>collection->assign</methodname> + <type>bool</type><methodname>OCI-Collection->assign</methodname> <methodparam><type>OCI-Collection</type><parameter>from</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/oci8/functions/oci-collection-element-assign.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/oci8/functions/oci-collection-element-assign.xml diff -u phpdoc-fr/reference/oci8/functions/oci-collection-element-assign.xml:1.7 phpdoc-fr/reference/oci8/functions/oci-collection-element-assign.xml:1.8 --- phpdoc-fr/reference/oci8/functions/oci-collection-element-assign.xml:1.7 Tue Nov 16 16:58:24 2004 +++ phpdoc-fr/reference/oci8/functions/oci-collection-element-assign.xml Mon Nov 22 17:10:23 2004 @@ -1,15 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> - <refentry id="function.oci-collection-element-assign"> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> + <refentry id="function.OCI-Collection-assignElem"> <refnamediv> - <refname>collection->assignElem</refname> + <refname>OCI-Collection->assignElem</refname> <refpurpose>Assigne une valeur à un élément d'une collection Oracle</refpurpose> </refnamediv> <refsect1> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>collection->assignElem</methodname> + <type>bool</type><methodname>OCI-Collection->assignElem</methodname> <methodparam><type>int</type><parameter>index</parameter></methodparam> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> </methodsynopsis> http://cvs.php.net/diff.php/phpdoc-fr/reference/oci8/functions/oci-collection-element-get.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/oci8/functions/oci-collection-element-get.xml diff -u phpdoc-fr/reference/oci8/functions/oci-collection-element-get.xml:1.7 phpdoc-fr/reference/oci8/functions/oci-collection-element-get.xml:1.8 --- phpdoc-fr/reference/oci8/functions/oci-collection-element-get.xml:1.7 Tue Nov 16 16:58:24 2004 +++ phpdoc-fr/reference/oci8/functions/oci-collection-element-get.xml Mon Nov 22 17:10:23 2004 @@ -1,30 +1,30 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> - <refentry id="function.oci-collection-element-get"> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> + <refentry id="function.OCI-Collection-getElem"> <refnamediv> - <refname>collection->getElem</refname> + <refname>OCI-Collection->getElem</refname> <refpurpose>Retourne la valeur d'un élément d'une collection Oracle</refpurpose> </refnamediv> <refsect1> &reftitle.description; <methodsynopsis> - <type>mixed</type><methodname>collection->getElem</methodname> + <type>mixed</type><methodname>OCI-Collection->getElem</methodname> <methodparam><type>int</type><parameter>index</parameter></methodparam> </methodsynopsis> <para> - <function>collection->getElem</function> retourne la valeur + <function>OCI-Collection->getElem</function> retourne la valeur de l'élément d'index <parameter>index</parameter>. Les index sont numérotés à partir de 1. </para> <para> - <function>collection->getElem</function> retournera &false; si + <function>OCI-Collection->getElem</function> retournera &false; si cet élément n'existe pas; &null;, si l'élément est &null;; chaîne si la colonne est de type chaîne, et nombre si c'est un numérique. field. </para> <para> - <function>collection->getelem</function> retourne &false; en cas + <function>OCI-Collection->getelem</function> retourne &false; en cas d'erreur. </para> </refsect1> http://cvs.php.net/diff.php/phpdoc-fr/reference/oci8/functions/oci-collection-max.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-fr/reference/oci8/functions/oci-collection-max.xml diff -u phpdoc-fr/reference/oci8/functions/oci-collection-max.xml:1.3 phpdoc-fr/reference/oci8/functions/oci-collection-max.xml:1.4 --- phpdoc-fr/reference/oci8/functions/oci-collection-max.xml:1.3 Tue Nov 16 16:58:24 2004 +++ phpdoc-fr/reference/oci8/functions/oci-collection-max.xml Mon Nov 22 17:10:23 2004 @@ -1,23 +1,22 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> - - <refentry id="function.oci-collection-max"> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> + <refentry id="function.OCI-Collection-max"> <refnamediv> - <refname>collection->max</refname> + <refname>OCI-Collection->max</refname> <refpurpose>Retourne le nombre maximal de valeurs d'une collection Oracle</refpurpose> </refnamediv> <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>collection->max</methodname> + <type>int</type><methodname>OCI-Collection->max</methodname> <void /> </methodsynopsis> <para> - <function>collection->max</function> retourne le nombre maximum + <function>OCI-Collection->max</function> retourne le nombre maximum d'éléments de la collection. Si la valeur retournée est 0, alors la collection n'est pas limitée. - <function>collection->max</function> retourne &false; en cas d'erreur. + <function>OCI-Collection->max</function> retourne &false; en cas d'erreur. </para> <para> Voir aussi http://cvs.php.net/diff.php/phpdoc-fr/reference/oci8/functions/oci-collection-size.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-fr/reference/oci8/functions/oci-collection-size.xml diff -u phpdoc-fr/reference/oci8/functions/oci-collection-size.xml:1.3 phpdoc-fr/reference/oci8/functions/oci-collection-size.xml:1.4 --- phpdoc-fr/reference/oci8/functions/oci-collection-size.xml:1.3 Tue Nov 16 16:58:24 2004 +++ phpdoc-fr/reference/oci8/functions/oci-collection-size.xml Mon Nov 22 17:10:23 2004 @@ -1,20 +1,19 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> - - <refentry id="function.oci-collection-size"> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> + <refentry id="function.OCI-Collection-size"> <refnamediv> - <refname>collection->size</refname> + <refname>OCI-Collection->size</refname> <refpurpose>Retourne la taille d'une collection Oracle</refpurpose> </refnamediv> <refsect1> &reftitle.description; <methodsynopsis> - <type>int</type><methodname>collection->size</methodname> + <type>int</type><methodname>OCI-Collection->size</methodname> <void /> </methodsynopsis> <para> - <function>collection->size</function> retourne le nombre d'éléments + <function>OCI-Collection->size</function> retourne le nombre d'éléments de la collection. </para> <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/oci8/functions/oci-collection-trim.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-fr/reference/oci8/functions/oci-collection-trim.xml diff -u phpdoc-fr/reference/oci8/functions/oci-collection-trim.xml:1.3 phpdoc-fr/reference/oci8/functions/oci-collection-trim.xml:1.4 --- phpdoc-fr/reference/oci8/functions/oci-collection-trim.xml:1.3 Tue Nov 16 16:58:24 2004 +++ phpdoc-fr/reference/oci8/functions/oci-collection-trim.xml Mon Nov 22 17:10:23 2004 @@ -1,20 +1,19 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> - - <refentry id="function.oci-collection-trim"> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: dams Status: ready --> + <refentry id="function.OCI-Collection-trim"> <refnamediv> - <refname>collection->trim</refname> + <refname>OCI-Collection->trim</refname> <refpurpose>Supprime les derniers éléments d'une collection Oracle</refpurpose> </refnamediv> <refsect1> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>collection->trim</methodname> + <type>bool</type><methodname>OCI-Collection->trim</methodname> <methodparam><type>int</type><parameter>num</parameter></methodparam> </methodsynopsis> <para> - <function>collection->trim</function> supprime les <parameter>num</parameter> + <function>OCI-Collection->trim</function> supprime les <parameter>num</parameter> derniers éléments d'une collection. </para> <para> http://cvs.php.net/diff.php/phpdoc-fr/reference/pdo/functions/PDOStatement-rowCount.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-fr/reference/pdo/functions/PDOStatement-rowCount.xml diff -u phpdoc-fr/reference/pdo/functions/PDOStatement-rowCount.xml:1.2 phpdoc-fr/reference/pdo/functions/PDOStatement-rowCount.xml:1.3 --- phpdoc-fr/reference/pdo/functions/PDOStatement-rowCount.xml:1.2 Tue Nov 16 17:00:15 2004 +++ phpdoc-fr/reference/pdo/functions/PDOStatement-rowCount.xml Mon Nov 22 17:10:23 2004 @@ -1,12 +1,12 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <refentry id="function.PDOStatement-rowCount"> <refnamediv> <refname>PDOStatement::rowCount</refname> - <refpurpose> - Retourne le nombre de lignes dans le jeu de résultats ou le nombre de lignes - affectées par le dernier appel à la fonction PDOStatement::execute() + <refpurpose> + Retourne le nombre de lignes affectées par le dernier + appel à la fonction PDOStatement::execute() </refpurpose> </refnamediv> <refsect1> @@ -16,12 +16,33 @@ <void/> </methodsynopsis> - &warn.undocumented.func; - <note> - <para> - Pas toujours significatif. - </para> - </note> + &warn.experimental.func; + <para> + <function>PDOStatement::rowCount</function> retourne le nombre de lignes + affectées par la dernière requête DELETE, INSERT ou UPDATE exécutée par + l'objet <literal>PDOStatement</literal> correspondant. + </para> + <para> + Si la dernière requête SQL exécutée par l'objet <literal>PDOStatement</literal> + associé est une requête de type SELECT, quelques bases de données + retourneront le nombre de lignes retournées par cette requête. Néanmoins, + ce comportement n'est pas garanti pour toutes les bases de données + et ne devrait pas être exécuté pour des applications portables. + </para> + <example><title>Retourne le nombre de lignes effacées</title> + <programlisting role="php"> +<![CDATA[ +/* Effacement de toutes les lignes de la table FRUIT */ +$del = $dbh->prepare('DELETE FROM fruit'); +$del->execute(); + +/* Retourne le nombre de lignes effacées */ +print("Retourne le nombre de lignes effacées :\n"); +$count = $del->rowCount(); +print("Affecement de $count lignes.\n"); +]]> + </programlisting> + </example> </refsect1> </refentry> http://cvs.php.net/co.php/phpdoc-fr/reference/oci8/functions/oci-collection-free.xml?r=1.1&p=1 Index: phpdoc-fr/reference/oci8/functions/oci-collection-free.xml +++ phpdoc-fr/reference/oci8/functions/oci-collection-free.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: dams Status: ready --> <refentry id="function.OCI-Collection-free"> <refnamediv> <refname>OCI-Collection->free</refname> <refpurpose>Détruit une collection Oracle</refpurpose> </refnamediv> <refsect1> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>OCI-Collection->free</methodname> <void /> </methodsynopsis> <para> <function>OCI-Collection->free</function> libère les ressources associées à la collection. </para> <para> &return.success; </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 (#3688) next »