Переглянути джерело

sync Japanese document with r15157, r15234.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15280 44c647ce-9c0f-0410-b52a-842ac1e357ba
takagi 16 роки тому
батько
коміт
b5619e9552

+ 17 - 31
documentation/manual/ja/module_specs/Zend_Service_Delicious.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15103 -->
+<!-- EN-Revision: 15234 -->
 <sect1 id="zend.service.delicious">
     <title>Zend_Service_Delicious</title>
     <sect2 id="zend.service.delicious.introduction">
@@ -24,8 +24,7 @@ foreach ($posts as $post) {
     echo "タイトル: {$post->getTitle()}\n";
     echo "URL: {$post->getUrl()}\n";
 }
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
     </sect2>
     <sect2 id="zend.service.delicious.retrieving_posts">
@@ -65,8 +64,7 @@ public function getRecentPosts($tag = null, $count = 15);
  * @return Zend_Service_Delicious_PostList
  */
 public function getAllPosts($tag = null);
-]]>
-        </programlisting>
+]]></programlisting>
     </sect2>
     <sect2 id="zend.service.delicious.postlist">
         <title>Zend_Service_Delicious_PostList</title>
@@ -98,8 +96,7 @@ foreach ($posts as $post) {
 
 // 配列風のアクセス方式で投稿を取得します
 echo $posts[0]->getTitle();
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
         <note>
             <para>
@@ -129,8 +126,7 @@ foreach ($posts->withTags(array('php', 'zend')) as $post) {
     echo "タイトル: {$post->getTitle()}\n";
     echo "URL: {$post->getUrl()}\n";
 }
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
         <example id="zend.service.delicious.postlist.example.byUrl">
             <title>URL の指定による投稿一覧のフィルタリング</title>
@@ -147,8 +143,7 @@ foreach ($posts->withUrl('/help/') as $post) {
     echo "タイトル: {$post->getTitle()}\n";
     echo "URL: {$post->getUrl()}\n";
 }
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
     </sect2>
     <sect2 id="zend.service.delicious.editing_posts">
@@ -163,8 +158,7 @@ $posts = $delicious->getPosts();
 $posts[0]->setTitle('新しいタイトル');
 // 変更を保存します
 $posts[0]->save();
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
         <example id="zend.service.delicious.editing_posts.method_call_chaining">
             <title>メソッドコールの連結</title>
@@ -179,8 +173,7 @@ $posts = $delicious->getPosts();
 $posts[0]->setTitle('新しいタイトル')
          ->setNotes('新しいメモ')
          ->save();
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
     </sect2>
     <sect2 id="zend.service.delicious.deleting_posts">
@@ -204,8 +197,7 @@ $posts[0]->delete();
 
 // deletePost() を使用する、もうひとつの方法
 $delicious->deletePost($posts[0]->getUrl());
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
     </sect2>
     <sect2 id="zend.service.delicious.adding_posts">
@@ -231,8 +223,7 @@ $newPost = $delicious->createNewPost('Zend Framework',
                                      'http://framework.zend.com');
 $newPost->setNotes('Zend Framework Homepage');
 $newPost->save();
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
     </sect2>
     <sect2 id="zend.service.delicious.tags">
@@ -247,8 +238,7 @@ print_r($delicious->getTags());
 
 // タグ ZF の名前を zendFramework に変更します
 $delicious->renameTag('ZF', 'zendFramework');
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
     </sect2>
     <sect2 id="zend.service.delicious.bundles">
@@ -266,8 +256,7 @@ $delicious->deleteBundle('someBundle');
 
 // バンドルを追加します
 $delicious->addBundle('newBundle', array('tag1', 'tag2'));
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
     </sect2>
     <sect2 id="zend.service.delicious.public_data">
@@ -330,8 +319,7 @@ print_r($delicious->getUserNetwork('someUser'));
 
 // someUser のタグを取得します
 print_r($delicious->getUserTags('someUser'));
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
         <sect3 id="zend.service.delicious.public_data.posts">
             <title>公開投稿</title>
@@ -342,7 +330,7 @@ print_r($delicious->getUserTags('someUser'));
                 その中には URL やタイトル、メモ、タグといった投稿に関する基本情報が含まれます。
             </para>
             <table id="zend.service.delicious.public_data.posts.SimplePost_methods">
-                <title><classname>Zend_Service_Delicious_SimplePost</classname> クラスのメソッド</title>
+                <title>Zend_Service_Delicious_SimplePost クラスのメソッド</title>
                 <tgroup cols="3">
                     <thead>
                         <row>
@@ -387,12 +375,11 @@ print_r($delicious->getUserTags('someUser'));
             の HTTP クライアントを変更する必要があります。
         </para>
         <example id="zend.service.delicious.httpclient.changing">
-            <title><classname>Zend_Rest_Client</classname> の HTTP クライアントの変更</title>
+            <title>Zend_Rest_Client の HTTP クライアントの変更</title>
             <programlisting role="php"><![CDATA[
 $myHttpClient = new My_Http_Client();
 Zend_Rest_Client::setHttpClient($myHttpClient);
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
         <para>
             <classname>Zend_Service_Delicious</classname> で複数のリクエストを作成する際に
@@ -404,8 +391,7 @@ Zend_Rest_Client::setHttpClient($myHttpClient);
 Zend_Rest_Client::getHttpClient()->setConfig(array(
         'keepalive' => true
 ));
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
         <note>
             <para>

+ 9 - 15
documentation/manual/ja/module_specs/Zend_Service_SlideShare.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15103 -->
+<!-- EN-Revision: 15234 -->
 <sect1 id="zend.service.slideshare">
 
     <title>導入</title>
@@ -17,7 +17,7 @@
 
     <sect2 id="zend.service.slideshare.basicusage">
 
-        <title><classname>Zend_Service_SlideShare</classname> の使い方</title>
+        <title>Zend_Service_SlideShare の使い方</title>
 
         <para>
             <classname>Zend_Service_SlideShare</classname> コンポーネントを使うには、まず
@@ -39,8 +39,7 @@ $ss = new Zend_Service_SlideShare('APIKEY',
                                   'SHAREDSECRET',
                                   'USERNAME',
                                   'PASSWORD');
-]]>
-        </programlisting>
+]]></programlisting>
 
     </sect2>
 
