|
|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<!-- EN-Revision: 17227 -->
|
|
|
+<!-- EN-Revision: 17749 -->
|
|
|
<!-- Reviewed: no -->
|
|
|
<sect1 id="zend.cache.backends">
|
|
|
<title>Les backends Zend_Cache</title>
|
|
|
@@ -213,9 +213,10 @@
|
|
|
<entry><emphasis>servers</emphasis></entry>
|
|
|
<entry><type>Array</type></entry>
|
|
|
<entry>
|
|
|
- array(array('host' => 'localhost', 'port' => 11211, 'persistent' =>
|
|
|
- true, 'weight' => 1, 'timeout' => 5, 'retry_interval' => 15,
|
|
|
- 'status' => true, 'failure_callback' => '' ))
|
|
|
+ <command>array(array('host' => 'localhost', 'port' => 11211,
|
|
|
+ 'persistent' => true, 'weight' => 1, 'timeout' => 5,
|
|
|
+ 'retry_interval' => 15, 'status' => true,
|
|
|
+ 'failure_callback' => '' ))</command>
|
|
|
</entry>
|
|
|
<entry>
|
|
|
Un tableau de serveurs memcached ; chaque serveur memcached est
|
|
|
@@ -329,7 +330,7 @@
|
|
|
|
|
|
<para>
|
|
|
Ce backend utilise l'<acronym>API</acronym> de cache de contenu de la
|
|
|
- <ulink url="http://www.zend.com/products/platform">Zend Platform</ulink>.
|
|
|
+ <ulink url="http://www.zend.com/fr/products/platform">Zend Platform</ulink>.
|
|
|
Naturellement, pour utiliser ce backend, vous devez avoir installé une Zend Platorm.
|
|
|
</para>
|
|
|
|
|
|
@@ -366,6 +367,16 @@ $cache = Zend_Cache::factory('Core', 'Zend Platform');
|
|
|
l'utilisation de ces deux backends.
|
|
|
</para>
|
|
|
|
|
|
+ <para>
|
|
|
+ Spécifiez ce backend avec un séparateur de mots - "-", ".", " ", ou "_" - entre les
|
|
|
+ mots "Two" et "Levels" quand vous utilisez la méthode
|
|
|
+ <methodname>Zend_Cache::factory()</methodname> :
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <programlisting language="php"><![CDATA[
|
|
|
+$cache = Zend_Cache::factory('Core', 'Two Levels');
|
|
|
+]]></programlisting>
|
|
|
+
|
|
|
<para>Les options disponibles sont :</para>
|
|
|
|
|
|
<table id="zend.cache.backends.twolevels.table">
|
|
|
@@ -492,6 +503,17 @@ $cache = Zend_Cache::factory('Core', 'Zend Platform');
|
|
|
fonctionnent pas pour les scripts exécutés en ligne de commande.
|
|
|
</para>
|
|
|
|
|
|
+ <para>
|
|
|
+ Spécifiez ce backend en utilisant le paramètre <emphasis>customBackendNaming</emphasis>
|
|
|
+ à <constant>TRUE</constant> quand vous utilisez la méthode
|
|
|
+ <methodname>Zend_Cache::factory()</methodname> :
|
|
|
+ </para>
|
|
|
+
|
|
|
+ <programlisting language="php"><![CDATA[
|
|
|
+$cache = Zend_Cache::factory('Core', 'Zend_Cache_Backend_ZendServer_Disk',
|
|
|
+ $frontendOptions, $backendOptions, false, true);
|
|
|
+]]></programlisting>
|
|
|
+
|
|
|
<para>Il n'y a pas d'options pour ce backend.</para>
|
|
|
</sect2>
|
|
|
</sect1>
|