Explorar el Código

[DOCUMENTATION] French:
- sync with English

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20502 44c647ce-9c0f-0410-b52a-842ac1e357ba

mikaelkael hace 16 años
padre
commit
b7899468ca

+ 1 - 1
documentation/manual/fr/module_specs/Zend_Application-Examples.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 17734 -->
+<!-- EN-Revision: 20474 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.application.examples">
     <title>Exemples</title>

+ 3 - 3
documentation/manual/fr/module_specs/Zend_Controller-Router-Route-Rest.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 20176 -->
+<!-- EN-Revision: 20497 -->
 <!-- Reviewed: no -->
 <sect3 id="zend.controller.router.routes.rest">
     <title>Zend_Rest_Route</title>
@@ -57,12 +57,12 @@
                 </row>
                 <row>
                     <entry><constant>POST</constant></entry>
-                    <entry><filename>/product/ratings/:id?_method="PUT"</filename></entry>
+                    <entry><filename>/product/ratings/:id?_method=PUT</filename></entry>
                     <entry><methodname>Product_RatingsController::putAction()</methodname></entry>
                 </row>
                 <row>
                     <entry><constant>POST</constant></entry>
-                    <entry><filename>/product/ratings/:id?_method="DELETE"</filename></entry>
+                    <entry><filename>/product/ratings/:id?_method=DELETE</filename></entry>
                     <entry>
                         <methodname>Product_RatingsController::deleteAction()</methodname>
                     </entry>

+ 26 - 1
documentation/manual/fr/module_specs/Zend_Filter-FilterChains.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 15854 -->
+<!-- EN-Revision: 20309 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.filter.filter_chains">
     <title>Chaînes de filtrage</title>
@@ -30,4 +30,29 @@ $identifiant = $filtreChaine->filter($_POST['identifiant']);
         Tout objet implémentant <classname>Zend_Filter_Interface</classname> peut être utilisé
         comme chaîne de filtrage.
     </para>
+
+    <sect2 id="zend.filter.filter_chains.order">
+        <title>Changing filter chain order</title>
+        
+        <para>
+            Since 1.10, the <classname>Zend_Filter</classname> chain also
+            supports altering the chain by prepending or appending filters. For
+            example, the next piece of code does exactly the same as the other
+            username filter chain example:
+        </para>
+        
+        <programlisting language="php"><![CDATA[
+// Create a filter chain and add filters to the chain
+$filterChain = new Zend_Filter();
+
+// this filter will be appended to the filter chain
+$filterChain->appendFilter(new Zend_Filter_StringToLower());
+
+// this filter will be prepended at the beginning of the filter chain.
+$filterChain->prependFilter(new Zend_Filter_Alpha());
+
+// Filter the username
+$username = $filterChain->filter($_POST['username']);
+]]></programlisting>
+    </sect2>
 </sect1>

+ 6 - 2
documentation/manual/fr/module_specs/Zend_Loader-Autoloader-Resource.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 17232 -->
+<!-- EN-Revision: 20250 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.loader.autoloader-resource">
     <title>Autoloaders de ressources</title>
@@ -140,11 +140,15 @@ $resourceLoader = new Zend_Loader_Autoloader_Resource(array(
         </para>
 
         <programlisting language="text"><![CDATA[
-api/         => Api
 forms/       => Form
 models/      => Model
     DbTable/ => Model_DbTable
+    mappers/ => Model_Mapper
 plugins/     => Plugin
+services/    => Service
+views/
+    helpers  => View_Helper
+    filters  => View_Filter
 ]]></programlisting>
 
         <para>

+ 26 - 1
documentation/manual/fr/module_specs/Zend_Pdf-Drawing.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- EN-Revision: 17227 -->
+<!-- EN-Revision: 20469 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.pdf.drawing">
     <title>Dessiner</title>
@@ -86,6 +86,31 @@ $color3 = new Zend_Pdf_Color_Html('forestgreen');
 public function drawLine($x1, $y1, $x2, $y2);
 ]]></programlisting></para>
 
+         <programlisting language="php"><![CDATA[
+ /**
+ * Draw a rounded rectangle.
+ *
+ * Fill types:
+ * Zend_Pdf_Page::SHAPE_DRAW_FILL_AND_STROKE - fill rectangle and stroke (default)
+ * Zend_Pdf_Page::SHAPE_DRAW_STROKE      - stroke rectangle
+ * Zend_Pdf_Page::SHAPE_DRAW_FILL        - fill rectangle
+ *
+ * radius is an integer representing radius of the four corners, or an array
+ * of four integers representing the radius starting at top left, going
+ * clockwise
+ *
+ * @param float $x1
+ * @param float $y1
+ * @param float $x2
+ * @param float $y2
+ * @param integer|array $radius
+ * @param integer $fillType
+ * @return Zend_Pdf_Page
+ */
+public function drawRoundedRectangle($x1, $y1, $x2, $y2, $radius, 
+                       $fillType = Zend_Pdf_Page::SHAPE_DRAW_FILL_AND_STROKE);
+]]></programlisting>
+
         <para>
             <programlisting language="php"><![CDATA[
 /**

+ 2 - 2
documentation/manual/fr/module_specs/Zend_Search_Lucene-Queries.xml

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 20115 -->
+<!-- EN-Revision: 20473 -->
 <!-- Reviewed: no -->
 <sect1 id="zend.search.lucene.query-api">
     <title>API de construction de requêtes</title>
@@ -237,7 +237,7 @@ $hits  = $index->find($query);
             Requête par chaîne de caractères:
         </para>
         <programlisting language="querystring"><![CDATA[
-+(word1 word2 word3) author:(word4 word5) -word6
++(word1 word2 word3) (author:word4 author:word5) -(word6)
 ]]></programlisting>
         <itemizedlist>
             <listitem>