@@ -191,8 +190,7 @@ class Zend_Service_SlideShare_SlideShow {
         return $this->_numViews;
     }
 }
-]]>
-        </programlisting>
+]]></programlisting>
 
         <note>
 
@@ -234,8 +232,7 @@ $slideshow = $ss->getSlideShow(123456);
 
 print "スライドショーのタイトル: {$slideshow->getTitle()}<br/>\n";
 print "閲覧回数: {$slideshow->getNumViews()}<br/>\n";
-]]>
-        </programlisting>
+]]></programlisting>
 
     </sect2>
 
@@ -310,14 +307,13 @@ $ss_group = $ss->getSlideShowsByGroup('mygroup', $starting_offset, $limit);
 foreach($ss_user as $slideshow) {
    print "スライドショーのタイトル: {$slideshow->getTitle}<br/>\n";
 }
-]]>
-        </programlisting>
+]]></programlisting>
 
     </sect2>
 
     <sect2 id="zend.service.slideshare.caching">
 
-        <title><classname>Zend_Service_SlideShare</classname> のキャッシュ処理のポリシー</title>
+        <title>Zend_Service_SlideShare のキャッシュ処理のポリシー</title>
 
         <para>
             デフォルトでは、<classname>Zend_Service_SlideShare</classname>
@@ -347,8 +343,7 @@ $ss = new Zend_Service_SlideShare('APIKEY',
 $ss->setCacheObject($cache);
 
 $ss_user = $ss->getSlideShowsByUser('username', $starting_offset, $limit);
-]]>
-        </programlisting>
+]]></programlisting>
 
     </sect2>
 
@@ -374,8 +369,7 @@ $ss = new Zend_Service_SlideShare('APIKEY',
                                   'PASSWORD');
 $ss->setHttpClient($client);
 $ss_user = $ss->getSlideShowsByUser('username', $starting_offset, $limit);
-]]>
-        </programlisting>
+]]></programlisting>
 
     </sect2>
 

+ 19 - 36
documentation/manual/ja/module_specs/Zend_Service_Technorati.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15103 -->
+<!-- EN-Revision: 15234 -->
 <sect1 id="zend.service.technorati">
     <title>Zend_Service_Technorati</title>
 
@@ -66,8 +66,7 @@ $technorati = new Zend_Service_Technorati('VALID_API_KEY');
 
 // Technorati で PHP というキーワードを検索します
 $resultSet = $technorati->search('PHP');
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
         <para>
             検索用のメソッドにはオプションパラメータの配列を渡すことができます。
@@ -86,8 +85,7 @@ $options = array('authority' => 'a4');
 
 // Technorati で PHP というキーワードを検索します
 $resultSet = $technorati->search('PHP', $options);
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
         <para>
             <classname>Zend_Service_Technorati</classname> のインスタンスは使い捨てのオブジェクトではありません。
@@ -96,7 +94,7 @@ $resultSet = $technorati->search('PHP', $options);
             オブジェクトを、気の済むまで使い回せばいいのです。
         </para>
         <example id="zend.service.technorati.making-first-query.example-3">
