Explorar o código

sync en

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22637 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp %!s(int64=15) %!d(string=hai) anos
pai
achega
862a333d08

+ 12 - 1
documentation/manual/ja/module_specs/Zend_Application-AvailableResources-Db.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20763 -->
+<!-- EN-Revision: 22631 -->
 <sect2 id="zend.application.available-resources.db">
 <sect2 id="zend.application.available-resources.db">
     <title>Zend_Application_Resource_Db</title>
     <title>Zend_Application_Resource_Db</title>
 
 
@@ -36,6 +36,13 @@
                 <emphasis><property>isDefaultTableAdapter</property></emphasis>: アダプタをデフォルト・テーブル・アダプタとして確立するべきかどうか。
                 <emphasis><property>isDefaultTableAdapter</property></emphasis>: アダプタをデフォルト・テーブル・アダプタとして確立するべきかどうか。
             </para>
             </para>
         </listitem>
         </listitem>
+
+        <listitem>
+            <para>
+                <emphasis><property>defaultMetadataCache</property></emphasis>: the name of the cache 
+                template or an instance of Zend_Cache_Core to use as metadata cache for Zend_Db_Table.
+            </para>
+        </listitem>
     </itemizedlist>
     </itemizedlist>
 
 
     <example id="zend.application.available-resources.db.configExample">
     <example id="zend.application.available-resources.db.configExample">
@@ -45,6 +52,7 @@
             下記は、DBリソースを初期化するために使える<acronym>INI</acronym>構成サンプルです。
             下記は、DBリソースを初期化するために使える<acronym>INI</acronym>構成サンプルです。
         </para>
         </para>
 
 
+        <!-- TODO : to be translated -->
         <programlisting language="ini"><![CDATA[
         <programlisting language="ini"><![CDATA[
 [production]
 [production]
 resources.db.adapter = "pdo_mysql"
 resources.db.adapter = "pdo_mysql"
@@ -53,6 +61,9 @@ resources.db.params.username = "webuser"
 resources.db.params.password = "XXXXXXX"
 resources.db.params.password = "XXXXXXX"
 resources.db.params.dbname = "test"
 resources.db.params.dbname = "test"
 resources.db.isDefaultTableAdapter = true
 resources.db.isDefaultTableAdapter = true
+
+; Optionally you can also the cache template to use for metadata caching:
+resources.db.defaultMetadataCache = "database"
 ]]></programlisting>
 ]]></programlisting>
     </example>
     </example>
 
 

+ 5 - 3
documentation/manual/ja/module_specs/Zend_Application-AvailableResources-Frontcontroller.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20885 -->
+<!-- EN-Revision: 22596 -->
 <sect2 id="zend.application.available-resources.frontcontroller">
 <sect2 id="zend.application.available-resources.frontcontroller">
     <title>Zend_Application_Resource_Frontcontroller</title>
     <title>Zend_Application_Resource_Frontcontroller</title>
 
 
@@ -81,7 +81,6 @@
                 フロントコントローラのプラグイン・クラス名配列
                 フロントコントローラのプラグイン・クラス名配列
                 このリソースは、各々のクラスを(コンストラクタ引数なしで)インスタンス化して、
                 このリソースは、各々のクラスを(コンストラクタ引数なしで)インスタンス化して、
                 それからフロントコントローラでインスタンスを登録します。
                 それからフロントコントローラでインスタンスを登録します。
-                <!-- TODO : to be translated -->
                 If you want to
                 If you want to
                 register a plugin with a particular stack index, you need to provide an array with
                 register a plugin with a particular stack index, you need to provide an array with
                 two keys <property>class</property> and <property>stackIndex</property>.
                 two keys <property>class</property> and <property>stackIndex</property>.
@@ -97,7 +96,6 @@
 
 
         <listitem>
         <listitem>
             <para>
             <para>
-                <!-- TODO : to be translated -->
                 <emphasis><property>returnresponse</property></emphasis>: whether or not to return
                 <emphasis><property>returnresponse</property></emphasis>: whether or not to return
                 the response object after dispatching the front controller. Value should be a
                 the response object after dispatching the front controller. Value should be a
                 boolean; by default, this is disabled.
                 boolean; by default, this is disabled.
@@ -118,6 +116,7 @@
             下記は、フロントコントローラ・リソースを設定する方法を示す<acronym>INI</acronym>スニペット・サンプルです。
             下記は、フロントコントローラ・リソースを設定する方法を示す<acronym>INI</acronym>スニペット・サンプルです。
         </para>
         </para>
 
 
