cvs: phpdoc /fr/functions outcontrol.xml
| From: | Damien Seguy | Date: | Tue, 31 Oct 2000 13:54:02 +0000 |
| Subject: | cvs: phpdoc /fr/functions outcontrol.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969332740@lists.php.net to get a copy of this message | ||
dams Tue Oct 31 05:54:02 2000 EDT
Modified files:
/phpdoc/fr/functions outcontrol.xml
Log:
Translation.
Index: phpdoc/fr/functions/outcontrol.xml diff -u phpdoc/fr/functions/outcontrol.xml:1.1 phpdoc/fr/functions/outcontrol.xml:1.2 --- phpdoc/fr/functions/outcontrol.xml:1.1 Sat Sep 2 03:57:09 2000 +++ phpdoc/fr/functions/outcontrol.xml Tue Oct 31 05:54:01 2000 @@ -1,28 +1,29 @@ <reference id="ref.outcontrol"> - <title>Output Control Functions</title> - <titleabbrev>Output Control</titleabbrev> + <title>Entrées/sorties</title> + <titleabbrev>Entrées/sorties</titleabbrev> <partintro> <para> - The Output Control functions allow you to control when output is - sent from the script. This can be useful in several different - situations, especially if you need to send headers to the browser - after your script has began outputing data. The Output Control - functions do not affect headers sent using - <function>header</function> or <function>setcookie</function>, - only functions such as <function>echo</function> and data between - blocks of PHP code. + Les fonctions d'entrée/sorties vous permettent de contrôler + quand les données sont envoyées par le script. Cela peut + être utile dans certaines situations, notamment si vous devez + envoyer des entêtes au navigateur après avoir envoyé + des données. Ces fonctions n'affectent pas les entêtes + envoyés par la fonction <function>header</function> ou les + cookies envoyés par <function>setcookie</function>. Seules les + fonctions telles que <function>echo</function> et les données entre + blocs PHP sont affectés. </para> <para> <example> - <title>Output Control example</title> + <title>Exemple de gestion des sorties</title> <programlisting role="php"> <?php ob_start(); -echo "Hello\n"; +echo "Bonjour\n"; -setcookie ("cookiename", "cookiedata"); +setcookie ("nom_du_cookie", "valeur_du_cookie"); ob_end_flush(); @@ -31,16 +32,15 @@ </example> </para> <para> - In the above example, the output from <function>echo</function> - would be stored in the output buffer until - <function>ob_end_flush</function> was called. In the mean time, - the call to <function>setcookie</function> successfully stored a - cookie without causing an error. (You can not normally send - headers to the browser after data has already been sent.) + Dans l'exemple ci-dessus, la fonction <function>echo</function> + est stockée dans un buffer jusqu'à l'appel de la fonction + <function>ob_end_flush</function> was called. Dans le même + temps, l'appel à <function>setcookie</function> a réussi + à créer un cookie, sans générer d'erreur. + (D'habitude, vous devez envoyer les entêtes avant les données). </para> <para> - See also <function>header</function> and - <function>setcookie</function>. + Voir aussi <function>header</function> et <function>setcookie</function>. </para> </partintro> @@ -56,7 +56,7 @@ <void/> </funcsynopsis> <simpara> - Vide les buffers de sortie de PHP et toud ceux que PHP utilisait + Vide les buffers de sortie de PHP et tous ceux que PHP utilisait (CGI, un serveur web, etc.). </simpara> </refsect1> @@ -65,7 +65,7 @@ <refentry id="function.ob-start"> <refnamediv> <refname>ob_start</refname> - <refpurpose>Turn on output buffering</refpurpose> + <refpurpose>Enclenche la bufferisation de sortie</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -76,24 +76,20 @@ </funcprototype> </funcsynopsis> <para> - This function will turn output buffering on. While output buffering - is active no output is sent from the script, instead the output - is stored in an internal buffer. - </para> - <para> - The contents of this internal buffer may be copied into a string - variable using <function>ob_get_contents</function>. To output - what is stored in the internal buffer, use - <function>ob_end_flush</function>. Alternatively, - <function>ob_end_clean</function> will silently discard the - buffer contents. - </para> - <para> - See also <function>ob_get_contents</function>, - <function>ob_end_flush</function>, - <function>ob_end_clean</function>, and - <function>ob_implicit_flush</function> + Cette fonction démarre la bufferisation de sortie. Tant qu'elle est + enclenchée, aucune données n'est envoyée au client web, + mais temporairement mis en buffer. </para> + <para> + Le contenu de ce buffer peut être copié dans une chaîne + avec la fonction <function>ob_get_contents</function>. Pour afficher le + contenu de ce buffer, utilisez <function>ob_end_flush</function>. Au + contraire, <function>ob_end_clean</function> effacera le contenu de ce buffer. + </para> + <para> + Voir aussi <function>ob_get_contents</function>,<function>ob_end_flush</function>, + <function>ob_end_clean</function>, et <function>ob_implicit_flush</function> + </para> </refsect1> </refentry> @@ -101,7 +97,7 @@ <refnamediv> <refname>ob_get_contents</refname> <refpurpose> - Return the contents of the output buffer + Retourne le contenu du buffer de sortie </refpurpose> </refnamediv> <refsect1> @@ -113,12 +109,11 @@ </funcprototype> </funcsynopsis> <para> - This will return the contents of the output buffer or FALSE, if - output buffering isn't active. + Cette fonction retourne le contenu du buffer de sortie si la bufferisation + est active, ou FALSE sinon. </para> <para> - See also <function>ob_start</function> and - <function>ob_get_length</function>. + Voir aussi <function>ob_start</function> et <function>ob_get_length</function>. </para> </refsect1> </refentry> @@ -127,7 +122,7 @@ <refnamediv> <refname>ob_get_length</refname> <refpurpose> - Return the length of the output buffer + Retourne la longueur du contenu du buffer de sortie </refpurpose> </refnamediv> <refsect1> @@ -139,12 +134,11 @@ </funcprototype> </funcsynopsis> <para> - This will return the length of the contents in the output buffer - or FALSE, if output buffering isnt't active. + Cette fonction retourne la longueur du contenu du buffer de sortie si la + bufferisation est activée, et FALSE sinon. </para> <para> - See also <function>ob_start</function> and - <function>ob_get_contents</function>. + Voir aussi <function>ob_start</function> et <function>ob_get_contents</function>. </para> </refsect1> </refentry> @@ -153,7 +147,8 @@ <refnamediv> <refname>ob_end_flush</refname> <refpurpose> - Flush (send) the output buffer and turn off output buffering + Envoie les données du buffer de sortie, et éteind la + bufferisation de sortie </refpurpose> </refnamediv> <refsect1> @@ -165,16 +160,16 @@ </funcprototype> </funcsynopsis> <para> - This function will send the contents of the output buffer (if - any) and turn output buffering off. If you want to further - process the buffer's contents you have to call - <function>ob_get_contents</function> before - <function>ob_end_flush</function> as the buffer contents are - discarded after <function>ob_get_contents</function> is called. + Cette fonction envoie le contenu du buffer de sortie (si il existe) + et éteind la bufferisation de sortie. Si vous voulez continuer à + manipuler la valeur du buffer, vous pouvez appeler + <function>ob_get_contents</function> avant <function>ob_end_flush</function> + car le contenu du buffer est détruit après un appel à + <function>ob_get_contents</function>. </para> <para> - See also <function>ob_start</function>, - <function>ob_get_contents</function>, and + Voir aussi <function>ob_start</function>, + <function>ob_get_contents</function>, et <function>ob_end_clean</function>. </para> </refsect1> @@ -184,7 +179,8 @@ <refnamediv> <refname>ob_end_clean</refname> <refpurpose> - Clean (erase) the output buffer and turn off output buffering + Détruit es données du buffer de sortie, et éteind + la bufferisation de sortie </refpurpose> </refnamediv> <refsect1> @@ -196,11 +192,11 @@ </funcprototype> </funcsynopsis> <para> - This function discards the contents of the output buffer and - turns off output buffering. + Cette fonction détruit les données du buffer de sortie, + et éteind la bufferisation. </para> <para> - See also <function>ob_start</function> and + Voir aussi <function>ob_start</function> et <function>ob_end_flush</function>. </para> </refsect1> @@ -210,7 +206,7 @@ <refnamediv> <refname>ob_implicit_flush</refname> <refpurpose> - Turn implicit flush on/off + Active/désactive l'envoi implicite </refpurpose> </refnamediv> <refsect1> @@ -224,20 +220,22 @@ </funcprototype> </funcsynopsis> <para> - <function>ob_implicit_flush</function> will turn implicit - flushing on or off (if no <parameter>flag</parameter> is given, - it defaults to on). Implicit flushing will result in a flush - operation after every output call, so that explicit calls to - <function>flush</function> will no longer be needed. + <function>ob_implicit_flush</function> active/désactive + l'envoi implicite (si <parameter>flag</parameter> est fourni. + Par défaut, il est activé). L'envoi implicite + signifie que toute fonction qui envoie des données + au client web veront leurs données envoyées + immédiatement (la fonction <function>flush</function> + est appelée automatiquement). </para> <para> - Turning implicit flushing on will disable output buffering, the - output buffers current output will be sent as if - <function>ob_end_flush</function> had been called. + Une fois que l'envoi implicite est desactivé, le buffer de sortie ne + sera envoyé qu'au moment de l'appel de + <function>ob_end_flush</function>. </para> <para> - See also <function>flush</function>, - <function>ob_start</function>, and + Voir aussi <function>flush</function>, + <function>ob_start</function>, et <function>ob_end_flush</function>. </para> </refsect1>
Index: phpdoc/fr/functions/outcontrol.xml diff -u phpdoc/fr/functions/outcontrol.xml:1.1 phpdoc/fr/functions/outcontrol.xml:1.2 --- phpdoc/fr/functions/outcontrol.xml:1.1 Sat Sep 2 03:57:09 2000 +++ phpdoc/fr/functions/outcontrol.xml Tue Oct 31 05:54:01 2000 @@ -1,28 +1,29 @@ <reference id="ref.outcontrol"> - <title>Output Control Functions</title> - <titleabbrev>Output Control</titleabbrev> + <title>Entrées/sorties</title> + <titleabbrev>Entrées/sorties</titleabbrev> <partintro> <para> - The Output Control functions allow you to control when output is - sent from the script. This can be useful in several different - situations, especially if you need to send headers to the browser - after your script has began outputing data. The Output Control - functions do not affect headers sent using - <function>header</function> or <function>setcookie</function>, - only functions such as <function>echo</function> and data between - blocks of PHP code. + Les fonctions d'entrée/sorties vous permettent de contrôler + quand les données sont envoyées par le script. Cela peut + être utile dans certaines situations, notamment si vous devez + envoyer des entêtes au navigateur après avoir envoyé + des données. Ces fonctions n'affectent pas les entêtes + envoyés par la fonction <function>header</function> ou les + cookies envoyés par <function>setcookie</function>. Seules les + fonctions telles que <function>echo</function> et les données entre + blocs PHP sont affectés. </para> <para> <example> - <title>Output Control example</title> + <title>Exemple de gestion des sorties</title> <programlisting role="php"> <?php ob_start(); -echo "Hello\n"; +echo "Bonjour\n"; -setcookie ("cookiename", "cookiedata"); +setcookie ("nom_du_cookie", "valeur_du_cookie"); ob_end_flush(); @@ -31,16 +32,15 @@ </example> </para> <para> - In the above example, the output from <function>echo</function> - would be stored in the output buffer until - <function>ob_end_flush</function> was called. In the mean time, - the call to <function>setcookie</function> successfully stored a - cookie without causing an error. (You can not normally send - headers to the browser after data has already been sent.) + Dans l'exemple ci-dessus, la fonction <function>echo</function> + est stockée dans un buffer jusqu'à l'appel de la fonction + <function>ob_end_flush</function> was called. Dans le même + temps, l'appel à <function>setcookie</function> a réussi + à créer un cookie, sans générer d'erreur. + (D'habitude, vous devez envoyer les entêtes avant les données). </para> <para> - See also <function>header</function> and - <function>setcookie</function>. + Voir aussi <function>header</function> et <function>setcookie</function>. </para> </partintro> @@ -56,7 +56,7 @@ <void/> </funcsynopsis> <simpara> - Vide les buffers de sortie de PHP et toud ceux que PHP utilisait + Vide les buffers de sortie de PHP et tous ceux que PHP utilisait (CGI, un serveur web, etc.). </simpara> </refsect1> @@ -65,7 +65,7 @@ <refentry id="function.ob-start"> <refnamediv> <refname>ob_start</refname> - <refpurpose>Turn on output buffering</refpurpose> + <refpurpose>Enclenche la bufferisation de sortie</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -76,24 +76,20 @@ </funcprototype> </funcsynopsis> <para> - This function will turn output buffering on. While output buffering - is active no output is sent from the script, instead the output - is stored in an internal buffer. - </para> - <para> - The contents of this internal buffer may be copied into a string - variable using <function>ob_get_contents</function>. To output - what is stored in the internal buffer, use - <function>ob_end_flush</function>. Alternatively, - <function>ob_end_clean</function> will silently discard the - buffer contents. - </para> - <para> - See also <function>ob_get_contents</function>, - <function>ob_end_flush</function>, - <function>ob_end_clean</function>, and - <function>ob_implicit_flush</function> + Cette fonction démarre la bufferisation de sortie. Tant qu'elle est + enclenchée, aucune données n'est envoyée au client web, + mais temporairement mis en buffer. </para> + <para> + Le contenu de ce buffer peut être copié dans une chaîne + avec la fonction <function>ob_get_contents</function>. Pour afficher le + contenu de ce buffer, utilisez <function>ob_end_flush</function>. Au + contraire, <function>ob_end_clean</function> effacera le contenu de ce buffer. + </para> + <para> + Voir aussi <function>ob_get_contents</function>,<function>ob_end_flush</function>, + <function>ob_end_clean</function>, et <function>ob_implicit_flush</function> + </para> </refsect1> </refentry> @@ -101,7 +97,7 @@ <refnamediv> <refname>ob_get_contents</refname> <refpurpose> - Return the contents of the output buffer + Retourne le contenu du buffer de sortie </refpurpose> </refnamediv> <refsect1> @@ -113,12 +109,11 @@ </funcprototype> </funcsynopsis> <para> - This will return the contents of the output buffer or FALSE, if - output buffering isn't active. + Cette fonction retourne le contenu du buffer de sortie si la bufferisation + est active, ou FALSE sinon. </para> <para> - See also <function>ob_start</function> and - <function>ob_get_length</function>. + Voir aussi <function>ob_start</function> et <function>ob_get_length</function>. </para> </refsect1> </refentry> @@ -127,7 +122,7 @@ <refnamediv> <refname>ob_get_length</refname> <refpurpose> - Return the length of the output buffer + Retourne la longueur du contenu du buffer de sortie </refpurpose> </refnamediv> <refsect1> @@ -139,12 +134,11 @@ </funcprototype> </funcsynopsis> <para> - This will return the length of the contents in the output buffer - or FALSE, if output buffering isnt't active. + Cette fonction retourne la longueur du contenu du buffer de sortie si la + bufferisation est activée, et FALSE sinon. </para> <para> - See also <function>ob_start</function> and - <function>ob_get_contents</function>. + Voir aussi <function>ob_start</function> et <function>ob_get_contents</function>. </para> </refsect1> </refentry> @@ -153,7 +147,8 @@ <refnamediv> <refname>ob_end_flush</refname> <refpurpose> - Flush (send) the output buffer and turn off output buffering + Envoie les données du buffer de sortie, et éteind la + bufferisation de sortie </refpurpose> </refnamediv> <refsect1> @@ -165,16 +160,16 @@ </funcprototype> </funcsynopsis> <para> - This function will send the contents of the output buffer (if - any) and turn output buffering off. If you want to further - process the buffer's contents you have to call - <function>ob_get_contents</function> before - <function>ob_end_flush</function> as the buffer contents are - discarded after <function>ob_get_contents</function> is called. + Cette fonction envoie le contenu du buffer de sortie (si il existe) + et éteind la bufferisation de sortie. Si vous voulez continuer à + manipuler la valeur du buffer, vous pouvez appeler + <function>ob_get_contents</function> avant <function>ob_end_flush</function> + car le contenu du buffer est détruit après un appel à + <function>ob_get_contents</function>. </para> <para> - See also <function>ob_start</function>, - <function>ob_get_contents</function>, and + Voir aussi <function>ob_start</function>, + <function>ob_get_contents</function>, et <function>ob_end_clean</function>. </para> </refsect1> @@ -184,7 +179,8 @@ <refnamediv> <refname>ob_end_clean</refname> <refpurpose> - Clean (erase) the output buffer and turn off output buffering + Détruit es données du buffer de sortie, et éteind + la bufferisation de sortie </refpurpose> </refnamediv> <refsect1> @@ -196,11 +192,11 @@ </funcprototype> </funcsynopsis> <para> - This function discards the contents of the output buffer and - turns off output buffering. + Cette fonction détruit les données du buffer de sortie, + et éteind la bufferisation. </para> <para> - See also <function>ob_start</function> and + Voir aussi <function>ob_start</function> et <function>ob_end_flush</function>. </para> </refsect1> @@ -210,7 +206,7 @@ <refnamediv> <refname>ob_implicit_flush</refname> <refpurpose> - Turn implicit flush on/off + Active/désactive l'envoi implicite </refpurpose> </refnamediv> <refsect1> @@ -224,20 +220,22 @@ </funcprototype> </funcsynopsis> <para> - <function>ob_implicit_flush</function> will turn implicit - flushing on or off (if no <parameter>flag</parameter> is given, - it defaults to on). Implicit flushing will result in a flush - operation after every output call, so that explicit calls to - <function>flush</function> will no longer be needed. + <function>ob_implicit_flush</function> active/désactive + l'envoi implicite (si <parameter>flag</parameter> est fourni. + Par défaut, il est activé). L'envoi implicite + signifie que toute fonction qui envoie des données + au client web veront leurs données envoyées + immédiatement (la fonction <function>flush</function> + est appelée automatiquement). </para> <para> - Turning implicit flushing on will disable output buffering, the - output buffers current output will be sent as if - <function>ob_end_flush</function> had been called. + Une fois que l'envoi implicite est desactivé, le buffer de sortie ne + sera envoyé qu'au moment de l'appel de + <function>ob_end_flush</function>. </para> <para> - See also <function>flush</function>, - <function>ob_start</function>, and + Voir aussi <function>flush</function>, + <function>ob_start</function>, et <function>ob_end_flush</function>. </para> </refsect1>