-            <title>ひとつの <classname>Zend_Service_Technorati</classname> インスタンスでの複数のクエリの送信</title>
+            <title>ひとつの Zend_Service_Technorati インスタンスでの複数のクエリの送信</title>
             <programlisting role="php"><![CDATA[
 // API_KEY を指定して
 // Zend_Service_Technorati を作成します
@@ -107,8 +105,7 @@ $search = $technorati->search('PHP');
 
 // Technorati で一番よく登録されているタブを取得します
 $topTags = $technorati->topTags();
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
     </sect2>
 
@@ -141,8 +138,7 @@ $resultSet = $technorati->search('PHP');
 foreach ($resultSet as $result) {
     // $result は Zend_Service_Technorati_SearchResult のインスタンスです
 }
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
         <para>
             <classname>Zend_Service_Technorati_ResultSet</classname> は <code>SeekableIterator</code>
@@ -163,8 +159,7 @@ $resultSet = $technorati->search('PHP');
 // $result は Zend_Service_Technorati_SearchResult のインスタンスです
 $resultSet->seek(1);
 $result = $resultSet->current();
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
         <note>
             <para>
@@ -198,8 +193,7 @@ foreach ($result->getWeblogs() as $weblog) {
     echo '<li>' . $weblog->getName() . '</li>';
 }
 echo "</ol>";
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
         <para>
             レスポンスクラスの詳細については
@@ -237,8 +231,7 @@ try {
 } catch(Zend_Service_Technorati_Exception $e) {
     echo "エラーが発生しました: " $e->getMessage();
 }
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
     </sect2>
 
@@ -267,8 +260,7 @@ $key = $technorati->keyInfo();
 echo "API Key: " . $key->getApiKey() . "<br />";
 echo "Daily Usage: " . $key->getApiQueries() . "/" .
      $key->getMaxQueries() . "<br />";
-]]>
-            </programlisting>
+]]></programlisting>
         </example>
     </sect2>
 
@@ -312,8 +304,7 @@ foreach ($resultSet as $result) {
     echo "<li>" . $result->getWeblog()->getName() . "</li>";
 }
 echo "</ol>";
-]]>
-                </programlisting>
+]]></programlisting>
             </example>
         </sect3>
 
@@ -341,8 +332,7 @@ foreach ($resultSet as $result) {
     echo "<li>" . $result->getWeblog()->getName() . "</li>";
 }
 echo "</ol>";
-]]>
-                </programlisting>
+]]></programlisting>
             </example>
         </sect3>
 
@@ -370,8 +360,7 @@ foreach ($resultSet as $result) {
     echo "<li>" . $result->getWeblog()->getName() . "</li>";
 }
 echo "</ol>";
-]]>
-                </programlisting>
+]]></programlisting>
             </example>
         </sect3>
 
@@ -396,8 +385,7 @@ foreach ($resultSet as $result) {
          "(" . $result->getCount() . ")</li>";
 }
 echo "</ol>";
-]]>
-                </programlisting>
+]]></programlisting>
             </example>
         </sect3>
 
@@ -425,8 +413,7 @@ foreach ($resultSet as $result) {
     echo "<li>" . $result->getTag() . "</li>";
 }
 echo "</ol>";
-]]>
-                </programlisting>
+]]></programlisting>
             </example>
         </sect3>
 
@@ -448,8 +435,7 @@ $result = $technorati->blogInfo('http://devzone.zend.com/');
 
 echo '<h2><a href="' . (string) $result->getWeblog()->getUrl() . '">' .
      $result->getWeblog()->getName() . '</a></h2>';
-]]>
-                </programlisting>
+]]></programlisting>
             </example>
         </sect3>
 
@@ -477,8 +463,7 @@ foreach ($resultSet as $result) {
     echo "<li>" . $result->getTag() . "</li>";
 }
 echo "</ol>";
-]]>
-                </programlisting>
+]]></programlisting>
             </example>
         </sect3>
 
@@ -506,8 +491,7 @@ foreach ($result->getWeblogs() as $weblog) {
     echo "<li>" . $weblog->getName() . "</li>";
 }
 echo "</ol>";
-]]>
-                </programlisting>
+]]></programlisting>
             </example>
         </sect3>
 
@@ -604,8 +588,7 @@ foreach ($resultSet as $result) {
     // Zend_Service_Technorati_SearchResult オブジェクトに対して
     // 何らかの操作をします
 }
-]]>
-                </programlisting>
+]]></programlisting>
             </example>
         </sect3>
 

+ 15 - 18
documentation/manual/ja/module_specs/Zend_Session-GlobalSessionManagement.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15103 -->
+<!-- EN-Revision: 15234 -->
 <sect1 id="zend.session.global_session_management">
 
     <title>グローバルセッションの管理</title>
@@ -93,8 +93,7 @@ save_path = /home/myaccount/zend_sessions/myapp
 use_only_cookies = on
 ; セッション ID クッキーを持続させる場合は、その有効期限を 10 日にします
 remember_me_seconds = 864000
-]]>
-</programlisting>
+]]></programlisting>
 
             <para>
                 次に、この設定ファイルを読み込んで、その内容を配列として
@@ -105,8 +104,7 @@ remember_me_seconds = 864000
 $config = new Zend_Config_Ini('myapp.ini', 'development');
 
 Zend_Session::setOptions($config->toArray());
-]]>
-            </programlisting>
+]]></programlisting>
 
         </example>
 
@@ -455,8 +453,7 @@ if (!isset($defaultNamespace->initialized)) {
     Zend_Session::regenerateId();
     $defaultNamespace->initialized = true;
 }
-]]>
-                </programlisting>
+]]></programlisting>
 
             </example>
 
@@ -466,7 +463,7 @@ if (!isset($defaultNamespace->initialized)) {
 
     <sect2 id="zend.session.global_session_management.rememberme">
 
-        <title><code>rememberMe(integer $seconds)</code></title>
+        <title>rememberMe(integer $seconds)</title>
 
         <para>
             通常は、セッションが終わるのはユーザエージェントが終了したとき、
@@ -487,7 +484,7 @@ if (!isset($defaultNamespace->initialized)) {
 
     <sect2 id="zend.session.global_session_management.forgetme">
 
-        <title><code>forgetMe()</code></title>
+        <title>forgetMe()</title>
 
         <para>
             この関数は <code>rememberMe()</code> を補完するものです。
@@ -499,7 +496,7 @@ if (!isset($defaultNamespace->initialized)) {
 
     <sect2 id="zend.session.global_session_management.sessionexists">
 
-        <title><code>sessionExists()</code></title>
+        <title>sessionExists()</title>
 
         <para>
             このメソッドを使用して、現在のユーザエージェント/リクエスト
@@ -513,7 +510,7 @@ if (!isset($defaultNamespace->initialized)) {
 
     <sect2 id="zend.session.global_session_management.destroy">
 
-        <title><code>destroy(bool $remove_cookie = true, bool $readonly = true)</code></title>
+        <title>destroy(bool $remove_cookie = true, bool $readonly = true)</title>
 
         <para>
             <classname>Zend_Session::destroy()</classname> は、
@@ -555,7 +552,7 @@ if (!isset($defaultNamespace->initialized)) {
 
     <sect2 id="zend.session.global_session_management.stop">
 
-        <title><code>stop()</code></title>
+        <title>stop()</title>
 
         <para>
             このメソッドは、単に Zend_Session のフラグを切り替え、
@@ -574,7 +571,7 @@ if (!isset($defaultNamespace->initialized)) {
 
     <sect2 id="zend.session.global_session_management.writeclose">
 
-        <title><code>writeClose($readonly = true)</code></title>
+        <title>writeClose($readonly = true)</title>
 
         <para>
             セッションを終了して内容を書き込んだ後に、
@@ -615,7 +612,7 @@ if (!isset($defaultNamespace->initialized)) {
 
     <sect2 id="zend.session.global_session_management.savehandler">
 
-        <title><code>setSaveHandler(Zend_Session_SaveHandler_Interface $interface)</code></title>
+        <title>setSaveHandler(Zend_Session_SaveHandler_Interface $interface)</title>
 
         <para>
             ほとんどの開発者にとっては、デフォルトの保存ハンドラで十分でしょう。
@@ -629,7 +626,7 @@ if (!isset($defaultNamespace->initialized)) {
 
     <sect2 id="zend.session.global_session_management.namespaceisset">
 
-        <title><code>namespaceIsset($namespace)</code></title>
+        <title>namespaceIsset($namespace)</title>
 
         <para>
             このメソッドを使用して、セッション名前空間が存在するかどうかを調べます。
@@ -649,7 +646,7 @@ if (!isset($defaultNamespace->initialized)) {
 
     <sect2 id="zend.session.global_session_management.namespaceunset">
 
-        <title><code>namespaceUnset($namespace)</code></title>
+        <title>namespaceUnset($namespace)</title>
 
         <para>
             <classname>Zend_Session::namespaceUnset($namespace)</classname> を使用すると、
@@ -679,7 +676,7 @@ if (!isset($defaultNamespace->initialized)) {
 
     <sect2 id="zend.session.global_session_management.namespaceget">
 
-        <title><code>namespaceGet($namespace)</code></title>
+        <title>namespaceGet($namespace)</title>
 
         <para>
             非推奨: <classname>Zend_Session_Namespace</classname> の <code>getIterator()</code>
@@ -704,7 +701,7 @@ if (!isset($defaultNamespace->initialized)) {
 
     <sect2 id="zend.session.global_session_management.getiterator">
 
-        <title><code>getIterator()</code></title>
+        <title>getIterator()</title>
 
         <para>
             <code>getIterator()</code> を使用して、全名前空間の名前を含む配列を取得します。