+        <!-- TODO : to be translated -->
         <programlisting language="ini"><![CDATA[
         <programlisting language="ini"><![CDATA[
 [production]
 [production]
 resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
 resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
@@ -133,6 +132,9 @@ resources.frontController.plugins.baz.class = "My_Plugin_Baz"
 resources.frontController.plugins.baz.stackIndex = 123
 resources.frontController.plugins.baz.stackIndex = 123
 resources.frontController.returnresponse = 1
 resources.frontController.returnresponse = 1
 resources.frontController.env = APPLICATION_ENV
 resources.frontController.env = APPLICATION_ENV
+
+; The following proxies to: Zend_Controller_Action_HelperBroker::addPath('Helper_Path', $helperPrefix);
+resources.frontController.actionHelperPaths.HELPER_Prefix = "My/Helper/Path"
 ]]></programlisting>
 ]]></programlisting>
     </example>
     </example>
 
 

+ 2 - 2
documentation/manual/ja/module_specs/Zend_Application-AvailableResources-View.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17172 -->
+<!-- EN-Revision: 22593 -->
 <sect2 id="zend.application.available-resources.view">
 <sect2 id="zend.application.available-resources.view">
     <title>Zend_Application_Resource_View</title>
     <title>Zend_Application_Resource_View</title>
 
 
@@ -27,7 +27,7 @@
 
 
         <programlisting language="ini"><![CDATA[
         <programlisting language="ini"><![CDATA[
 resources.view.encoding = "UTF-8"
 resources.view.encoding = "UTF-8"
-resources.view.basePath = APPLICATION_PATH "/views/scripts"
+resources.view.basePath = APPLICATION_PATH "/views/"
 ]]></programlisting>
 ]]></programlisting>
     </example>
     </example>
 </sect2>
 </sect2>

+ 20 - 1
documentation/manual/ja/module_specs/Zend_Application-Examples.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20763 -->
+<!-- EN-Revision: 22448 -->
 <sect1 id="zend.application.examples">
 <sect1 id="zend.application.examples">
     <title>例</title>
     <title>例</title>
 
 
@@ -22,14 +22,33 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
     <programlisting language="ini"><![CDATA[
     <programlisting language="ini"><![CDATA[
 ; APPLICATION_PATH/configs/application.ini
 ; APPLICATION_PATH/configs/application.ini
 [production]
 [production]
+autoloaderNamespaces[] = "My_"
 bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
 bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
 bootstrap.class = "Bootstrap"
 bootstrap.class = "Bootstrap"
+pluginpaths.My_Bootstrap_Resource = "My/Bootstrap/Resource"
 resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
 resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
 
 
 [testing : production]
 [testing : production]
 [development : production]
 [development : production]
 ]]></programlisting>
 ]]></programlisting>
 
 
+    <note>
+        <title>Autoloader namespaces</title>
+
+        <para>
+            Because these examples use custom code, we need to register the namespace prefixes for
+            that code with our configuration; this is done with the
+            <code>autoloaderNamespaces</code> configuration key, which is an array.
+        </para>
+
+        <para>
+            Additionally, to ensure that custom plugin resources are discovered, we need to register
+            a plugin prefix path with the bootstrap. This is done with the <code>pluginpaths</code>
+            configuration key, which is an associative array, with keys denoting the prefix to use,
+            and values denoting the path related to that prefix.
+        </para>
+    </note>
+
     <para>
     <para>
         しかし、カスタマイズした初期化が必要ならば、2つの選択肢ががあります。
         しかし、カスタマイズした初期化が必要ならば、2つの選択肢ががあります。
         最初に、ブートストラップに個別のコードを指定するために
         最初に、ブートストラップに個別のコードを指定するために

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Date-Additional.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20766 -->
+<!-- EN-Revision: 21829 -->
 <sect1 id="zend.date.additional">
 <sect1 id="zend.date.additional">
     <title>動作例</title>
     <title>動作例</title>
 
 

+ 11 - 1
documentation/manual/ja/module_specs/Zend_File_Transfer-Introduction.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 21825 -->
+<!-- EN-Revision: 22556 -->
 <sect1 id="zend.file.transfer.introduction">
 <sect1 id="zend.file.transfer.introduction">
     <title>Zend_File_Transfer</title>
     <title>Zend_File_Transfer</title>
 
 
