|
|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
- <!-- EN-Revision: 20763 -->
|
|
|
+ <!-- EN-Revision: 22741 -->
|
|
|
<!-- Reviewed: no -->
|
|
|
<sect2 id="zend.application.available-resources.db">
|
|
|
<title>Zend_Application_Resource_Db</title>
|
|
|
@@ -53,6 +53,14 @@
|
|
|
por defecto.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
+ <listitem>
|
|
|
+ <para>
|
|
|
+ <emphasis><property>defaultMetadataCache</property></emphasis>: the name of the
|
|
|
+ cache template or an instance of <classname>Zend_Cache_Core</classname> to use as
|
|
|
+ metadata cache for <classname>Zend_Db_Table</classname>.
|
|
|
+ </para>
|
|
|
+ </listitem>
|
|
|
</itemizedlist>
|
|
|
|
|
|
<example id="zend.application.available-resources.db.configExample">
|
|
|
@@ -72,6 +80,9 @@ resources.db.params.username = "webuser"
|
|
|
resources.db.params.password = "XXXXXXX"
|
|
|
resources.db.params.dbname = "test"
|
|
|
resources.db.isDefaultTableAdapter = true
|
|
|
+
|
|
|
+; Optionally you can also the cache template to use for metadata caching:
|
|
|
+resources.db.defaultMetadataCache = "database"
|
|
|
]]></programlisting>
|
|
|
</example>
|
|
|
|