cvs: phpdoc /ja Translators /ja/chapters install.xml /ja/functions outcontrol.xml strings.xml xslt.xml

From: Date: Mon, 13 Nov 2000 21:41:01 +0000
Subject: cvs: phpdoc /ja Translators /ja/chapters install.xml /ja/functions outcontrol.xml strings.xml xslt.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969332908@lists.php.net to get a copy of this message
hirokawa Mon Nov 13 13:41:01 2000 EDT Modified files: /phpdoc/ja Translators /phpdoc/ja/chapters install.xml /phpdoc/ja/functions outcontrol.xml strings.xml xslt.xml Log: added xslt.xml .

Index: phpdoc/ja/Translators diff -u phpdoc/ja/Translators:1.13 phpdoc/ja/Translators:1.14 --- phpdoc/ja/Translators:1.13 Tue Oct 17 08:03:54 2000 +++ phpdoc/ja/Translators Mon Nov 13 13:41:00 2000 @@ -98,6 +98,7 @@ functions/vmailmgr.xml Rui Hirokawa functions/wddx.xml Rui Hirokawa functions/xml.xml Rui Hirokawa +functions/xslt.xml Rui Hirokawa functions/yaz.xml Rui Hirokawa functions/zlib.xml Rui Hirokawa -------- language ---------------------------------------------------------- Index: phpdoc/ja/chapters/install.xml diff -u phpdoc/ja/chapters/install.xml:1.15 phpdoc/ja/chapters/install.xml:1.16 --- phpdoc/ja/chapters/install.xml:1.15 Sat Oct 28 08:45:42 2000 +++ phpdoc/ja/chapters/install.xml Mon Nov 13 13:41:00 2000 @@ -268,7 +268,7 @@ </para> </sect2> - <sect2> + <sect2 id="install.building"> <title>構築</title> <simpara> PHPのconfigureを実行した後は、既にCGI実行ファイルまたはPHPライブラリ @@ -278,7 +278,7 @@ </simpara> </sect2> - <sect2> + <sect2 id="install.testing"> <title>試験</title> <simpara> PHPをCGIプログラムとして実行した場合、<command>make @@ -289,7 +289,7 @@ </simpara> </sect2> - <sect2> + <sect2 id="install.benchmarking"> <title>ベンチマーク</title> <simpara> PHPをCGIプログラムとして構築した場合には、 @@ -302,6 +302,11 @@ を使用して設定して下さい。<command>make bench</command> は、<link linkend="configuration.file">設定ファイル</link>を無視します。 </simpara> + <note> + <simpara> + <command>make bench</command> は、PHP 3 でのみ利用可能です。 + </simpara> + </note> </sect2> </sect1> @@ -996,10 +1001,10 @@ </term> <listitem> <para> - PHP 3: 国際化関数のサポートを有効にします。 + PHP 3: (国際化版PHP 3において)国際化関数のサポートを有効にします。 </para> <para> - PHP 4: PHP 4で利用できないオプション + PHP 4: PHP 4では利用できないオプションです </para> <para> 国際化サポート関数により文字コードの相互変換やマルチバイト検索 @@ -1023,7 +1028,7 @@ PHP 3: マルチバイト文字対応の正規表現関数を使用可能にします。 </para> <para> - PHP 4: PHP 4で利用できないオプション + PHP 4: PHP 4では利用できないオプションです </para> <para> この関数を使用するためには、国際化版PHP 3を次の場所から入手する必要が @@ -3173,7 +3178,7 @@ <simpara> インストータの実行ファイルを実行し、インストールウイザードの指示 に従って下さい。2種類のインストール方法がサポートされています。一 - つ目は standard で、全て設定の選択肢についてデフォルト値が示され + つ目は standard でã€å…¨ã¦è¨­å®šã®é¸æŠžè‚¢ã«ã¤ã„てデフォルト値が示され ます。もう一つは、advanced で、選択肢について質問が行われます。 </simpara> Index: phpdoc/ja/functions/outcontrol.xml diff -u phpdoc/ja/functions/outcontrol.xml:1.3 phpdoc/ja/functions/outcontrol.xml:1.4 --- phpdoc/ja/functions/outcontrol.xml:1.3 Sat Nov 11 16:23:31 2000 +++ phpdoc/ja/functions/outcontrol.xml Mon Nov 13 13:41:00 2000 @@ -91,7 +91,11 @@ <funcsynopsis> <funcprototype> <funcdef>void <function>ob_start</function></funcdef> - <void/> + <paramdef>string + <parameter> + <optional>output_callback</optional> + </parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> @@ -107,9 +111,51 @@ 消去します。 </para> <para> - <function>ob_get_contents</function>,<function>ob_end_flush</function>, - <function>ob_end_clean</function>,<function>ob_implicit_flush</function> - も参照下さい。 + オプションの引数 output_callback 関数を指定することが可能です。こ + の関数は、パラメータとして文字列をとり、文字列を返します。このコー + ルバック関数は、<function>ob_end_flush</function> 実行時にコール + され、出力バッファの内容をパラメータとして受取ります。このコール + バック関数は、新規の出力バッファを実際に出力される結果として返す + 必要があります。 + </para> + <para> + 出力バッファはスタッカブルであり、このため、他の + <function>ob_start</function> がアクティブの間に + <function>ob_start</function> をコールすることが可能です。この場 + 合、<function>ob_end_flush()</function> を適当な回数コールするよ + うにして下さい。複数の出力コールバック関数がアクティブの場合、出 + 力はネストした順番で逐次連続的にフィルタ処理されます。 + </para> + <example> + <title>コールバック関数の例</title> + <programlisting role="php"> +&lt;?php +function c($str) { + // Druu Chunusun mut dum Kuntrubu゚... + return nl2br(ereg_replace("[aeiou]", "u", $str)); +} + +function d($str) { + return strip_tags($str); +} +?> + +&lt;?php ob_start("c"); ?&gt; +Drei Chinesen mit dem Kontraba゚... +&lt;?php ob_start("d"); ?&gt; +&lt;h1&gt;..sa゚en auf der Stra゚e und erz臧lten sich was...&lt;/h1&gt; +&lt;?php ob_end_flush(); ?&gt; +... da kam die Polizei, ja was ist denn das? +&lt;?php ob_end_flush(); ?&gt; + +?&gt; + </programlisting> + </example> + <para> + <function>ob_get_contents</function>, + <function>ob_end_flush</function>, + <function>ob_end_clean</function>, + <function>ob_implicit_flush</function>も参照下さい。 </para> </refsect1> </refentry> Index: phpdoc/ja/functions/strings.xml diff -u phpdoc/ja/functions/strings.xml:1.20 phpdoc/ja/functions/strings.xml:1.21 --- phpdoc/ja/functions/strings.xml:1.20 Sat Oct 28 08:45:43 2000 +++ phpdoc/ja/functions/strings.xml Mon Nov 13 13:41:00 2000 @@ -2644,7 +2644,7 @@ <function>strtr</function> は、引数を2つ指定してコールすることが可能です。 引数を2つ指定してコールっ_場合、異なった動作となります。 文字列<parameter>from</parameter> では、ソース文字列で変換を行う - 「文字列 -> 文字列」の組を指定する必要があります。 + 「文字列 -> 文字列」の組を指定する必要があã‚ます。 <function>strtr</function> は、常にまず最も長くマッチする文字列を探し、 既に置換されている部分文字列については再度置換を行いません。 </para> Index: phpdoc/ja/functions/xslt.xml diff -u phpdoc/ja/functions/xslt.xml:1.1 phpdoc/ja/functions/xslt.xml:1.2 --- phpdoc/ja/functions/xslt.xml:1.1 Mon Nov 13 04:32:09 2000 +++ phpdoc/ja/functions/xslt.xml Mon Nov 13 13:41:00 2000 @@ -1,51 +1,51 @@ <reference id="ref.xslt"> - <title>XSLT functions</title> + <title>XSLT 関数</title> <titleabbrev>XSLT</titleabbrev> - + <partintro> <sect1 id="xslt.partintro"> - <title>Introduction</title> + <title>導入</title> <sect2 id="xslt.intro"> - <title>About XSLT and Sablotron</title> + <title>XSLT と Sablotronについて</title> <para> XSLT (Extensible Stylesheet Language (XSL) - Transformations) is a language for transforming XML - documents into other XML documents. It is a standard - defined by The World Wide Web consortium (W3C). - Information about XSLT and related technologies can be - found at <ulink url="&url.xslt;">&url.xslt;</ulink>. + Transformations) は、XMLドキュメントを他のXMLドキュメントに変換 + する言語です。XSLTは、World Wide Web コンソーシアム (W3C) により + 標準化されています。XSLTに関する情報と関連技術については、 + <ulink url="&url.xslt;">&url.xslt;</ulink> から得ることができま + す。 </para> </sect2> <sect2 id="xslt.install"> - <title>Installation</title> + <title>インストール</title> <para> - This extension uses <productname>Sabloton</productname> - and <productname>expat</productname>, which can both be - found at <ulink - url="&url.sablotron;">&url.sablotron;</ulink>. Binaries - are provided as well as source. + この拡張モジュールは、<productname>Sabloton</productname>および + <productname>expat</productname> を使用します。これらは、共に + <ulink url="&url.sablotron;">&url.sablotron;</ulink>から得ること + が可能です。 実行バイナリがソースコードと同様に配布されています。 </para> <para> - On UNIX, run <command>configure</command> with the <option - role="configure">--with-sablot</option> and <option - role="configure">--enable-sablot-errors-descriptive</option> - options. The <productname>Sablotron</productname> library - should be installed somewhere your compiler can find it. + UNIXでは、オプション <option + role="configure">--with-sablot</option> と <option + role="configure">--enable-sablot-errors-descriptive</option>を指 + 定して <command>configure</command> を実行します。ライブラリ + <productname>Sablotron</productname> をコンパイラが見付けられる + 場所にインストールする必要があります。 </para> </sect2> - + <sect2 id="xslt.about"> - <title>About This Extension</title> + <title>この拡張モジュールについて</title> <para> - This PHP extension implements support - <productname>Sablotron</productname> from Ginger Alliance - in PHP. This toolkit lets you transform - XML documents into other documents, including new XML - documents, but also into HTML or other target formats. It - basically provides a standardized and portable template - mechanism, separating content and design of a website. + この PHP 拡張モジュールは、Ginger Alliance が開発した + <productname>Sablotron</productname> のサポートを PHP に実装しま + す。このツールキットにより XMLドキュメントを新しいXMLドキュメン + トを含む他のドキュメントに変換することが可能になります。この出力 + フォーマットには、HTMLまたは他のターゲットフォーマットも含まれま + す。XSLTは、基本的にWebサイトのコンテンツとデザインを分離する標 + 準化され、ポータブルなテンプレート機構を提供するものです。 </para> </sect2> @@ -55,10 +55,12 @@ <refentry id="function.xslt-closelog"> <refnamediv> <refname>xslt_closelog</refname> - <refpurpose>Clear the logfile for a given instance of Sablotron</refpurpose> + <refpurpose> + 指定した Sablotron インスタンス用のログファイルをクリアする + </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_closelog</function></funcdef> @@ -70,16 +72,17 @@ <varlistentry> <term><parameter>xh</parameter></term> <listitem> - <simpara> - A reference to the XSLT parser. - </simpara> + <simpara> + XSLT パーサへのリファレンス。 + </simpara> </listitem> </varlistentry> - </variablelist></para> + </variablelist> + </para> <para> - This function returns false if <parameter>parser</parameter> does - not refer to a valid parser, or if the closing of the logfile - fails. Otherwise it returns true. + この関数は、<parameter>parser</parameter> が有効なパーサを参照し + ないか、ログファイルをクローズに失敗した場合に false を返します。 + その他の場合に true を返します。 </para> </refsect1> </refentry> @@ -87,10 +90,10 @@ <refentry id="function.xslt-create"> <refnamediv> <refname>xslt_create</refname> - <refpurpose>Create a new XSL processor.</refpurpose> + <refpurpose>新規のXSLTプロセッサを作成する</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>resource <function>xslt_create</function></funcdef> @@ -98,8 +101,8 @@ </funcprototype> </funcsynopsis> <para> - This function returns a handle for a new XSL processor. This handle - is needed in all subsequent calls to XSL functions. + この関数は、新規のXSLTプロセッサへのハンドルを返します。このハン + ドルは、この後に使用する全てのXSLT関数をコールする際に必要です。 </para> </refsect1> </refentry> @@ -107,10 +110,10 @@ <refentry id="function.xslt-errno"> <refnamediv> <refname>xslt_errno</refname> - <refpurpose>Return the current error number</refpurpose> + <refpurpose>カレントエラー番号を返す</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>int <function>xslt_errno</function></funcdef> @@ -120,9 +123,9 @@ </funcprototype> </funcsynopsis> <para> - Return the current error number of the given XSL processor. If - no handle is given, the last error number that occured anywhere - is returned. + 指定したXSLTプロセッサについてカレントのエラー番号を返します。ハ + ンドルが指定されていない場合、どこかで発生した直近のエラー番号が + 返されます。 </para> </refsect1> </refentry> @@ -130,10 +133,10 @@ <refentry id="function.xslt-error"> <refnamediv> <refname>xslt_error</refname> - <refpurpose>Return the current error string</refpurpose> + <refpurpose>カレントのエラー文字列を返す</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>mixed <function>xslt_error</function></funcdef> @@ -143,9 +146,9 @@ </funcprototype> </funcsynopsis> <para> - Return the current error string of the given XSL processor. If - no handle is given, the last error string that occured anywhere - is returned. + 指定したXSLTプロセッサについてカレントのエラー文字列を返します。 + ハンドラが指定されない場合、どこかで発生した直近のエラー文字列が + 返されます。 </para> </refsect1> </refentry> @@ -153,10 +156,10 @@ <refentry id="function.xslt-fetch-result"> <refnamediv> <refname>xslt_fetch_result</refname> - <refpurpose>Fetch a (named) result buffer</refpurpose> + <refpurpose>(名前のある)結果バッファを取得する</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>string <function>xslt_fetch_result</function></funcdef> @@ -167,9 +170,9 @@ </funcprototype> </funcsynopsis> <para> - Fetch a result buffer from the XSLT processor identified by - the given handle. If no result name is given, the - buffer named &quot;/_result&quot; is fetched. + ハンドルにより指定したXSLTプロセッサから結果バッファを取得します。 + <parameter>result_name</parameter> が指定されない場合、 + &quot;/_result&quot; という名前のバッファが取得されます。 </para> </refsect1> </refentry> @@ -177,10 +180,10 @@ <refentry id="function.xslt-free"> <refnamediv> <refname>xslt_free</refname> - <refpurpose>Free XSLT processor</refpurpose> + <refpurpose>XSLT プロセッサを開放する</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>void <function>xslt_free</function></funcdef> @@ -190,7 +193,7 @@ </funcprototype> </funcsynopsis> <para> - Free the XSLT processor identified by the given handle. + ハンドルで指定したXSLTプロセッサを開放します。 </para> </refsect1> </refentry> @@ -198,10 +201,12 @@ <refentry id="function.xslt-openlog"> <refnamediv> <refname>xslt_openlog</refname> - <refpurpose>Set a logfile for XSLT processor messages</refpurpose> + <refpurpose> + XSLTプロセッサのメッセージ用のログファイルを設定する + </refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_openlog</function></funcdef> @@ -213,8 +218,8 @@ </funcprototype> </funcsynopsis> <para> - Set a logfile for the XSLT processor to place all of its error - messages. + XSLT プロセッサのエラーメッセージを全て記録するログファイルを設定 + します。 </para> </refsect1> </refentry> @@ -225,7 +230,7 @@ <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_output_begintransform</function></funcdef> @@ -235,7 +240,7 @@ </funcprototype> </funcsynopsis> <para> - This function lacks a prototype definition. + この関数には、プロトタイプがありません。 </para> </refsect1> </refentry> @@ -246,7 +251,7 @@ <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_output_endtransform</function></funcdef> @@ -256,7 +261,7 @@ </funcprototype> </funcsynopsis> <para> - This function lacks a prototype definition. + この関数には、プロトタイプがありません。 </para> </refsect1> </refentry> @@ -267,7 +272,7 @@ <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_process</function></funcdef> @@ -277,7 +282,7 @@ </funcprototype> </funcsynopsis> <para> - This function lacks a prototype definition. + この関数には、プロトタイプがありません。 </para> </refsect1> </refentry> @@ -285,10 +290,10 @@ <refentry id="function.xslt-run"> <refnamediv> <refname>xslt_run</refname> - <refpurpose>Apply a XSLT stylesheet to a file.</refpurpose> + <refpurpose>XSLTスタイルシートをファイルに適用する</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_run</function></funcdef> @@ -303,10 +308,10 @@ </funcprototype> </funcsynopsis> <para> - Process the xml_data_file by applying the xslt_file stylesheet to - it. The stylesheet has access to xslt_params and the processor - is started with xslt_args. The result of the XSLT transformation - is placed in the named buffer (default is &quot;/_result&quot;). + xslt_file スタイルシートを適用することにより xml_data_file を処理 + する。スタイルシートは xslt_params にアクセスし、プロセッサは + xslt_args を指定して開始されます。XSLT変換の結果は、名前のあるバッ + ファ(デフォルトは &quot;/_result&quot;)に置かれます。 </para> </refsect1> </refentry> @@ -314,10 +319,10 @@ <refentry id="function.xslt-set-sax-handler"> <refnamediv> <refname>xslt_set_sax_handler</refname> - <refpurpose>Set SAX handlers for a XSLT processor</refpurpose> + <refpurpose>XSLTプロセッサに SAX ハンドラを設定する</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_set_sax_handler</function></funcdef> @@ -328,7 +333,7 @@ </funcprototype> </funcsynopsis> <para> - Set SAX handlers on the ressource handle given by xh. + xh で指定したリソースハンドルに SAX ハンドラを設定します。 </para> </refsect1> </refentry> @@ -339,7 +344,7 @@ <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> - <title>Description</title> + <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_transform</function></funcdef> @@ -349,7 +354,7 @@ </funcprototype> </funcsynopsis> <para> - This function lacks a prototype definition. + この関数には、プロトタイプがありません。 </para> </refsect1> </refentry>
« previous php.doc (#969332908) next »