Parcourir la source

sync Japanese document with r17054.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17108 44c647ce-9c0f-0410-b52a-842ac1e357ba
takagi il y a 16 ans
Parent
commit
bcc49f9623

+ 3 - 2
documentation/manual/ja/module_specs/Zend_Db_Table.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 16831 -->
+<!-- EN-Revision: 17054 -->
 <sect1 id="zend.db.table">
 
     <title>Zend_Db_Table</title>
@@ -1198,7 +1198,8 @@ $rows = $table->fetchAll($select);
                 <programlisting language="php"><![CDATA[
 $table = new Bugs();
 
-$select = $table->select(Zend_Db_Table::SELECT_WITH_FROM_PART)->setIntegrityCheck(false);
+$select = $table->select(Zend_Db_Table::SELECT_WITH_FROM_PART)
+                ->setIntegrityCheck(false);
 $select->where('bug_status = ?', 'NEW')
        ->join('accounts',
               'accounts.account_name = bugs.reported_by',

+ 17 - 5
documentation/manual/ja/module_specs/Zend_Db_Table_Definition.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 16943 -->
+<!-- EN-Revision: 17054 -->
 <sect1 id="zend.db.table.definition">
 
     <title>Zend_Db_Table_Definition</title>
@@ -104,12 +104,18 @@ $authorTable = new Zend_Db_Table('author', $definition);
 $authors = $authorTable->fetchAll();
 
 foreach ($authors as $author) {
-    echo $author->id . ': ' . $author->first_name . ' ' . $author->last_name . PHP_EOL;
+    echo $author->id
+       . ': '
+       . $author->first_name
+       . ' '
+       . $author->last_name
+       . PHP_EOL;
     $books = $author->findDependentRowset('book');
     foreach ($books as $book) {
         echo '    Book: ' . $book->title . PHP_EOL;
         $genreOutputArray = array();
-        foreach ($book->findManyToManyRowset('genre', 'book_to_genre') as $genreRow) {
+        $genres = $book->findManyToManyRowset('genre', 'book_to_genre');
+        foreach ($genres as $genreRow) {
             $genreOutputArray[] = $genreRow->name;
         }
         echo '        Genre: ' . implode(', ', $genreOutputArray) . PHP_EOL;
@@ -185,12 +191,18 @@ $authorTable = new Zend_Db_Table('author', $definition);
 $authors = $authorTable->fetchAll();
 
 foreach ($authors as $author) {
-    echo $author->id . ': ' . $author->first_name . ' ' . $author->last_name . PHP_EOL;
+    echo $author->id
+       . ': '
+       . $author->first_name
+       . ' '
+       . $author->last_name
+       . PHP_EOL;
     $books = $author->findDependentRowset(new MyBook());
     foreach ($books as $book) {
         echo '    Book: ' . $book->title . PHP_EOL;
         $genreOutputArray = array();
-        foreach ($book->findManyToManyRowset('genre', 'book_to_genre') as $genreRow) {
+        $genres = $book->findManyToManyRowset('genre', 'book_to_genre');
+        foreach ($genres as $genreRow) {
             $genreOutputArray[] = $genreRow->name;
         }
         echo '        Genre: ' . implode(', ', $genreOutputArray) . PHP_EOL;

+ 3 - 2
documentation/manual/ja/module_specs/Zend_Filter-RealPath.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 16550 -->
+<!-- EN-Revision: 17054 -->
 <sect2 id="zend.filter.set.realpath">
     <title>RealPath</title>
 
@@ -41,7 +41,8 @@ $filter = new Zend_Filter_RealPath(false);
 $path   = '/www/var/path/../../non/existing/path';
 $filtered = $filter->filter($path);
 
-// file_exists または realpath が false を返すときでも '/www/non/existing/path' を返します。
+// file_exists または realpath が false を返すときでも
+// '/www/non/existing/path' を返します。
 ]]></programlisting>
 
 </sect2>

+ 14 - 5
documentation/manual/ja/module_specs/Zend_Http_Client-Migration.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17018 -->
+<!-- EN-Revision: 17054 -->
 <sect1 id="zend.http.client.migration">
 
     <title>前バージョンからの移行</title>
@@ -45,12 +45,21 @@
                 <programlisting language="php"><![CDATA[
 // ファイル2つを同じフォーム要素名でファイルの配列としてアップロード
 $client = new Zend_Http_Client();
-$client->setFileUpload('file1.txt', 'userfile[]', 'some raw data', 'text/plain');
-$client->setFileUpload('file2.txt', 'userfile[]', 'some other data', 'application/octet-stream');
+$client->setFileUpload('file1.txt',
+                       'userfile[]',
+                       'some raw data',
+                       'text/plain');
+$client->setFileUpload('file2.txt',
+                       'userfile[]',
+                       'some other data',
+                       'application/octet-stream');
 
-// Zend Framework の 1.8 以前では、protected メンバー $client->files の値はこうです:
+// Zend Framework の 1.8 以前では、
+// protected メンバー $client->files の値はこうです:
 // $client->files = array(
-//     'userfile[]' => array('file2.txt', 'application/octet-stream', 'some other data')
+//     'userfile[]' => array('file2.txt',
+                             'application/octet-stream',
+                             'some other data')
 // );
 
 // Zend Framework の 1.9 以降では、$client->files の値はこうです:

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Search_Lucene-Searching.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 16166 -->
+<!-- EN-Revision: 17054 -->
 <sect1 id="zend.search.lucene.searching">
     <title>インデックスの検索</title>