Explorar o código

sync Japanese document with r15740.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15751 44c647ce-9c0f-0410-b52a-842ac1e357ba
takagi %!s(int64=16) %!d(string=hai) anos
pai
achega
0cb664cd9f

+ 18 - 18
documentation/manual/ja/module_specs/Zend_Auth.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15617 -->
+<!-- EN-Revision: 15740 -->
 <sect1 id="zend.auth.introduction">
 
     <title>導入</title>
@@ -26,11 +26,11 @@
         <para>
             <classname>Zend_Auth</classname> クラスはシングルトンパターン
             (クラスのインスタンスは常にひとつだけ)
-            を実装しており、静的メソッド <code>getInstance()</code> でそれを使用します。
-            つまり、<code>new</code> 演算子や
-            <code>clone</code> キーワードは <classname>Zend_Auth</classname>
+            を実装しており、静的メソッド <methodname>getInstance()</methodname> でそれを使用します。
+            つまり、<emphasis>new</emphasis> 演算子や
+            <emphasis>clone</emphasis> キーワードは <classname>Zend_Auth</classname>
             クラスでは動作しないということです。そのかわりに
-            <classname>Zend_Auth::getInstance()</classname> を使用します。
+            <methodname>Zend_Auth::getInstance()</methodname> を使用します。
         </para>
     </note>
 
@@ -52,9 +52,9 @@
         <para>
             各 <classname>Zend_Auth</classname> アダプタクラスは、<classname>Zend_Auth_Adapter_Interface</classname>
             を実装しています。このインターフェイスで定義されているメソッドが
-            <code>authenticate()</code> で、アダプタクラスは
+            <methodname>authenticate()</methodname> で、アダプタクラスは
             認証クエリを実行するためにこれを実装する必要があります。
-            各アダプタクラスは、<code>authenticate()</code>
+            各アダプタクラスは、<methodname>authenticate()</methodname>
             をコールする前に準備を済ませておく必要があります。
             つまり、アダプタ側で用意しなければならない機能としては
             認証条件 (ユーザ名およびパスワードなど) の取得や
@@ -96,10 +96,10 @@ class MyAuthAdapter implements Zend_Auth_Adapter_Interface
 ]]></programlisting>
 
             docblock コメントで説明しているとおり、
-            <code>authenticate()</code> は
+            <methodname>authenticate()</methodname> は
             <classname>Zend_Auth_Result</classname> (あるいは <classname>Zend_Auth_Result</classname> の派生クラス)
             のインスタンスを返す必要があります。何らかの理由で認証の問い合わせができなかった場合は、
-            <code>authenticate()</code> は
+            <methodname>authenticate()</methodname> は
             <classname>Zend_Auth_Adapter_Exception</classname>
             から派生した例外をスローしなければなりません。
         </para>
@@ -111,7 +111,7 @@ class MyAuthAdapter implements Zend_Auth_Adapter_Interface
         <title>結果</title>
 
         <para>
-            <classname>Zend_Auth</classname> アダプタは、<classname>authenticate()</classname> の結果として
+            <classname>Zend_Auth</classname> アダプタは、<methodname>authenticate()</methodname> の結果として
             <classname>Zend_Auth_Result</classname> のインスタンスを返します。
             これにより、認証を試みた結果を表します。アダプタのインスタンスを作成した際に
             <classname>Zend_Auth_Result</classname> オブジェクトが作成され、
@@ -119,13 +119,13 @@ class MyAuthAdapter implements Zend_Auth_Adapter_Interface
             <itemizedlist>
                 <listitem>
                     <para>
-                        <code>isValid()</code> - その結果が
+                        <methodname>isValid()</methodname> - その結果が
                         認証の成功を表している場合にのみ true を返します。
                     </para>
                 </listitem>
                 <listitem>
                     <para>
-                        <code>getCode()</code> - <classname>Zend_Auth_Result</classname> の定数を返します。
+                        <methodname>getCode()</methodname> - <classname>Zend_Auth_Result</classname> の定数を返します。
                         これは、認証に失敗したのか成功したのかを表すものです。
                         これを使用する場面としては、認証の結果をいくつかの結果から区別したい場合などがあります。
                         これにより、たとえば認証結果について、より詳細な情報を管理することができるようになります。
