svn: /phpdoc/ja/trunk/reference/xsl/xsltprocessor/ getparameter.xml hasexsltsupport.xml registerphpfunctions.xml removeparameter.xml setparameter.xml setprofiling.xml setsecurityprefs.xml transformtodoc.xml transformtoxml.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Sat, 21 Nov 2020 22:35:01 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=351476 Log: Generate xsl methodsynopses based on stubs Based on a patch contributed by Máté Kocsis <[email protected]>. Changed paths: U phpdoc/ja/trunk/reference/xsl/xsltprocessor/getparameter.xml U phpdoc/ja/trunk/reference/xsl/xsltprocessor/hasexsltsupport.xml U phpdoc/ja/trunk/reference/xsl/xsltprocessor/registerphpfunctions.xml U phpdoc/ja/trunk/reference/xsl/xsltprocessor/removeparameter.xml U phpdoc/ja/trunk/reference/xsl/xsltprocessor/setparameter.xml U phpdoc/ja/trunk/reference/xsl/xsltprocessor/setprofiling.xml U phpdoc/ja/trunk/reference/xsl/xsltprocessor/setsecurityprefs.xml U phpdoc/ja/trunk/reference/xsl/xsltprocessor/transformtodoc.xml U phpdoc/ja/trunk/reference/xsl/xsltprocessor/transformtoxml.xml
svn-diffs-351476.txt
(text/x-diff, 15.6 KB)
Modified: phpdoc/ja/trunk/reference/xsl/xsltprocessor/getparameter.xml
===================================================================
--- phpdoc/ja/trunk/reference/xsl/xsltprocessor/getparameter.xml 2020-11-21 22:19:16 UTC (rev 351475)
+++ phpdoc/ja/trunk/reference/xsl/xsltprocessor/getparameter.xml 2020-11-21 22:35:01 UTC (rev 351476)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision$ -->
-<!-- EN-Revision: 328972 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351475 Maintainer: takagi Status: ready -->
<refentry xml:id="xsltprocessor.getparameter" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>XSLTProcessor::getParameter</refname>
@@ -9,10 +9,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type>
- <methodname>XSLTProcessor::getParameter</methodname>
- <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam>
- <methodparam><type>string</type><parameter>localName</parameter></methodparam>
+ <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>XSLTProcessor::getParameter</methodname>
+ <methodparam><type>string</type><parameter>namespace</parameter></methodparam>
+ <methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<para>
パラメータがあらかじめ
@@ -25,7 +24,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>namespaceURI</parameter></term>
+ <term><parameter>namespace</parameter></term>
<listitem>
<para>
XSLT パラメータの名前空間 URI を指定します。
@@ -33,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>localName</parameter></term>
+ <term><parameter>name</parameter></term>
<listitem>
<para>
XSLT パラメータのローカル名を指定します。
@@ -59,7 +58,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xsl/xsltprocessor/hasexsltsupport.xml
===================================================================
--- phpdoc/ja/trunk/reference/xsl/xsltprocessor/hasexsltsupport.xml 2020-11-21 22:19:16 UTC (rev 351475)
+++ phpdoc/ja/trunk/reference/xsl/xsltprocessor/hasexsltsupport.xml 2020-11-21 22:35:01 UTC (rev 351476)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision$ -->
-<!-- EN-Revision: 322205 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351475 Maintainer: takagi Status: ready -->
<refentry xml:id="xsltprocessor.hasexsltsupport" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>XSLTProcessor::hasExsltSupport</refname>
@@ -9,8 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>bool</type>
- <methodname>XSLTProcessor::hasExsltSupport</methodname>
+ <modifier>public</modifier> <type>bool</type><methodname>XSLTProcessor::hasExsltSupport</methodname>
<void/>
</methodsynopsis>
<para>
@@ -48,7 +47,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xsl/xsltprocessor/registerphpfunctions.xml
===================================================================
--- phpdoc/ja/trunk/reference/xsl/xsltprocessor/registerphpfunctions.xml 2020-11-21 22:19:16 UTC (rev 351475)
+++ phpdoc/ja/trunk/reference/xsl/xsltprocessor/registerphpfunctions.xml 2020-11-21 22:35:01 UTC (rev 351476)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350645 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351475 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="xsltprocessor.registerphpfunctions" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,9 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>void</type>
- <methodname>XSLTProcessor::registerPHPFunctions</methodname>
- <methodparam choice="opt"><type>mixed</type><parameter>restrict</parameter></methodparam>
+ <modifier>public</modifier> <type>void</type><methodname>XSLTProcessor::registerPHPFunctions</methodname>
+ <methodparam choice="opt"><type class="union"><type>array</type><type>string</type><type>null</type></type><parameter>functions</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
このメソッドは、PHP 関数を XSL スタイルシートでの XSLT
@@ -24,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>restrict</parameter></term>
+ <term><parameter>functions</parameter></term>
<listitem>
<para>
このパラメータは、XSLT からコールされる信頼できる関数のみを許可します。
@@ -93,7 +92,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xsl/xsltprocessor/removeparameter.xml
===================================================================
--- phpdoc/ja/trunk/reference/xsl/xsltprocessor/removeparameter.xml 2020-11-21 22:19:16 UTC (rev 351475)
+++ phpdoc/ja/trunk/reference/xsl/xsltprocessor/removeparameter.xml 2020-11-21 22:35:01 UTC (rev 351476)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision$ -->
-<!-- EN-Revision: 322205 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351475 Maintainer: takagi Status: ready -->
<refentry xml:id="xsltprocessor.removeparameter" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>XSLTProcessor::removeParameter</refname>
@@ -9,10 +9,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>bool</type>
- <methodname>XSLTProcessor::removeParameter</methodname>
- <methodparam><type>string</type><parameter>namespaceURI</parameter></methodparam>
- <methodparam><type>string</type><parameter>localName</parameter></methodparam>
+ <modifier>public</modifier> <type>bool</type><methodname>XSLTProcessor::removeParameter</methodname>
+ <methodparam><type>string</type><parameter>namespace</parameter></methodparam>
+ <methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<para>
もしパラメータが設定されていれば削除します。これにより、
@@ -25,7 +24,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>namespaceURI</parameter></term>
+ <term><parameter>namespace</parameter></term>
<listitem>
<para>
XSLT パラメータの名前空間 URI を指定します。
@@ -33,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>localName</parameter></term>
+ <term><parameter>name</parameter></term>
<listitem>
<para>
XSLT パラメータのローカル名を指定します。
@@ -59,7 +58,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xsl/xsltprocessor/setparameter.xml
===================================================================
--- phpdoc/ja/trunk/reference/xsl/xsltprocessor/setparameter.xml 2020-11-21 22:19:16 UTC (rev 351475)
+++ phpdoc/ja/trunk/reference/xsl/xsltprocessor/setparameter.xml 2020-11-21 22:35:01 UTC (rev 351476)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision$ -->
-<!-- EN-Revision: 322205 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351475 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="xsltprocessor.setparameter" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>XSLTProcessor::setParameter</refname>
@@ -9,13 +10,13 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>bool</type><methodname>XSLTProcessor::setParameter</methodname>
+ <modifier>public</modifier> <type>bool</type><methodname>XSLTProcessor::setParameter</methodname>
<methodparam><type>string</type><parameter>namespace</parameter></methodparam>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>string</type><parameter>value</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
- <type>bool</type><methodname>XSLTProcessor::setParameter</methodname>
+ <modifier>public</modifier> <type>bool</type><methodname>XSLTProcessor::setParameter</methodname>
<methodparam><type>string</type><parameter>namespace</parameter></methodparam>
<methodparam><type>array</type><parameter>options</parameter></methodparam>
</methodsynopsis>
@@ -58,7 +59,6 @@
<listitem>
<para>
<literal>名前 => 値</literal> の組の配列を指定します。
- この書式は PHP5.1.0 から利用可能です。
</para>
</listitem>
</varlistentry>
@@ -117,7 +117,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xsl/xsltprocessor/setprofiling.xml
===================================================================
--- phpdoc/ja/trunk/reference/xsl/xsltprocessor/setprofiling.xml 2020-11-21 22:19:16 UTC (rev 351475)
+++ phpdoc/ja/trunk/reference/xsl/xsltprocessor/setprofiling.xml 2020-11-21 22:35:01 UTC (rev 351476)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision$ -->
-<!-- EN-Revision: 322205 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351475 Maintainer: takagi Status: ready -->
<refentry xml:id="xsltprocessor.setprofiling" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>XSLTProcessor::setProfiling</refname>
@@ -9,8 +9,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>bool</type><methodname>XSLTProcessor::setProfiling</methodname>
- <methodparam><type>string</type><parameter>filename</parameter></methodparam>
+ <modifier>public</modifier> <type>bool</type><methodname>XSLTProcessor::setProfiling</methodname>
+ <methodparam><type class="union"><type>string</type><type>null</type></type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<para>
スタイルシート処理時のプロファイル情報を出力するファイルを設定します。
@@ -83,7 +83,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xsl/xsltprocessor/setsecurityprefs.xml
===================================================================
--- phpdoc/ja/trunk/reference/xsl/xsltprocessor/setsecurityprefs.xml 2020-11-21 22:19:16 UTC (rev 351475)
+++ phpdoc/ja/trunk/reference/xsl/xsltprocessor/setsecurityprefs.xml 2020-11-21 22:35:01 UTC (rev 351476)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344018 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351475 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="xsltprocessor.setsecurityprefs" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,8 +12,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type>int</type> <methodname>XSLTProcessor::setSecurityPrefs</methodname>
- <methodparam><type>int</type><parameter>securityPrefs</parameter></methodparam>
+ <modifier>public</modifier> <type>int</type><methodname>XSLTProcessor::setSecurityPrefs</methodname>
+ <methodparam><type>int</type><parameter>preferences</parameter></methodparam>
</methodsynopsis>
<para>
セキュリティ設定を指定します。
@@ -25,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>securityPrefs</parameter></term>
+ <term><parameter>preferences</parameter></term>
<listitem>
<para>
新しいセキュリティ設定。以下の定数を OR で指定できます。
@@ -50,7 +50,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xsl/xsltprocessor/transformtodoc.xml
===================================================================
--- phpdoc/ja/trunk/reference/xsl/xsltprocessor/transformtodoc.xml 2020-11-21 22:19:16 UTC (rev 351475)
+++ phpdoc/ja/trunk/reference/xsl/xsltprocessor/transformtodoc.xml 2020-11-21 22:35:01 UTC (rev 351476)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision$ -->
-<!-- EN-Revision: 322205 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351475 Maintainer: takagi Status: ready -->
<refentry xml:id="xsltprocessor.transformtodoc" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>XSLTProcessor::transformToDoc</refname>
@@ -9,9 +9,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>DOMDocument</type>
- <methodname>XSLTProcessor::transformToDoc</methodname>
- <methodparam><type>DOMNode</type><parameter>doc</parameter></methodparam>
+ <modifier>public</modifier> <type class="union"><type>DOMDocument</type><type>false</type></type><methodname>XSLTProcessor::transformToDoc</methodname>
+ <methodparam><type>object</type><parameter>document</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>returnClass</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
<function>XSLTProcessor::importStylesheet</function>
@@ -24,7 +24,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>doc</parameter></term>
+ <term><parameter>document</parameter></term>
<listitem>
<para>
変換されるノードを指定します。
@@ -85,7 +85,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/xsl/xsltprocessor/transformtoxml.xml
===================================================================
--- phpdoc/ja/trunk/reference/xsl/xsltprocessor/transformtoxml.xml 2020-11-21 22:19:16 UTC (rev 351475)
+++ phpdoc/ja/trunk/reference/xsl/xsltprocessor/transformtoxml.xml 2020-11-21 22:35:01 UTC (rev 351476)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344018 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351475 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="xsltprocessor.transformtoxml" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,9 +10,8 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type>
- <methodname>XSLTProcessor::transformToXml</methodname>
- <methodparam><type>object</type><parameter>doc</parameter></methodparam>
+ <modifier>public</modifier> <type class="union"><type>string</type><type>false</type><type>null</type></type><methodname>XSLTProcessor::transformToXml</methodname>
+ <methodparam><type>object</type><parameter>document</parameter></methodparam>
</methodsynopsis>
<para>
<function>xsltprocessor::importStylesheet</function>
@@ -25,7 +24,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>doc</parameter></term>
+ <term><parameter>document</parameter></term>
<listitem>
<para>
変換対象となる、<type>DOMDocument</type> オブジェクトあるいは
@@ -89,7 +88,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml