Browse Source

[ZF-7172]How to instantiate ZendServer backends

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17742 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 16 năm trước cách đây
mục cha
commit
23f19095a8

+ 9 - 0
documentation/manual/en/module_specs/Zend_Cache-Backends.xml

@@ -469,6 +469,15 @@ $cache = Zend_Cache::factory('Core', 'Two Levels');
              script execution
         </para>
         <para>
+            Specify this backend using parameter <emphasis>customBackendNaming</emphasis> as
+            <constant>TRUE</constant> when using the <methodname>Zend_Cache::factory()</methodname>
+            method:
+        </para>
+        <programlisting language="php"><![CDATA[
+$cache = Zend_Cache::factory('Core', 'Zend_Cache_Backend_ZendServer_Disk', $frontendOptions,
+$backendOptions, false, true);
+]]></programlisting>
+        <para>
             There is no option for this backend.
         </para>
     </sect2>