@@ -602,6 +602,16 @@ while (!$upload['done']) {
 
 
             </example>
             </example>
 
 
+            <note>
+                <title>Knowing the file to get the progress from</title>
+
+                <para>
+                    The above example works when your upload identified is set to 'progress_key'.
+                    When you are using another identifier within your form you must give the used
+                    identifier as first parameter to <methodname>getProgress()</methodname> on the
+                    initial call.
+                </para>
+            </note>
         </sect3>
         </sect3>
     </sect2>
     </sect2>
 </sect1>
 </sect1>

+ 2 - 2
documentation/manual/ja/module_specs/Zend_Gdata-Introduction.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20779 -->
+<!-- EN-Revision: 22511 -->
 <sect1 id="zend.gdata.introduction">
 <sect1 id="zend.gdata.introduction">
     <title>導入</title>
     <title>導入</title>
     <para>
     <para>
@@ -51,7 +51,7 @@
                 <para>
                 <para>
                     <link linkend="zend.gdata.gapps">Google Provisioning</link>
                     <link linkend="zend.gdata.gapps">Google Provisioning</link>
                     は、Google Apps がホストするドメイン上の
                     は、Google Apps がホストするドメイン上の
-                    ユーザアカウントやニックネーム、そしてメーリングリストの
+                    ユーザアカウントやニックネーム、グループ、そしてメーリングリストの
                     作成、取得、更新、削除を行うものです。
                     作成、取得、更新、削除を行うものです。
                 </para>
                 </para>
             </listitem>
             </listitem>

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Http_Client-Adapters.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 21145 -->
+<!-- EN-Revision: 21815 -->
 <sect1 id="zend.http.client.adapters">
 <sect1 id="zend.http.client.adapters">
     <title>Zend_Http_Client - 接続アダプタ</title>
     <title>Zend_Http_Client - 接続アダプタ</title>
 
 

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Http_Cookie-Handling.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 21018 -->
+<!-- EN-Revision: 21815 -->
 <sect1 id="zend.http.cookies">
 <sect1 id="zend.http.cookies">
     <title>Zend_Http_Cookie および Zend_Http_CookieJar</title>
     <title>Zend_Http_Cookie および Zend_Http_CookieJar</title>
 
 

+ 3 - 2
documentation/manual/ja/module_specs/Zend_Ldap-Node.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20792 -->
+<!-- EN-Revision: 21829 -->
 <sect1 id="zend.ldap.node">
 <sect1 id="zend.ldap.node">
     <title>Zend_Ldap_Nodeを使用してLDAPツリーへのオブジェクト指向アクセス</title>
     <title>Zend_Ldap_Nodeを使用してLDAPツリーへのオブジェクト指向アクセス</title>
     <sect2 id="zend.ldap.node.basic">
     <sect2 id="zend.ldap.node.basic">
@@ -41,7 +41,8 @@
 
 
             <example>
             <example>
             <title>LDAPツリーを再帰的に走査</title>
             <title>LDAPツリーを再帰的に走査</title>
-<programlisting language="php"><![CDATA[
+
+            <programlisting language="php"><![CDATA[
 $options = array(/* ... */);
 $options = array(/* ... */);
 $ldap = new Zend_Ldap($options);
 $ldap = new Zend_Ldap($options);
 $ldap->bind();
 $ldap->bind();

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Log-Overview.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 21815 -->
+<!-- EN-Revision: 21818 -->
 <sect1 id="zend.log.overview">
 <sect1 id="zend.log.overview">
     <title>概要</title>
     <title>概要</title>
 
 

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Mail-AddingRecipients.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20819 -->
+<!-- EN-Revision: 21818 -->
 <sect1 id="zend.mail.adding-recipients">
 <sect1 id="zend.mail.adding-recipients">
     <title>受信者の追加</title>
     <title>受信者の追加</title>
 
 

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Markup-Getting-Started.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 19777 -->
+<!-- EN-Revision: 21818 -->
 <sect1 id="zend.markup.getting-started">
 <sect1 id="zend.markup.getting-started">
     <title>さあ始めましょう</title>
     <title>さあ始めましょう</title>
  
  

+ 15 - 1
documentation/manual/ja/module_specs/Zend_Translate-Additional.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 22390 -->
+<!-- EN-Revision: 22585 -->
 <sect1 id="zend.translate.additional">
 <sect1 id="zend.translate.additional">
 
 
     <title>翻訳用の追加機能</title>
     <title>翻訳用の追加機能</title>
@@ -223,6 +223,20 @@ $translate->addTranslation(
                         </entry>
                         </entry>
                         <entry><emphasis><constant>NULL</constant></emphasis></entry>
                         <entry><emphasis><constant>NULL</constant></emphasis></entry>
                     </row>
                     </row>
+
+                     <row>
+                        <entry>tag</entry>
+                        <entry>all</entry>
+
+                        <entry>
+                            Sets an individual tag which is used for the attached cache. Using this
+                            option allows to use and clear the cache for single instances. When this
+                            option is not set, the attached cache is used for all instances combined
+                        </entry>
+
+                        <entry><emphasis><classname>Zend_Translate</classname></emphasis></entry>
+                    </row>
+
                     <row>
                     <row>
                         <entry>delimiter</entry>
                         <entry>delimiter</entry>
                         <entry>Csv</entry>
                         <entry>Csv</entry>