svn: /phpdoc/ja/trunk/reference/exif/functions/ exif-imagetype.xml exif-read-data.xml exif-tagname.xml exif-thumbnail.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Fri, 20 Nov 2020 20:19:15 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=351462 Log: Generate exif methodsynopses from stubs Based on a patch contributed by Máté Kocsis <[email protected]>. Changed paths: U phpdoc/ja/trunk/reference/exif/functions/exif-imagetype.xml U phpdoc/ja/trunk/reference/exif/functions/exif-read-data.xml U phpdoc/ja/trunk/reference/exif/functions/exif-tagname.xml U phpdoc/ja/trunk/reference/exif/functions/exif-thumbnail.xml
svn-diffs-351462.txt
(text/x-diff, 10.4 KB)
Modified: phpdoc/ja/trunk/reference/exif/functions/exif-imagetype.xml
===================================================================
--- phpdoc/ja/trunk/reference/exif/functions/exif-imagetype.xml 2020-11-20 20:07:32 UTC (rev 351461)
+++ phpdoc/ja/trunk/reference/exif/functions/exif-imagetype.xml 2020-11-20 20:19:15 UTC (rev 351462)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350655 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351452 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.exif-imagetype" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>exif_imagetype</methodname>
+ <type class="union"><type>int</type><type>false</type></type><methodname>exif_imagetype</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
</methodsynopsis>
<para>
@@ -203,7 +203,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/exif/functions/exif-read-data.xml
===================================================================
--- phpdoc/ja/trunk/reference/exif/functions/exif-read-data.xml 2020-11-20 20:07:32 UTC (rev 351461)
+++ phpdoc/ja/trunk/reference/exif/functions/exif-read-data.xml 2020-11-20 20:19:15 UTC (rev 351462)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347589 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351452 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.exif-read-data" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -12,11 +12,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>array</type><methodname>exif_read_data</methodname>
- <methodparam><type>mixed</type><parameter>stream</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>sections</parameter><initializer>&null;</initializer></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>arrays</parameter><initializer>&false;</initializer></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>thumbnail</parameter><initializer>&false;</initializer></methodparam>
+ <type class="union"><type>array</type><type>false</type></type><methodname>exif_read_data</methodname>
+ <methodparam><type class="union"><type>resource</type><type>string</type></type><parameter>file</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>required_sections</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>as_arrays</parameter><initializer>&false;</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>read_thumbnail</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
<function>exif_read_data</function> は、
@@ -73,7 +73,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>stream</parameter></term>
+ <term><parameter>file</parameter></term>
<listitem>
<para>
画像ファイルの位置。
@@ -84,7 +84,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>sections</parameter></term>
+ <term><parameter>required_sections</parameter></term>
<listitem>
<para>
結果の配列を作成するために存在する必要のあるセクションのカンマ区切り
@@ -145,19 +145,20 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>arrays</parameter></term>
+ <term><parameter>as_arrays</parameter></term>
<listitem>
<para>
各セクションを配列とするかどうかを指定します。
+ <parameter>required_sections</parameter> の
<literal>COMPUTED</literal>、
<literal>THUMBNAIL</literal> および <literal>COMMENT</literal>
- のセクションは常に配列となります。これは、これらのセクションに
+ は常に配列となります。これは、これらのセクションに
含まれる値の名前が他のセクションと衝突する可能性があるからです。
</para>
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>thumbnail</parameter></term>
+ <term><parameter>read_thumbnail</parameter></term>
<listitem>
<para>
&true; を指定すると、サムネイル本体を読み込みます。それ以外の場合は
@@ -189,10 +190,15 @@
</thead>
<tbody>
<row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>required_sections</parameter> は、nullable になりました。
+ </entry>
+ </row>
+ <row>
<entry>7.2.0</entry>
<entry>
- <parameter>filename</parameter> パラメータは
- <parameter>stream</parameter> にリネームされ、
+ <parameter>file</parameter> パラメータは
ローカルファイルとストリームリソースを両方サポートするようになりました。
</entry>
</row>
@@ -391,7 +397,7 @@
</note>
<note>
<para>
- この関数にストリームを渡すために <parameter>stream</parameter> を使った場合、
+ この関数にストリームを渡すために <parameter>file</parameter> を使った場合、
ストリームはシーク可能でなければなりません。
ファイルポインタの位置は、関数から戻った後でも変化しないことに注意してください。
</para>
@@ -409,7 +415,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/exif/functions/exif-tagname.xml
===================================================================
--- phpdoc/ja/trunk/reference/exif/functions/exif-tagname.xml 2020-11-20 20:07:32 UTC (rev 351461)
+++ phpdoc/ja/trunk/reference/exif/functions/exif-tagname.xml 2020-11-20 20:19:15 UTC (rev 351462)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 305637 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351452 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="function.exif-tagname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>exif_tagname</refname>
@@ -9,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>exif_tagname</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>exif_tagname</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
</methodsynopsis>
</refsect1>
@@ -70,7 +71,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ja/trunk/reference/exif/functions/exif-thumbnail.xml
===================================================================
--- phpdoc/ja/trunk/reference/exif/functions/exif-thumbnail.xml 2020-11-20 20:07:32 UTC (rev 351461)
+++ phpdoc/ja/trunk/reference/exif/functions/exif-thumbnail.xml 2020-11-20 20:19:15 UTC (rev 351462)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 343465 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351452 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.exif-thumbnail" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,11 +10,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>exif_thumbnail</methodname>
- <methodparam><type>mixed</type><parameter>stream</parameter></methodparam>
+ <type class="union"><type>string</type><type>false</type></type><methodname>exif_thumbnail</methodname>
+ <methodparam><type class="union"><type>resource</type><type>string</type></type><parameter>file</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter role="reference">width</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter role="reference">height</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter role="reference">imagetype</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter role="reference">image_type</parameter></methodparam>
</methodsynopsis>
<para>
<function>exif_thumbnail</function> は、
@@ -37,7 +37,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>stream</parameter></term>
+ <term><parameter>file</parameter></term>
<listitem>
<para>
読み込む画像ファイルの名前。サムネイルが埋め込まれています。
@@ -62,7 +62,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>imagetype</parameter></term>
+ <term><parameter>image_type</parameter></term>
<listitem>
<para>
返されるサムネイルの画像タイプが格納されます。
@@ -119,8 +119,7 @@
<row>
<entry>7.2.0</entry>
<entry>
- <parameter>filename</parameter> パラメータは
- <parameter>stream</parameter> にリネームされ、
+ <parameter>file</parameter> パラメータは
ローカルファイルとストリームリソースを両方サポートするようになりました。
</entry>
</row>
@@ -133,7 +132,7 @@
&reftitle.notes;
<note>
<para>
- この関数にストリームを渡すために <parameter>stream</parameter> を使った場合、
+ この関数にストリームを渡すために <parameter>file</parameter> を使った場合、
ストリームはシーク可能でなければなりません。
ファイルポインタの位置は、関数から戻った後でも変化しないことに注意してください。
</para>
@@ -149,7 +148,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml