LMPX.COM |
Home | Linux | Mysql | PHP | XML | ||
|
|
|||
From: TAKAGI Masahiro Date: Fri Jun 20 02:41:16 2008 Subject: cvs: phpdoc-ja /appendices ini.xml /language/predefined/exception gettrace.xml /reference/apd configure.xml /reference/funchand/functions
func-get-arg.xml func-get-args.xml func-num-args.xml /reference/http HttpRequestPool.xml /reference/outcontrol book.xml /reference/phar
constants.xml fileformat.xml ini.xml setup.xml using.xml /reference/phar/Phar setSignatureAlgorithm.xml /reference/rar setup.xml /reference/sqlite
setup.xml /reference/swish/functions swishresult-stem.xml
takagi Fri Jun 20 08:41:16 2008 UTC
Modified files:
/phpdoc-ja/reference/swish/functions swishresult-stem.xml
/phpdoc-ja/reference/sqlite setup.xml
/phpdoc-ja/reference/rar setup.xml
/phpdoc-ja/reference/phar/Phar setSignatureAlgorithm.xml
/phpdoc-ja/reference/phar using.xml setup.xml ini.xml
fileformat.xml constants.xml
/phpdoc-ja/reference/outcontrol book.xml
/phpdoc-ja/reference/http HttpRequestPool.xml
/phpdoc-ja/reference/funchand/functions func-num-args.xml
func-get-args.xml
func-get-arg.xml
/phpdoc-ja/reference/apd configure.xml
/phpdoc-ja/language/predefined/exception gettrace.xml
/phpdoc-ja/appendices ini.xml
Log:
sync with en.
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/swish/functions/swishresult-stem.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc-ja/reference/swish/functions/swishresult-stem.xml
diff -u phpdoc-ja/reference/swish/functions/swishresult-stem.xml:1.2 phpdoc-ja/reference/swish/functions/swishresult-stem.xml:1.3
--- phpdoc-ja/reference/swish/functions/swishresult-stem.xml:1.2 Fri Jun 22 14:32:49 2007
+++ phpdoc-ja/reference/swish/functions/swishresult-stem.xml Fri Jun 20 08:41:15 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready -->
<refentry xml:id="function.swishresult-stem" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>SwishResult->stem</refname>
@@ -50,7 +50,7 @@
&reftitle.examples;
<para>
<example>
- <title>基本的な <function></function> の例</title>
+ <title>基本的な <function>SwishResult->stem</function> の例</title>
<programlisting role="php">
<![CDATA[
<?php
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/sqlite/setup.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc-ja/reference/sqlite/setup.xml
diff -u phpdoc-ja/reference/sqlite/setup.xml:1.2 phpdoc-ja/reference/sqlite/setup.xml:1.3
--- phpdoc-ja/reference/sqlite/setup.xml:1.2 Tue Jan 1 05:30:17 2008
+++ phpdoc-ja/reference/sqlite/setup.xml Fri Jun 20 08:41:15 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready -->
<!-- CREDITS: shimooka,hirokawa -->
<chapter xml:id="sqlite.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -27,8 +27,9 @@
他のソフトウエアをインストールする必要は全くありません。
</para>
<para>
- Windowsユーザは、DLL版のSQLite拡張モジュールを次の場所から入手可能です。
- (<link xlink:href="&url.pecl.get.win;php_sqlite.dll">php_sqlite.dll</link>)
+ Windows ユーザがこれらの関数を使用するには、<filename>php_sqlite.dll</filename>
+ を &php.ini; で有効にします。
+ &pecl.windows.download;
</para>
<para>
PHP 5 では、SQLite 拡張モジュールとエンジンは PHP
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/rar/setup.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-ja/reference/rar/setup.xml
diff -u phpdoc-ja/reference/rar/setup.xml:1.1 phpdoc-ja/reference/rar/setup.xml:1.2
--- phpdoc-ja/reference/rar/setup.xml:1.1 Sat Dec 22 02:04:41 2007
+++ phpdoc-ja/reference/rar/setup.xml Fri Jun 20 08:41:15 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
-<!-- EN-Revision: 1.2 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready -->
<chapter xml:id="rar.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
@@ -40,8 +40,9 @@
</example>
</para>
<para>
- Windows ユーザは、拡張 DLL <filename>php_rar.dll</filename> をここから
- ダウンロードします。<link xlink:href="&url.pecl.get.win;">&url.pecl.get.win;</link>
+ Windows ユーザがこれらの関数を使用するには、<filename>php_rar.dll</filename>
+ を &php.ini; で有効にします。
+ &pecl.windows.download;
</para>
</section>
<!-- }}} -->
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/phar/Phar/setSignatureAlgorithm.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-ja/reference/phar/Phar/setSignatureAlgorithm.xml
diff -u phpdoc-ja/reference/phar/Phar/setSignatureAlgorithm.xml:1.1 phpdoc-ja/reference/phar/Phar/setSignatureAlgorithm.xml:1.2
--- phpdoc-ja/reference/phar/Phar/setSignatureAlgorithm.xml:1.1 Wed Jan 30 06:41:09 2008
+++ phpdoc-ja/reference/phar/Phar/setSignatureAlgorithm.xml Fri Jun 20 08:41:15 2008
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
-<!-- EN-Revision: 1.2 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready -->
<refentry xml:id="phar.setsignaturealgorithm" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Phar::setSignatureAlgorithm</refname>
- <refpurpose>phar のシグネチャのアルゴリズムを設定する</refpurpose>
+ <refpurpose>phar のシグネチャのアルゴリズムを設定して適用する</refpurpose>
</refnamediv>
<refsect1 role="description">
@@ -12,6 +12,7 @@
<methodsynopsis>
<type>array</type><methodname>Phar::setSignatureAlgorithm</methodname>
<methodparam><type>int</type><parameter>sigtype</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>privatekey</parameter></methodparam>
</methodsynopsis>
&phar.write;
@@ -19,9 +20,18 @@
phar のシグネチャのアルゴリズムを設定します。
シグネチャのアルゴリズムは <literal>Phar::MD5</literal>、
<literal>Phar::SHA1</literal>、<literal>Phar::SHA256</literal>、
- <literal>Phar::SHA512</literal> あるいは <literal>Phar::PGP</literal>
- のいずれかでなければなりません
- (pgp は現時点ではまだサポートされておらず、自動的に SHA-1 に読みかえられます)。
+ <literal>Phar::SHA512</literal> あるいは <literal>Phar::OPENSSL</literal>
+ のいずれかでなければなりません。
+ </para>
+ <para>
+ phar 形式および tar 形式の phar アーカイブについては、
+ <literal>SHA1</literal> 形式のシグネチャが
+ デフォルトで自動的に作成されることに注意しましょう。
+ データ tar 形式のアーカイブ
+ (<classname>PharData</classname> クラスで作成したアーカイブ)
+ の場合は、
+ <function>Phar::setSignatureAlgorithm</function>
+ で明示的にシグネチャを作成して設定する必要があります。
</para>
</refsect1>
@@ -35,11 +45,29 @@
<para>
<literal>Phar::MD5</literal>、
<literal>Phar::SHA1</literal>、<literal>Phar::SHA256</literal>、
- <literal>Phar::SHA512</literal> あるいは <literal>Phar::PGP</literal>
+ <literal>Phar::SHA512</literal> あるいは <literal>Phar::OPENSSL</literal>
のいずれか。
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>privatekey</parameter></term>
+ <listitem>
+ <para>
+ OpenSSL 秘密鍵の中身。証明書あるいは OpenSSL 鍵ファイルから取り出したもの。
+ <programlisting role="php">
+ <![CDATA[
+$private = openssl_get_privatekey(file_get_contents('private.pem'));
+$pkey = '';
+openssl_pkey_export($private, $pkey);
+$p->setSignatureAlgorithm(Phar::OPENSSL, $pkey);
+ ]]>
+ </programlisting>
+ 公開鍵ファイルの名前や置き場所については
+ <link linkend="phar.using">phar の導入</link> を参照ください。
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
@@ -55,7 +83,7 @@
<para>
さまざまなエラーが発生した場合に
<classname>UnexpectedValueException</classname> をスローします。
- zip 形式や tar 形式の phar アーカイブに対してコールした場合は
+ zip 形式の phar アーカイブに対してコールした場合は
<classname>BadMethodCallException</classname> をスローします。
変更内容をディスクに書き込むときにエラーが発生した場合は
<classname>PharException</classname> をスローします。
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/phar/using.xml?r1=1.11&r2=1.12&diff_format=u
Index: phpdoc-ja/reference/phar/using.xml
diff -u phpdoc-ja/reference/phar/using.xml:1.11 phpdoc-ja/reference/phar/using.xml:1.12
--- phpdoc-ja/reference/phar/using.xml:1.11 Mon May 5 04:37:46 2008
+++ phpdoc-ja/reference/phar/using.xml Fri Jun 20 08:41:15 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.11 $ -->
-<!-- EN-Revision: 1.12 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.12 $ -->
+<!-- EN-Revision: 1.13 Maintainer: takagi Status: ready -->
<chapter xml:id="phar.using" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Phar アーカイブの使用法</title>
@@ -128,6 +128,26 @@
</informalexample>
</para>
<para>
+ さらに、phar ファイルの中身の検証を行うこともできます。対称型ハッシュアルゴリズム
+ (MD5、SHA1、SHA256、そしてもし ext/hash が有効ならさらに SHA512) のいずれか、
+ あるいは OpenSSL を使用した非対称公開鍵/秘密鍵ペアによる署名 (Phar 2.0.0 の新機能)
+ のいずれかを使用します。OpenSSL による署名を使用するには、
+ まず公開鍵/秘密鍵のペアを作成し、秘密鍵を使用して
+ <function>Phar::setSignatureAlgorithm</function> で署名を行います。
+ 公開キーによる展開はこのようなコードで行います。
+ <programlisting role="php">
+ <![CDATA[
+$public = openssl_get_publickey(file_get_contents('private.pem'));
+$pkey = '';
+openssl_pkey_export($public, $pkey);
+ ]]>
+ </programlisting>
+ 公開鍵は phar アーカイブと同じ場所、名前でなければなりません。つまり、phar アーカイブの保存先が
+ <literal>/path/to/my.phar</literal> の場合は公開鍵を
+ <literal>/path/to/my.phar.pubkey</literal> としなければなりません。
+ そうしないと、OpenSSL 署名の検証ができなくなります。
+ </para>
+ <para>
バージョン 2.0.0 以降、<classname>Phar</classname> には 3 つの静的メソッド
<function>Phar::webPhar</function>、
<function>Phar::mungServer</function> そして <function>Phar::interceptFileFuncs</function>
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/phar/setup.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-ja/reference/phar/setup.xml
diff -u phpdoc-ja/reference/phar/setup.xml:1.3 phpdoc-ja/reference/phar/setup.xml:1.4
--- phpdoc-ja/reference/phar/setup.xml:1.3 Wed Mar 26 21:49:52 2008
+++ phpdoc-ja/reference/phar/setup.xml Fri Jun 20 08:41:15 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready -->
<!-- CREDITS: shimooka -->
<chapter xml:id="phar.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -21,6 +21,8 @@
オプションとして、<link linkend="book.zlib" >zlib</link> 拡張モジュールおよび
<link linkend="book.bzip2" >bzip2</link> 拡張モジュールを有効にしておくと、
圧縮された phar をサポートすることができます。
+ さらに、OpenSSL の署名を使用するには、<link linkend="book.openssl">OpenSSL</link>
+ 拡張モジュールを有効にする必要があります。
</para>
<para>
<link linkend="filters.compression">zlib.deflate</link>
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/phar/ini.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc-ja/reference/phar/ini.xml
diff -u phpdoc-ja/reference/phar/ini.xml:1.8 phpdoc-ja/reference/phar/ini.xml:1.9
--- phpdoc-ja/reference/phar/ini.xml:1.8 Sat May 17 06:16:33 2008
+++ phpdoc-ja/reference/phar/ini.xml Fri Jun 20 08:41:15 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.8 $ -->
-<!-- EN-Revision: 1.8 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.9 $ -->
+<!-- EN-Revision: 1.9 Maintainer: takagi Status: ready -->
<section xml:id="phar.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
@@ -35,6 +35,12 @@
<entry>PHP_INI_ALL</entry>
<entry>phar 1.1.0 から 1.2.3 で使用可能、2.0.0 で削除</entry>
</row>
+ <row>
+ <entry>phar.cache_list</entry>
+ <entry>""</entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ <entry>phar 2.0.0 以降で使用可能</entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -135,6 +141,34 @@
</para>
</listitem>
</varlistentry>
+
+ <varlistentry xml:id="ini.phar.cache-list">
+ <term>
+ <parameter>phar.cache_list</parameter>
+ <type>string</type>
+ </term>
+ <listitem>
+ <para>
+ この INI 設定は phar 2.0.0 で追加されました。
+ </para>
+ <para>
+ phar アーカイブをウェブサーバの起動時に事前にパースさせるようにします。
+ これによりパフォーマンスが向上し、
+ ディスク上に配置した伝統的なファイルに近い速度で実行することができます。
+ <example>
+ <title>phar.cache_list の使用例</title>
+ <programlisting role="php">
+<![CDATA[
+php.ini (windows):
+phar.cache_list =C:\path\to\phar1.phar;C:\path\to\phar2.phar
+php.ini (unix):
+phar.cache_list =/path/to/phar1.phar:/path/to/phar2.phar
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</section>
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/phar/fileformat.xml?r1=1.10&r2=1.11&diff_format=u
Index: phpdoc-ja/reference/phar/fileformat.xml
diff -u phpdoc-ja/reference/phar/fileformat.xml:1.10 phpdoc-ja/reference/phar/fileformat.xml:1.11
--- phpdoc-ja/reference/phar/fileformat.xml:1.10 Sat May 17 06:16:33 2008
+++ phpdoc-ja/reference/phar/fileformat.xml Fri Jun 20 08:41:15 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.10 $ -->
-<!-- EN-Revision: 1.12 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.11 $ -->
+<!-- EN-Revision: 1.13 Maintainer: takagi Status: ready -->
<!-- Credits: shimooka -->
<chapter xml:id="phar.fileformat" xmlns="http://docbook.org/ns/docbook">
<title>phar って、tar や zip とは何が違うの?</title>
@@ -116,7 +116,7 @@
<row>
<entry>アーカイブ全体のシグネチャによる検証</entry>
<entry>Yes</entry>
- <entry>No</entry>
+ <entry>Yes</entry>
<entry>No</entry>
</row>
<row>
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/phar/constants.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc-ja/reference/phar/constants.xml
diff -u phpdoc-ja/reference/phar/constants.xml:1.2 phpdoc-ja/reference/phar/constants.xml:1.3
--- phpdoc-ja/reference/phar/constants.xml:1.2 Fri May 30 12:28:09 2008
+++ phpdoc-ja/reference/phar/constants.xml Fri Jun 20 08:41:15 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready -->
<!-- CREDITS: shimooka -->
<appendix xml:id="phar.constants" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -143,11 +143,11 @@
</row>
<row>
<entry>
- <constant>Phar::PGP</constant>
+ <constant>Phar::OPENSSL</constant>
(<type>integer</type>)
</entry>
<entry>0x0010</entry>
- <entry>PGP での署名 (未実装)</entry>
+ <entry>OpenSSL 公開鍵/秘密鍵 ペアでの署名。真の意味での非対称鍵による署名。</entry>
</row>
</tbody>
</tgroup>
@@ -186,30 +186,6 @@
<function>highlight_file</function> を通すよう指示する
</entry>
</row>
- <row>
- <entry>
- <constant>Phar::SHA256</constant>
- (<type>integer</type>)
- </entry>
- <entry>0x0003</entry>
- <entry>sha256 ハッシュアルゴリズムでの署名 (hash 拡張モジュールが必要)</entry>
- </row>
- <row>
- <entry>
- <constant>Phar::SHA512</constant>
- (<type>integer</type>)
- </entry>
- <entry>0x0004</entry>
- <entry>sha512 ハッシュアルゴリズムでの署名 (hash 拡張モジュールが必要)</entry>
- </row>
- <row>
- <entry>
- <constant>Phar::PHP</constant>
- (<type>integer</type>)
- </entry>
- <entry>0x0010</entry>
- <entry>PGP での署名 (未実装)</entry>
- </row>
</tbody>
</tgroup>
</table>
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/outcontrol/book.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc-ja/reference/outcontrol/book.xml
diff -u phpdoc-ja/reference/outcontrol/book.xml:1.2 phpdoc-ja/reference/outcontrol/book.xml:1.3
--- phpdoc-ja/reference/outcontrol/book.xml:1.2 Mon Jun 2 16:22:56 2008
+++ phpdoc-ja/reference/outcontrol/book.xml Fri Jun 20 08:41:15 2008
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready -->
<!-- CREDITS: shimooka,hirokawa -->
<!-- Purpose: basic.php -->
<!-- Membership: core -->
<book xml:id="book.outcontrol" xmlns="http://docbook.org/ns/docbook">
<title>出力バッファリング制御</title>
- <title>出力制御</title>
+ <titleabbrev>出力制御</titleabbrev>
<preface xml:id="intro.outcontrol">
&reftitle.intro;
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/http/HttpRequestPool.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc-ja/reference/http/HttpRequestPool.xml
diff -u phpdoc-ja/reference/http/HttpRequestPool.xml:1.4 phpdoc-ja/reference/http/HttpRequestPool.xml:1.5
--- phpdoc-ja/reference/http/HttpRequestPool.xml:1.4 Wed Dec 26 21:57:18 2007
+++ phpdoc-ja/reference/http/HttpRequestPool.xml Fri Jun 20 08:41:15 2008
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.4 $ -->
-<!-- EN-Revision: 1.5 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.5 $ -->
+<!-- EN-Revision: 1.6 Maintainer: takagi Status: ready -->
<reference xml:id="class.httprequestpool" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
<title><classname>HttpRequestPool</classname> クラス</title>
<partintro>
<section xml:id="httprequestpool.synopsis">
&reftitle.classsynopsis;
<classsynopsis>
- <ooclass><classname>HttpMessage</classname></ooclass>
+ <ooclass><classname>HttpRequestPool</classname></ooclass>
<classsynopsisinfo>
- <ooclass><classname>HttpMessage</classname></ooclass>
+ <ooclass><classname>HttpRequestPool</classname></ooclass>
<oointerface>
<interfacename>Iterator</interfacename>
</oointerface>
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/funchand/functions/func-num-args.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-ja/reference/funchand/functions/func-num-args.xml
diff -u phpdoc-ja/reference/funchand/functions/func-num-args.xml:1.6 phpdoc-ja/reference/funchand/functions/func-num-args.xml:1.7
--- phpdoc-ja/reference/funchand/functions/func-num-args.xml:1.6 Fri Jun 22 14:31:51 2007
+++ phpdoc-ja/reference/funchand/functions/func-num-args.xml Fri Jun 20 08:41:15 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.6 $ -->
-<!-- EN-Revision: 1.10 Maintainer: hirokawa Status: ready -->
+<!-- $Revision: 1.7 $ -->
+<!-- EN-Revision: 1.11 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi -->
<refentry xml:id="function.func-num-args" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -31,6 +31,30 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.3.0</entry>
+ <entry>
+ この関数はパラメータリスト内で使用できるようになりました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="errors">
&reftitle.errors;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/funchand/functions/func-get-args.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc-ja/reference/funchand/functions/func-get-args.xml
diff -u phpdoc-ja/reference/funchand/functions/func-get-args.xml:1.7 phpdoc-ja/reference/funchand/functions/func-get-args.xml:1.8
--- phpdoc-ja/reference/funchand/functions/func-get-args.xml:1.7 Fri Jun 22 14:31:51 2007
+++ phpdoc-ja/reference/funchand/functions/func-get-args.xml Fri Jun 20 08:41:15 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.7 $ -->
-<!-- EN-Revision: 1.13 Maintainer: hirokawa Status: ready -->
+<!-- $Revision: 1.8 $ -->
+<!-- EN-Revision: 1.14 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi -->
<refentry xml:id="function.func-get-args" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -32,6 +32,30 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.3.0</entry>
+ <entry>
+ この関数はパラメータリスト内で使用できるようになりました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="errors">
&reftitle.errors;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/funchand/functions/func-get-arg.xml?r1=1.9&r2=1.10&diff_format=u
Index: phpdoc-ja/reference/funchand/functions/func-get-arg.xml
diff -u phpdoc-ja/reference/funchand/functions/func-get-arg.xml:1.9 phpdoc-ja/reference/funchand/functions/func-get-arg.xml:1.10
--- phpdoc-ja/reference/funchand/functions/func-get-arg.xml:1.9 Fri Jun 22 14:31:51 2007
+++ phpdoc-ja/reference/funchand/functions/func-get-arg.xml Fri Jun 20 08:41:15 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.9 $ -->
-<!-- EN-Revision: 1.11 Maintainer: hirokawa Status: ready -->
+<!-- $Revision: 1.10 $ -->
+<!-- EN-Revision: 1.12 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi -->
<refentry xml:id="function.func-get-arg" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -48,6 +48,30 @@
</para>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <para>
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>5.3.0</entry>
+ <entry>
+ この関数はパラメータリスト内で使用できるようになりました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </para>
+ </refsect1>
+
<refsect1 role="errors">
&reftitle.errors;
<para>
http://cvs.php.net/viewvc.cgi/phpdoc-ja/reference/apd/configure.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc-ja/reference/apd/configure.xml
diff -u phpdoc-ja/reference/apd/configure.xml:1.2 phpdoc-ja/reference/apd/configure.xml:1.3
--- phpdoc-ja/reference/apd/configure.xml:1.2 Fri Jun 22 14:31:36 2007
+++ phpdoc-ja/reference/apd/configure.xml Fri Jun 20 08:41:16 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.6 Maintainer: takagi Status: ready -->
<section xml:id="apd.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.install;
<para>
@@ -25,8 +25,9 @@
読み込めるディレクトリならどこにでもインストール可能です。
</para>
<para>
- Windows ユーザは <link xlink:href="&url.pecl.get.win;">&url.pecl.get.win;</link>
- から <filename>php_apd.dll</filename> をダウンロードできます。
+ Windows ユーザがこれらの関数を使用するには、<filename>php_apd.dll</filename>
+ を &php.ini; で有効にします。
+ &pecl.windows.download;
</para>
<para>
INI ファイルに以下の行を追加します。
http://cvs.php.net/viewvc.cgi/phpdoc-ja/language/predefined/exception/gettrace.xml?r1=1.3&r2=1.4&diff_format=u
Index: phpdoc-ja/language/predefined/exception/gettrace.xml
diff -u phpdoc-ja/language/predefined/exception/gettrace.xml:1.3 phpdoc-ja/language/predefined/exception/gettrace.xml:1.4
--- phpdoc-ja/language/predefined/exception/gettrace.xml:1.3 Sat May 17 06:16:34 2008
+++ phpdoc-ja/language/predefined/exception/gettrace.xml Fri Jun 20 08:41:16 2008
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.3 $ -->
-<!-- EN-Revision: 1.3 Maintainer: takagi Status: ready -->
+<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.4 Maintainer: takagi Status: ready -->
<refentry xml:id="exception.gettrace" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>Exception::getTrace</refname>
<refpurpose>スタックトレースを取得する</refpurpose>
</refnamediv>
-
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -18,16 +18,16 @@
例外のスタックトレースを返します。
</para>
</refsect1>
-
+
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
-
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- 例外のメッセージを配列で返します。
+ 例外のスタックトレースを配列で返します。
</para>
</refsect1>
@@ -74,7 +74,7 @@
</para>
</refsect1>
</refentry>
-
+
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
http://cvs.php.net/viewvc.cgi/phpdoc-ja/appendices/ini.xml?r1=1.42&r2=1.43&diff_format=u
Index: phpdoc-ja/appendices/ini.xml
diff -u phpdoc-ja/appendices/ini.xml:1.42 phpdoc-ja/appendices/ini.xml:1.43
--- phpdoc-ja/appendices/ini.xml:1.42 Fri Apr 25 20:35:58 2008
+++ phpdoc-ja/appendices/ini.xml Fri Jun 20 08:41:16 2008
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.42 $ -->
-<!-- EN-Revision: 1.68 Maintainer: hirokawa Status: ready -->
+<!-- $Revision: 1.43 $ -->
+<!-- EN-Revision: 1.70 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi,shimooka -->
<appendix xml:id="ini" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -3538,6 +3538,99 @@
</para>
</section>
+ <section xml:id="ini.sections">
+ <title>&php.ini; のセクション一覧</title>
+ <para>
+ この一覧では、ホスト単位やパス単位で PHP の設定を行いたい場合に設定する
+ &php.ini; のセクションをまとめます。これらのセクションはオプションです。
+ </para>
+ <para>
+ これらのセクションは、PHP に直接影響を及ぼすわけではありません。
+ さまざまな &php.ini; ディレクティブをひとまとめにして、
+ それを特定のホストや特定のパスにだけ適用する場合に使用します。
+ </para>
+ <para>
+ <table>
+ <title>セクション</title>
+ <tgroup cols="3">
+ <thead>
+ <row>
+ <entry>名前</entry>
+ <entry>変更の可否</entry>
+ <entry>変更履歴</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry><link linkend="ini.per-host">[HOST=]</link></entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ <entry>PHP 5.3.0 で追加。</entry>
+ </row>
+ <row>
+ <entry><link linkend="ini.per-path">[PATH=]</link></entry>
+ <entry>PHP_INI_SYSTEM</entry>
+ <entry>PHP 5.3.0 で追加。</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </para>
+
+ &ini.descriptions.title;
+
+ <para>
+ <variablelist>
+ <varlistentry xml:id="ini.per-host">
+ <term>
+ <parameter>[HOST=<host>]</parameter>
+ </term>
+ <listitem>
+ <para>
+ このセクションで指定した &php.ini; ディレクティブは、
+ 指定した名前のホスト上でのみ有効となります。
+ </para>
+ <para>
+ <example>
+ <title>dev. ドメインではエラーを画面に表示させるようにする例</title>
+ <programlisting role="php.ini">
+<![CDATA[
+[HOST=dev.site.com]
+error_reporting = E_ALL
+display_errors = On
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry xml:id="ini.per-path">
+ <term>
+ <parameter>[PATH=<path>]</parameter>
+ </term>
+ <listitem>
+ <para>
+ このセクションで指定した &php.ini; ディレクティブは、
+ 指定したパスで実行したスクリプトでのみ有効となります。
+ </para>
+ <para>
+ <example>
+ <title>保護エリア内でのスクリプトのセキュリティ確保</title>
+ <programlisting role="php.ini">
+<![CDATA[
+[PATH=/home/site/public/secure]
+auto_prepend_file=security.php
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+ </para>
+ </section>
+
<section xml:id="ini.core">
<title>コア &php.ini; ディレクティブに関する説明</title>
<para>
| Navigate in group php.doc.ja at sever news.php.net | |
| Previous | Next |
| No Copyright You are free to use Anything |
Site Maintained by PHP Developer
Powered By PHP Consultants |