cvs: phpdoc-fr /reference/strings/functions wordwrap.xml

From: Date: Wed, 18 Jun 2003 02:39:11 +0000
Subject: cvs: phpdoc-fr /reference/strings/functions wordwrap.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-541@lists.php.net to get a copy of this message
dams Tue Jun 17 22:39:11 2003 EDT Modified files: /phpdoc-fr/reference/strings/functions wordwrap.xml Log: Frenchized example Index: phpdoc-fr/reference/strings/functions/wordwrap.xml diff -u phpdoc-fr/reference/strings/functions/wordwrap.xml:1.7 phpdoc-fr/reference/strings/functions/wordwrap.xml:1.8 --- phpdoc-fr/reference/strings/functions/wordwrap.xml:1.7 Thu May 22 21:11:43 2003 +++ phpdoc-fr/reference/strings/functions/wordwrap.xml Tue Jun 17 22:39:11 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.142 --> <refentry id="function.wordwrap"> <refnamediv> @@ -18,14 +18,15 @@ <methodparam choice="opt"><type>boolean</type><parameter>cut</parameter></methodparam> </methodsynopsis> <para> - <methodname>wordwrap</methodname> retourne la cha&icirc;ne - <parameter>str</parameter>, apr&egrave;s avoir ins&eacute;r&eacute; <parameter>break</parameter> - tous les <parameter>width</parameter> caract&egrave;res. + <function>wordwrap</function> retourne la cha&icirc;ne + <parameter>str</parameter>, apr&egrave;s avoir ins&eacute;r&eacute; + <parameter>break</parameter> tous les <parameter>width</parameter> + caract&egrave;res. </para> <para> Par d&eacute;faut, <function>wordwrap</function> va automatiquement - ins&eacute;rer une nouvelle ligne tous les 75 caract&egrave;res, si <parameter>width</parameter> - et <parameter>break</parameter> ne sont pas fournis. + ins&eacute;rer une nouvelle ligne tous les 75 caract&egrave;res, si + <parameter>width</parameter> et <parameter>break</parameter> ne sont pas fournis. </para> <para> Si le param&egrave;tre <parameter>cut</parameter> est mis &agrave; 1, la cha&icirc;ne @@ -45,7 +46,7 @@ <programlisting role="php"> <![CDATA[ <?php - $text = "The quick brown fox jumped over the lazy dog."; + $text = "Portez ce vieux whisky au juge blond qui fume."; $newtext = wordwrap( $text, 20 ); echo "$newtext\n"; @@ -57,9 +58,9 @@ </para> <screen> <![CDATA[ -The quick brown fox -jumped over the -lazy dog. +Portez ce vieux +whisky au juge +blond qui fume. ]]> </screen> </example>

« previous php.doc.fr (#541) next »