@@ -137,12 +137,12 @@ class MyAuthAdapter implements Zend_Auth_Adapter_Interface
                 </listitem>
                 <listitem>
                     <para>
-                        <code>getIdentity()</code> - 認証を試みた ID 情報を返します。
+                        <methodname>getIdentity()</methodname> - 認証を試みた ID 情報を返します。
                     </para>
                 </listitem>
                 <listitem>
                     <para>
-                        <code>getMessages()</code> - 認証に失敗した場合に、
+                        <methodname>getMessages()</methodname> - 認証に失敗した場合に、
                         関連するメッセージの配列を返します。
                     </para>
                 </listitem>
@@ -394,7 +394,7 @@ $result = Zend_Auth::getInstance()->authenticate($authAdapter);
             </listitem>
             <listitem>
                 <para>
-                    直接、アダプタの <code>authenticate()</code> メソッドを使用する
+                    直接、アダプタの <methodname>authenticate()</methodname> メソッドを使用する
                 </para>
             </listitem>
             </orderedlist>
@@ -441,7 +441,7 @@ if ($auth->hasIdentity()) {
 
         <para>
             永続ストレージから認証 ID を削除するには、単純に
-            <code>clearIdentity()</code> メソッドを使用します。
+            <methodname>clearIdentity()</methodname> メソッドを使用します。
             これは、アプリケーションの "ログアウト" 処理を実装するためのものです。
             <programlisting language="php"><![CDATA[
 Zend_Auth::getInstance()->clearIdentity();
@@ -453,9 +453,9 @@ Zend_Auth::getInstance()->clearIdentity();
             そんな場合は、<classname>Zend_Auth</classname> クラスをバイパスして
             アダプタクラスを直接使用します。
             アダプタクラスを直接使用するとは、アダプタオブジェクトの設定と準備を行い、
-            その <code>authenticate()</code> メソッドをコールするということです。
+            その <methodname>authenticate()</methodname> メソッドをコールするということです。
             アダプタ固有の詳細情報については、各アダプタのドキュメントで説明します。
-            以下の例は、<code>MyAuthAdapter</code> を直接使用するものです。
+            以下の例は、<emphasis>MyAuthAdapter</emphasis> を直接使用するものです。
 
             <programlisting language="php"><![CDATA[
 // 認証アダプタを設定します

+ 79 - 81
documentation/manual/ja/module_specs/Zend_Cache-Backends.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15617 -->
+<!-- EN-Revision: 15740 -->
 <sect1 id="zend.cache.backends">
     <title><classname>Zend_Cache</classname> のバックエンド</title>
     <para>
@@ -29,17 +29,17 @@
                  </thead>
                  <tbody>
                       <row>
-                          <entry><code>cache_dir</code></entry>
-                          <entry><code>string</code></entry>
-                          <entry><code>'/tmp/'</code></entry>
+                          <entry><emphasis>cache_dir</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry><filename>'/tmp/'</filename></entry>
                           <entry>
                               キャッシュファイルを書き込むディレクトリ。
                           </entry>
                       </row>
                       <row>
-                          <entry><code>file_locking</code></entry>
-                          <entry><code>boolean</code></entry>
-                          <entry><code>true</code></entry>
+                          <entry><emphasis>file_locking</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry><constant>TRUE</constant></entry>
                           <entry>
                             ファイルロックを有効/無効にします。
                             不慮の事故でキャッシュが破壊されることを防げますが、
@@ -47,9 +47,9 @@
                           </entry>
                       </row>
                       <row>
-                          <entry><code>read_control</code></entry>
-                          <entry><code>boolean</code></entry>
-                          <entry><code>true</code></entry>
+                          <entry><emphasis>read_control</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry><constant>TRUE</constant></entry>
                           <entry>
                             読み込み制御を有効/無効にします。有効にすると
                             キャッシュファイルに制御キーが埋め込まれます。
@@ -57,9 +57,9 @@
                           </entry>
                       </row>
                       <row>
-                          <entry><code>read_control_type</code></entry>
-                          <entry><code>string</code></entry>
-                          <entry><code>'crc32'</code></entry>
+                          <entry><emphasis>read_control_type</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry>'crc32'</entry>
                           <entry>
                             読み込み制御の方式 (読み込み制御が有効な場合にのみ使用します)。
                             使用可能な値は
@@ -71,9 +71,9 @@
                         </entry>
                       </row>
                       <row>
-                          <entry><code>hashed_directory_level</code></entry>
-                          <entry><code>int</code></entry>
-                          <entry><code>0</code></entry>
+                          <entry><emphasis>hashed_directory_level</emphasis></entry>
+                          <entry><type>Integer</type></entry>
+                          <entry>0</entry>
                           <entry>
                             ディレクトリ構造のレベルを指定します。0 は "ディレクトリ階層を作らない"、
                             1 は "一段階のサブディレクトリを作る"、2 は "二段階の……" を意味します。
@@ -84,17 +84,17 @@
                           </entry>
                       </row>
                       <row>
-                          <entry><code>hashed_directory_umask</code></entry>
-                          <entry><code>int</code></entry>
-                          <entry><code>0700</code></entry>
+                          <entry><emphasis>hashed_directory_umask</emphasis></entry>
+                          <entry><type>Integer</type></entry>
+                          <entry>0700</entry>
                           <entry>
                               ディレクトリ構造の umask を指定します。
                         </entry>
                       </row>
                       <row>
-                          <entry><code>file_name_prefix</code></entry>
-                          <entry><code>string</code></entry>
-                          <entry><code>'zend_cache'</code></entry>
+                          <entry><emphasis>file_name_prefix</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry>'zend_cache'</entry>
                           <entry>
                               キャッシュファイルのプレフィックスを設定します。
                               このオプションを設定する際には十分注意しましょう。
@@ -104,17 +104,17 @@
                         </entry>
                       </row>
                       <row>
-                          <entry><code>cache_file_umask</code></entry>
-                          <entry><code>int</code></entry>
-                          <entry><code>0700</code></entry>
+                          <entry><emphasis>cache_file_umask</emphasis></entry>
+                          <entry><type>Integer</type></entry>
+                          <entry>0700</entry>
                           <entry>
                               キャッシュファイルの umask を設定します。
                           </entry>
                       </row>
                        <row>
-                          <entry><code>metatadatas_array_max_size</code></entry>
-                          <entry><code>int</code></entry>
-                          <entry><code>100</code></entry>
+                          <entry><emphasis>metatadatas_array_max_size</emphasis></entry>
+                          <entry><type>Integer</type></entry>
+                          <entry>100</entry>
                           <entry>
                               メタデータ配列の内部最大サイズを設定します
                               (よくわからない場合はこの値を変更してはいけません)。
@@ -146,17 +146,17 @@
                  </thead>
                  <tbody>
                       <row>
-                          <entry><code>cache_db_complete_path (必須)</code></entry>
-                          <entry><code>string</code></entry>
-                          <entry><code>null</code></entry>
+                          <entry><emphasis>cache_db_complete_path (必須)</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry><constant>NULL</constant></entry>
                           <entry>
                               SQLite データベースへの (ファイル名も含めた) フルパス。
                           </entry>
                       </row>
                       <row>
-                          <entry><code>automatic_vacuum_factor</code></entry>
-                          <entry><code>int</code></entry>
-                          <entry><code>10</code></entry>
+                          <entry><emphasis>automatic_vacuum_factor</emphasis></entry>
+                          <entry><type>Integer</type></entry>
+                          <entry>10</entry>
                           <entry>
                               自動バキューム処理の設定を行います。
                               自動バキューム処理とは、clean() や delete()
@@ -203,13 +203,11 @@
                  </thead>
                  <tbody>
                       <row>
-                          <entry><code>servers</code></entry>
-                          <entry><code>array</code></entry>
+                          <entry><emphasis>servers</emphasis></entry>
+                          <entry><type>Array</type></entry>
                           <entry>
-                            <code>
                               array(array('host' => 'localhost', 'port' => 11211, 'persistent' => true, 'weight' => 1,
                               'timeout' => 5, 'retry_interval' => 15, 'status' => true, 'failure_callback' => '' ))
-                            </code>
                           </entry>
                           <entry>
                               memcached サーバの配列です。各 memcached サーバの情報は、
@@ -225,17 +223,17 @@
                           </entry>
                       </row>
                       <row>
-                          <entry><code>compression</code></entry>
-                          <entry><code>boolean</code></entry>
-                          <entry><code>false</code></entry>
+                          <entry><emphasis>compression</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry><constant>FALSE</constant></entry>
                           <entry>
                              その場での圧縮処理を行いたい場合に true を指定します。
                           </entry>
                       </row>
                       <row>
-                          <entry><code>compatibility</code></entry>
-                          <entry><code>boolean</code></entry>
-                          <entry><code>false</code></entry>
+                          <entry><emphasis>compatibility</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry><constant>FALSE</constant></entry>
                           <entry>
                              古い memcache サーバ/拡張モジュールとの互換性モードを使用したい場合に
                              true を指定します。
@@ -289,17 +287,17 @@
                  </thead>
                  <tbody>
                       <row>
-                          <entry><code>user</code></entry>
-                          <entry><code>string</code></entry>
-                          <entry><code>null</code></entry>
+                          <entry><emphasis>user</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry><constant>NULL</constant></entry>
                           <entry>
                               xcache.admin.user です。clean() メソッドを使う際に必要です。
                           </entry>
                       </row>
                       <row>
-                          <entry><code>password</code></entry>
-                          <entry><code>string</code></entry>
-                          <entry><code>null</code></entry>
+                          <entry><emphasis>password</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry><constant>NULL</constant></entry>
                           <entry>
                               xcache.admin.pass (MD5 ではない平文形式) です。
                               clean() メソッドを使う際に必要です。
@@ -318,7 +316,7 @@
         </para>
         <para>
             このバックエンドはタグをサポートしています。しかし、
-            クリーニングモード <code>CLEANING_MODE_NOT_MATCHING_TAG</code> はサポートしていません。
+            クリーニングモード <constant>CLEANING_MODE_NOT_MATCHING_TAG</constant> はサポートしていません。
         </para>
         <para>
             <classname>Zend_Cache::factory()</classname> メソッドでこのバックエンドを指定する場合は、
@@ -361,41 +359,41 @@ $cache = Zend_Cache::factory('Core', 'Zend Platform');
                  </thead>
                  <tbody>
                       <row>
-                          <entry><code>slow_backend</code></entry>
-                          <entry><code>string</code></entry>
-                          <entry><code>File</code></entry>
+                          <entry><emphasis>slow_backend</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry>File</entry>
                           <entry>
                               "低速" バックエンドの名前。
                           </entry>
                       </row>
                       <row>
-                          <entry><code>fast_backend</code></entry>
-                          <entry><code>string</code></entry>
-                          <entry><code>Apc</code></entry>
+                          <entry><emphasis>fast_backend</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry>Apc</entry>
                           <entry>
                               "高速" バックエンドの名前。
                           </entry>
                       </row>
                       <row>
-                          <entry><code>slow_backend_options</code></entry>
-                          <entry><code>array</code></entry>
-                          <entry><code>array()</code></entry>
+                          <entry><emphasis>slow_backend_options</emphasis></entry>
+                          <entry><type>Array</type></entry>
+                          <entry><methodname>array()</methodname></entry>
                           <entry>
                               "低速" バックエンドのオプション。
                           </entry>
                       </row>
                       <row>
-                          <entry><code>fast_backend_options</code></entry>
-                          <entry><code>array</code></entry>
-                          <entry><code>array()</code></entry>
+                          <entry><emphasis>fast_backend_options</emphasis></entry>
+                          <entry><type>Array</type></entry>
+                          <entry><methodname>array()</methodname></entry>
                           <entry>
                               "高速" バックエンドのオプション。
                           </entry>
                       </row>
                       <row>
-                          <entry><code>slow_backend_custom_naming</code></entry>
-                          <entry><code>boolean</code></entry>
-                          <entry><code>false</code></entry>
+                          <entry><emphasis>slow_backend_custom_naming</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry><constant>FALSE</constant></entry>
                           <entry>
                               true の場合は、引数 slow_backend を完全なクラス名として使用します。
                               false の場合は、引数をクラス名 "Zend_Cache_Backend_[...]"
@@ -403,9 +401,9 @@ $cache = Zend_Cache::factory('Core', 'Zend Platform');
                           </entry>
                       </row>
                       <row>
-                          <entry><code>fast_backend_custom_naming</code></entry>
-                          <entry><code>boolean</code></entry>
-                          <entry><code>false</code></entry>
+                          <entry><emphasis>fast_backend_custom_naming</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry><constant>FALSE</constant></entry>
                           <entry>
                               true の場合は、引数 fast_backend を完全なクラス名として使用します。
                               false の場合は、引数をクラス名 "Zend_Cache_Backend_[...]"
@@ -413,36 +411,36 @@ $cache = Zend_Cache::factory('Core', 'Zend Platform');
                           </entry>
                       </row>
                       <row>
-                          <entry><code>slow_backend_autoload</code></entry>
-                          <entry><code>boolean</code></entry>
-                          <entry><code>false</code></entry>
+                          <entry><emphasis>slow_backend_autoload</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry><constant>FALSE</constant></entry>
                           <entry>
                               true の場合は、低速バックエンドに対して require_once を行いません
                               (独自のバックエンドを使用する場合にのみ有用です)。
                           </entry>
                       </row>
                       <row>
-                          <entry><code>fast_backend_autoload</code></entry>
-                          <entry><code>boolean</code></entry>
-                          <entry><code>false</code></entry>
+                          <entry><emphasis>fast_backend_autoload</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry><constant>FALSE</constant></entry>
                           <entry>
                               true の場合は、高速バックエンドに対して require_once を行いません
                               (独自のバックエンドを使用する場合にのみ有用です)。
                           </entry>
                       </row>
                       <row>
-                          <entry><code>auto_refresh_fast_cache</code></entry>
-                          <entry><code>boolean</code></entry>
-                          <entry><code>true</code></entry>
+                          <entry><emphasis>auto_refresh_fast_cache</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry><constant>TRUE</constant></entry>
                           <entry>
                               true の場合は、キャッシュレコードにヒットしたときに
                               高速キャッシュを自動的にリフレッシュします。
                           </entry>
                       </row>
                       <row>
-                          <entry><code>stats_update_factor</code></entry>
-                          <entry><code>integer</code></entry>
-                          <entry><code>10</code></entry>
+                          <entry><emphasis>stats_update_factor</emphasis></entry>
+                          <entry><type>Integer</type></entry>
+                          <entry>10</entry>
                           <entry>
                               高速バックエンドを使用率の計算を無効化 / 効率化します
                               (レコードをキャッシュに書き込む際の

+ 12 - 12
documentation/manual/ja/module_specs/Zend_Cache-Frontends.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15719 -->
+<!-- EN-Revision: 15740 -->
 <sect1 id="zend.cache.frontends">
     <title><classname>Zend_Cache</classname> のフロントエンド</title>
 
@@ -38,20 +38,20 @@
                      </thead>
                      <tbody>
                           <row>
-                              <entry><code>caching</code></entry>
-                              <entry><code>boolean</code></entry>
-                              <entry><code>true</code></entry>
+                              <entry><emphasis>caching</emphasis></entry>
+                              <entry><type>Boolean</type></entry>
+                              <entry><constant>TRUE</constant></entry>
                               <entry>
                                   キャッシングを有効/無効にします
                                   (キャッシュされたスクリプトのデバッグ時に有用です)。
                               </entry>
                           </row>
                           <row>
-                              <entry><code>cache_id_prefix</code></entry>
-                              <entry><code>string</code></entry>
-                              <entry><code>null</code></entry>
+                              <entry><emphasis>cache_id_prefix</emphasis></entry>
+                              <entry><type>String</type></entry>
+                              <entry><constant>NULL</constant></entry>
                               <entry>
-                                すべてのキャッシュ ID のプレフィックス。<code>null</code> を指定すると、
+                                すべてのキャッシュ ID のプレフィックス。<constant>NULL</constant> を指定すると、
                                 プレフィックスは使用しません。
                                 キャッシュ ID のプレフィックスは、いわばキャッシュ内での名前空間です。
                                 これによって、複数のアプリケーションやウェブサイトで
@@ -62,11 +62,11 @@
                               </entry>
                           </row>
                           <row>
-                              <entry><code>lifetime</code></entry>
-                              <entry><code>int</code></entry>
-                              <entry><code>3600</code></entry>
+                              <entry><emphasis>lifetime</emphasis></entry>
+                              <entry><type>Integer</type></entry>
+                              <entry>3600</entry>
                               <entry>
-                                キャッシュの有効期間 (秒)。<code>null</code>
+                                キャッシュの有効期間 (秒)。<constant>NULL</constant>
                                 を指定すると、有効期間が無期限となります。
                               </entry>
                           </row>