com doc/ja: Generate zip methodsynopses based on stubs: reference/zip/functions/zip-entry-close.xml reference/zip/functions/zip-entry-compressedsize.xml reference/zip/functions/zip-entry-compressionmethod.xml reference/zip/functions/zip-entry-filesize.xml reference/zip/functions/zip-entry-name.xml reference/zip/functions/zip-entry-open.xml reference/zip/functions/zip-entry-read.xml reference/zip/functions/zip-read.xml reference/zip/ziparchive/add
[email protected] (Yoshinari Takaoka) Sat, 02 Jan 2021 20:37:32 +0000
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
Commit: f0d6d78a58a3f519c7984c3042649c6675d4db22 Author: Yoshinari Takaoka <[email protected]> Sun, 3 Jan 2021 05:37:32 +0900 Parents: ad033aa6bae1559cce4954f2ca65aebd7c0d9de1 Branches: master Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=f0d6d78a58a3f519c7984c3042649c6675d4db22 Log: Generate zip methodsynopses based on stubs Co-authored-by: Christoph M. Becker <[email protected]> Closes GH-302. Changed paths: M reference/zip/functions/zip-entry-close.xml M reference/zip/functions/zip-entry-compressedsize.xml M reference/zip/functions/zip-entry-compressionmethod.xml M reference/zip/functions/zip-entry-filesize.xml M reference/zip/functions/zip-entry-name.xml M reference/zip/functions/zip-entry-open.xml M reference/zip/functions/zip-entry-read.xml M reference/zip/functions/zip-read.xml M reference/zip/ziparchive/addfile.xml M reference/zip/ziparchive/addfromstring.xml M reference/zip/ziparchive/addglob.xml M reference/zip/ziparchive/addpattern.xml M reference/zip/ziparchive/extractto.xml M reference/zip/ziparchive/getarchivecomment.xml M reference/zip/ziparchive/getcommentindex.xml M reference/zip/ziparchive/getcommentname.xml M reference/zip/ziparchive/getexternalattributesname.xml M reference/zip/ziparchive/getfromindex.xml M reference/zip/ziparchive/getfromname.xml M reference/zip/ziparchive/getnameindex.xml M reference/zip/ziparchive/getstatusstring.xml M reference/zip/ziparchive/iscompressionmethoddupported.xml M reference/zip/ziparchive/isencryptionmethoddupported.xml M reference/zip/ziparchive/locatename.xml M reference/zip/ziparchive/open.xml M reference/zip/ziparchive/renameindex.xml M reference/zip/ziparchive/renamename.xml M reference/zip/ziparchive/replacefile.xml M reference/zip/ziparchive/setcommentindex.xml M reference/zip/ziparchive/setcommentname.xml M reference/zip/ziparchive/setcompressionindex.xml M reference/zip/ziparchive/setcompressionname.xml M reference/zip/ziparchive/setencryptionindex.xml M reference/zip/ziparchive/setencryptionname.xml M reference/zip/ziparchive/setexternalattributesindex.xml M reference/zip/ziparchive/setexternalattributesname.xml M reference/zip/ziparchive/setmtimeindex.xml M reference/zip/ziparchive/setmtimename.xml M reference/zip/ziparchive/statindex.xml M reference/zip/ziparchive/statname.xml
diff_f0d6d78a58a3f519c7984c3042649c6675d4db22.txt
(text/plain, 67.6 KB)
diff --git a/reference/zip/functions/zip-entry-close.xml b/reference/zip/functions/zip-entry-close.xml
index c8b68a0258..89ee3340e0 100644
--- a/reference/zip/functions/zip-entry-close.xml
+++ b/reference/zip/functions/zip-entry-close.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi,mumumu -->
<refentry xml:id="function.zip-entry-close" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>zip_entry_close</methodname>
- <methodparam><type>resource</type><parameter>zip_entry</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>zip_ent</parameter></methodparam>
</methodsynopsis>
<para>
指定されたディレクトリエントリを閉じます。
@@ -22,7 +22,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zip_entry</parameter></term>
+ <term><parameter>zip_ent</parameter></term>
<listitem>
<para>
<function>zip_entry_open</function>によりオープンされたディレクトリの
@@ -75,7 +75,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/functions/zip-entry-compressedsize.xml b/reference/zip/functions/zip-entry-compressedsize.xml
index 1c6253781e..58e10fb73c 100644
--- a/reference/zip/functions/zip-entry-compressedsize.xml
+++ b/reference/zip/functions/zip-entry-compressedsize.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.zip-entry-compressedsize" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>zip_entry_compressedsize</methodname>
+ <type class="union"><type>int</type><type>false</type></type><methodname>zip_entry_compressedsize</methodname>
<methodparam><type>resource</type><parameter>zip_entry</parameter></methodparam>
</methodsynopsis>
<para>
@@ -35,7 +35,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- 圧縮後のサイズ
+ 圧縮後のサイズを返します。
+ &return.falseforfailure;
</para>
</refsect1>
@@ -75,7 +76,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/functions/zip-entry-compressionmethod.xml b/reference/zip/functions/zip-entry-compressionmethod.xml
index 7b73fce3a5..e5d313ca81 100644
--- a/reference/zip/functions/zip-entry-compressionmethod.xml
+++ b/reference/zip/functions/zip-entry-compressionmethod.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.zip-entry-compressionmethod" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>zip_entry_compressionmethod</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>zip_entry_compressionmethod</methodname>
<methodparam><type>resource</type><parameter>zip_entry</parameter></methodparam>
</methodsynopsis>
<para>
@@ -36,7 +36,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- 圧縮方法
+ 圧縮方法を返します。
+ &return.falseforfailure;
</para>
</refsect1>
@@ -76,7 +77,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/functions/zip-entry-filesize.xml b/reference/zip/functions/zip-entry-filesize.xml
index 4dbc7ed4eb..2843569131 100644
--- a/reference/zip/functions/zip-entry-filesize.xml
+++ b/reference/zip/functions/zip-entry-filesize.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.zip-entry-filesize" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>int</type><methodname>zip_entry_filesize</methodname>
+ <type class="union"><type>int</type><type>false</type></type><methodname>zip_entry_filesize</methodname>
<methodparam><type>resource</type><parameter>zip_entry</parameter></methodparam>
</methodsynopsis>
<para>
@@ -35,7 +35,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- ディレクトリエントリのサイズ
+ ディレクトリエントリのサイズを返します。
+ &return.falseforfailure;
</para>
</refsect1>
@@ -75,7 +76,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/functions/zip-entry-name.xml b/reference/zip/functions/zip-entry-name.xml
index 473338b715..6864f67df4 100644
--- a/reference/zip/functions/zip-entry-name.xml
+++ b/reference/zip/functions/zip-entry-name.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.zip-entry-name" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>zip_entry_name</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>zip_entry_name</methodname>
<methodparam><type>resource</type><parameter>zip_entry</parameter></methodparam>
</methodsynopsis>
<para>
@@ -35,7 +35,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- ディレクトリエントリの名前
+ ディレクトリエントリの名前を返します。
+ &return.falseforfailure;
</para>
</refsect1>
@@ -75,7 +76,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/functions/zip-entry-open.xml b/reference/zip/functions/zip-entry-open.xml
index f057c6cca2..8e1361ada0 100644
--- a/reference/zip/functions/zip-entry-open.xml
+++ b/reference/zip/functions/zip-entry-open.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.zip-entry-open" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,10 +10,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>bool</type><methodname>zip_entry_open</methodname>
- <methodparam><type>resource</type><parameter>zip</parameter></methodparam>
+ <type>bool</type><methodname>zip_entry_open</methodname>
+ <methodparam><type>resource</type><parameter>zip_dp</parameter></methodparam>
<methodparam><type>resource</type><parameter>zip_entry</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>mode</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>mode</parameter><initializer>"rb"</initializer></methodparam>
</methodsynopsis>
<para>
読込み用にzipファイルの中にディレクトリエントリをオープンします。
@@ -24,7 +24,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zip</parameter></term>
+ <term><parameter>zip_dp</parameter></term>
<listitem>
<para>
<function>zip_open</function>により返された有効なリソースハンドル
@@ -107,7 +107,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/functions/zip-entry-read.xml b/reference/zip/functions/zip-entry-read.xml
index d44a9b3150..7c0b0248cc 100644
--- a/reference/zip/functions/zip-entry-read.xml
+++ b/reference/zip/functions/zip-entry-read.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.zip-entry-read" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,9 +10,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>string</type><methodname>zip_entry_read</methodname>
+ <type class="union"><type>string</type><type>false</type></type><methodname>zip_entry_read</methodname>
<methodparam><type>resource</type><parameter>zip_entry</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>1024</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>len</parameter><initializer>1024</initializer></methodparam>
</methodsynopsis>
<para>
オープンされたディレクトリエントリから読み込みます。
@@ -31,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>length</parameter></term>
+ <term><parameter>len</parameter></term>
<listitem>
<para>
返すバイト数。
@@ -91,7 +91,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/functions/zip-read.xml b/reference/zip/functions/zip-read.xml
index cfe7d42d34..8ce6cb1f9f 100644
--- a/reference/zip/functions/zip-read.xml
+++ b/reference/zip/functions/zip-read.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: hirokawa Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="function.zip-read" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <type>resource</type><methodname>zip_read</methodname>
+ <type class="union"><type>resource</type><type>false</type></type><methodname>zip_read</methodname>
<methodparam><type>resource</type><parameter>zip</parameter></methodparam>
</methodsynopsis>
<para>
@@ -80,7 +80,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/addfile.xml b/reference/zip/ziparchive/addfile.xml
index 2ed13aa8e9..22ef8dee28 100644
--- a/reference/zip/ziparchive/addfile.xml
+++ b/reference/zip/ziparchive/addfile.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 002b7dd50a0cb86e965022610f08f240cadb6fcc Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.addfile" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,8 +11,8 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::addFile</methodname>
- <methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>entryname</parameter><initializer>&null;</initializer></methodparam>
+ <methodparam><type>string</type><parameter>filepath</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>entryname</parameter><initializer>""</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>start</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>ZipArchive::FL_OVERWRITE</initializer></methodparam>
@@ -27,7 +27,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>filename</parameter></term>
+ <term><parameter>filepath</parameter></term>
<listitem>
<para>
追加するファイルへのパス。
@@ -38,7 +38,7 @@
<term><parameter>entryname</parameter></term>
<listitem>
<para>
- 指定した場合は ZIP アーカイブ内部での名前となり、<parameter>filename</parameter> を上書きします。
+ 空でない値を指定した場合は ZIP アーカイブ内部での名前となり、<parameter>filepath</parameter> を上書きします。
</para>
</listitem>
</varlistentry>
@@ -157,7 +157,6 @@ if ($zip->open('test.zip') === TRUE) {
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/addfromstring.xml b/reference/zip/ziparchive/addfromstring.xml
index 8f7015bbbf..71314d6f98 100644
--- a/reference/zip/ziparchive/addfromstring.xml
+++ b/reference/zip/ziparchive/addfromstring.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 002b7dd50a0cb86e965022610f08f240cadb6fcc Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.addfromstring" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::addFromString</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
- <methodparam><type>string</type><parameter>contents</parameter></methodparam>
+ <methodparam><type>string</type><parameter>content</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>ZipArchive::FL_OVERWRITE</initializer></methodparam>
</methodsynopsis>
<para>
@@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>contents</parameter></term>
+ <term><parameter>content</parameter></term>
<listitem>
<para>
エントリを作成するために使用するデータの内容。
@@ -127,7 +127,6 @@ if ($zip->open('test.zip') === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/addglob.xml b/reference/zip/ziparchive/addglob.xml
index 52c8f48d2a..d4316af4ee 100644
--- a/reference/zip/ziparchive/addglob.xml
+++ b/reference/zip/ziparchive/addglob.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.addglob" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -15,7 +15,7 @@
<modifier>public</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>ZipArchive::addGlob</methodname>
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
- <methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>array()</initializer></methodparam>
+ <methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>[]</initializer></methodparam>
</methodsynopsis>
<para>
ディレクトリから、glob <parameter>pattern</parameter> にマッチするファイルを追加します。
@@ -207,7 +207,6 @@ if ($ret !== TRUE) {
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/addpattern.xml b/reference/zip/ziparchive/addpattern.xml
index a0e6e9753d..55f2f2851c 100644
--- a/reference/zip/ziparchive/addpattern.xml
+++ b/reference/zip/ziparchive/addpattern.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.addpattern" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -15,7 +15,7 @@
<modifier>public</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>ZipArchive::addPattern</methodname>
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>path</parameter><initializer>"."</initializer></methodparam>
- <methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>array()</initializer></methodparam>
+ <methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>[]</initializer></methodparam>
</methodsynopsis>
<para>
ディレクトリから、正規表現の <parameter>pattern</parameter> にマッチするファイルを追加します。
@@ -98,7 +98,6 @@ if ($ret !== TRUE) {
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/extractto.xml b/reference/zip/ziparchive/extractto.xml
index bdaf4626d8..cc75ca371a 100644
--- a/reference/zip/ziparchive/extractto.xml
+++ b/reference/zip/ziparchive/extractto.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.extractto" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,8 +11,8 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::extractTo</methodname>
- <methodparam><type>string</type><parameter>destination</parameter></methodparam>
- <methodparam choice="opt"><type>mixed</type><parameter>entries</parameter></methodparam>
+ <methodparam><type>string</type><parameter>pathto</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>array</type><type>string</type><type>null</type></type><parameter>files</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
アーカイブの全体あるいは指定したファイルを、
@@ -31,7 +31,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>destination</parameter></term>
+ <term><parameter>pathto</parameter></term>
<listitem>
<para>
ファイルを展開する場所。
@@ -39,7 +39,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>entries</parameter></term>
+ <term><parameter>files</parameter></term>
<listitem>
<para>
展開するエントリ。単一のエントリ名、
@@ -95,7 +95,6 @@ if ($res === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/getarchivecomment.xml b/reference/zip/ziparchive/getarchivecomment.xml
index 1ffbe8a806..0ed659fac4 100644
--- a/reference/zip/ziparchive/getarchivecomment.xml
+++ b/reference/zip/ziparchive/getarchivecomment.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.getarchivecomment" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getArchiveComment</methodname>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Zip アーカイブのコメントを返します。
@@ -63,7 +63,6 @@ if ($res === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/getcommentindex.xml b/reference/zip/ziparchive/getcommentindex.xml
index 1e5ae9b600..ec78cab5b1 100644
--- a/reference/zip/ziparchive/getcommentindex.xml
+++ b/reference/zip/ziparchive/getcommentindex.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.getcommentindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getCommentIndex</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
エントリのインデックスを使用して、エントリのコメントを返します。
@@ -68,7 +68,6 @@ if ($res === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/getcommentname.xml b/reference/zip/ziparchive/getcommentname.xml
index d8b442b82f..4c91441611 100644
--- a/reference/zip/ziparchive/getcommentname.xml
+++ b/reference/zip/ziparchive/getcommentname.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.getcommentname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getCommentName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
エントリ名を使用して、エントリのコメントを返します。
@@ -68,7 +68,6 @@ if ($res === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/getexternalattributesname.xml b/reference/zip/ziparchive/getexternalattributesname.xml
index f061649247..296ecbe577 100644
--- a/reference/zip/ziparchive/getexternalattributesname.xml
+++ b/reference/zip/ziparchive/getexternalattributesname.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.getexternalattributesname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,12 +10,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type>bool</type>
- <methodname>ZipArchive::getExternalAttributesName</methodname>
+ <modifier>public</modifier> <type>bool</type><methodname>ZipArchive::getExternalAttributesName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>int</type><parameter role="reference">opsys</parameter></methodparam>
<methodparam><type>int</type><parameter role="reference">attr</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
名前で定義されたエントリの外部属性を取得します。
@@ -70,7 +69,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/getfromindex.xml b/reference/zip/ziparchive/getfromindex.xml
index a69cf8813e..05008ce2a3 100644
--- a/reference/zip/ziparchive/getfromindex.xml
+++ b/reference/zip/ziparchive/getfromindex.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.getfromindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,8 +12,8 @@
<methodsynopsis>
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getFromIndex</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>len</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
インデックスを使用して、エントリの内容を返します。
@@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>length</parameter></term>
+ <term><parameter>len</parameter></term>
<listitem>
<para>
エントリから読み込む長さ。<literal>0</literal> の場合はエントリ全体を読み込みます。
@@ -99,7 +99,6 @@ if ($zip->open('test.zip') === TRUE) {
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/getfromname.xml b/reference/zip/ziparchive/getfromname.xml
index a9d3a0ab6a..fafd3c794f 100644
--- a/reference/zip/ziparchive/getfromname.xml
+++ b/reference/zip/ziparchive/getfromname.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.getfromname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,8 +12,8 @@
<methodsynopsis>
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getFromName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>len</parameter><initializer>0</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
名前を使用して、エントリの内容を返します。
@@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>length</parameter></term>
+ <term><parameter>len</parameter></term>
<listitem>
<para>
エントリから読み込む長さ。<literal>0</literal> の場合はエントリ全体を読み込みます。
@@ -119,7 +119,6 @@ if ($z->open(dirname(__FILE__) . '/test_im.zip')) {
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/getnameindex.xml b/reference/zip/ziparchive/getnameindex.xml
index 36ede8a556..5015189121 100644
--- a/reference/zip/ziparchive/getnameindex.xml
+++ b/reference/zip/ziparchive/getnameindex.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.getnameindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getNameIndex</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
インデックスを使用して、エントリの名前を返します。
@@ -69,7 +69,6 @@ if ($zip->open('test.zip') == TRUE) {
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/getstatusstring.xml b/reference/zip/ziparchive/getstatusstring.xml
index 31a8f38813..c253f70351 100644
--- a/reference/zip/ziparchive/getstatusstring.xml
+++ b/reference/zip/ziparchive/getstatusstring.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.getstatusstring" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>ZipArchive::getStatusString</methodname>
+ <modifier>public</modifier> <type>string</type><methodname>ZipArchive::getStatusString</methodname>
<void/>
</methodsynopsis>
<para>
@@ -26,7 +26,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- 成功時にはステータスメッセージを文字列で返します。&return.falseforfailure;。
+ 成功時にはステータスメッセージを文字列で返します。
</para>
</refsect1>
@@ -48,6 +48,12 @@
このメソッドは、閉じられたアーカイブに対しても呼び出せるようになりました。
</entry>
</row>
+ <row>
+ <entry>8.0.0 / 1.18.0</entry>
+ <entry>
+ このメソッドは、失敗時に &false; を返さなくなりました。
+ </entry>
+ </row>
</tbody>
</tgroup>
</informaltable>
@@ -55,7 +61,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/iscompressionmethoddupported.xml b/reference/zip/ziparchive/iscompressionmethoddupported.xml
index 04baf834f8..ee96189bb0 100644
--- a/reference/zip/ziparchive/iscompressionmethoddupported.xml
+++ b/reference/zip/ziparchive/iscompressionmethoddupported.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.iscompressionmethoddupported" xmlns="http://docbook.org/ns/docbook">
@@ -12,9 +12,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type>bool</type><methodname>ZipArchive::isCompressionMethodSupported</methodname>
+ <modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>ZipArchive::isCompressionMethodSupported</methodname>
<methodparam><type>int</type><parameter>method</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>encode</parameter><initializer>true</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>enc</parameter><initializer>&true;</initializer></methodparam>
</methodsynopsis>
<para>
圧縮方式を libzip がサポートしているかをチェックします。
@@ -35,7 +35,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>encode</parameter></term>
+ <term><parameter>enc</parameter></term>
<listitem>
<para>
&true; を設定すると圧縮方式をチェックします。
@@ -74,7 +74,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/isencryptionmethoddupported.xml b/reference/zip/ziparchive/isencryptionmethoddupported.xml
index 6dc91e600c..7148bc2a87 100644
--- a/reference/zip/ziparchive/isencryptionmethoddupported.xml
+++ b/reference/zip/ziparchive/isencryptionmethoddupported.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.isencryptionmethoddupported" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,9 +11,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type>bool</type><methodname>ZipArchive::isEncryptionMethodSupported</methodname>
+ <modifier>public</modifier> <modifier>static</modifier> <type>bool</type><methodname>ZipArchive::isEncryptionMethodSupported</methodname>
<methodparam><type>int</type><parameter>method</parameter></methodparam>
- <methodparam choice="opt"><type>bool</type><parameter>encode</parameter><initializer>true</initializer></methodparam>
+ <methodparam choice="opt"><type>bool</type><parameter>enc</parameter><initializer>&true;</initializer></methodparam>
</methodsynopsis>
<para>
暗号化方式を libzip がサポートしているかどうかをチェックします
@@ -34,7 +34,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>encode</parameter></term>
+ <term><parameter>enc</parameter></term>
<listitem>
<para>
&true; を設定すると、暗号化方式をチェックし、
@@ -73,7 +73,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/locatename.xml b/reference/zip/ziparchive/locatename.xml
index 7c85456e55..6878360947 100644
--- a/reference/zip/ziparchive/locatename.xml
+++ b/reference/zip/ziparchive/locatename.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.locatename" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>ZipArchive::locateName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
名前を使用して、エントリの場所を取得します。
@@ -109,7 +109,6 @@ $zip->close();
</screen>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/open.xml b/reference/zip/ziparchive/open.xml
index a1fc41ba3f..f4d60efd3a 100644
--- a/reference/zip/ziparchive/open.xml
+++ b/reference/zip/ziparchive/open.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- CREDITS: shimooka,mumumu -->
<refentry xml:id="ziparchive.open" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -10,9 +10,9 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type>mixed</type><methodname>ZipArchive::open</methodname>
+ <modifier>public</modifier> <type class="union"><type>bool</type><type>int</type></type><methodname>ZipArchive::open</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
新しい、または既に存在する zip アーカイブを 読み込み/書き込み/変更用にオープンします。
@@ -74,87 +74,60 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
+ 成功した場合に &true;、それ以外の場合にエラーコードを返します。
<variablelist>
<varlistentry>
- <term><parameter>エラーコード</parameter></term>
- <listitem>
- <para>
- 成功した場合に &true;、それ以外の場合にエラーコードを返します。
- <itemizedlist>
- <listitem>
- <para>
- <constant>ZipArchive::ER_EXISTS</constant>
- </para>
- <para>
- ファイルが既に存在します。
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_INCONS</constant>
- </para>
- <para>
- Zip アーカイブに矛盾があります。
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_INVAL</constant>
- </para>
- <para>
- 無効な引数です。
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_MEMORY</constant>
- </para>
- <para>
- メモリの確保に失敗しました。
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_NOENT</constant>
- </para>
- <para>
- ファイルが存在しません。
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_NOZIP</constant>
- </para>
- <para>
- zip アーカイブではありません。
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_OPEN</constant>
- </para>
- <para>
- ファイルを開けません。
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_READ</constant>
- </para>
- <para>
- 読み込みエラー。
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_SEEK</constant>
- </para>
- <para>
- シークエラー。
- </para>
- </listitem>
- </itemizedlist>
- </para>
+ <term><constant>ZipArchive::ER_EXISTS</constant></term>
+ <listitem>
+ <simpara>ファイルが既に存在します。</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_INCONS</constant></term>
+ <listitem>
+ <simpara>Zipアーカイブに不整合があります。</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_INVAL</constant></term>
+ <listitem>
+ <simpara>不正な引数です。</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_MEMORY</constant></term>
+ <listitem>
+ <simpara>メモリ確保に失敗しました。</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_NOENT</constant></term>
+ <listitem>
+ <simpara>ファイルが存在しません。</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_NOZIP</constant></term>
+ <listitem>
+ <simpara>zip アーカイブではありません。</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_OPEN</constant></term>
+ <listitem>
+ <simpara>ファイルを開けません。</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_READ</constant></term>
+ <listitem>
+ <simpara>読み取りエラーです。</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_SEEK</constant></term>
+ <listitem>
+ <simpara>シークエラーです。</simpara>
</listitem>
</varlistentry>
</variablelist>
@@ -220,7 +193,6 @@ if ($res === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/renameindex.xml b/reference/zip/ziparchive/renameindex.xml
index bd2769a3db..32180bb36d 100644
--- a/reference/zip/ziparchive/renameindex.xml
+++ b/reference/zip/ziparchive/renameindex.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.renameindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::renameIndex</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
- <methodparam><type>string</type><parameter>newname</parameter></methodparam>
+ <methodparam><type>string</type><parameter>new_name</parameter></methodparam>
</methodsynopsis>
<para>
インデックスを使用して、エントリ名を変更します。
@@ -31,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>newname</parameter></term>
+ <term><parameter>new_name</parameter></term>
<listitem>
<para>
新しい名前。
@@ -68,7 +68,6 @@ if ($res === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/renamename.xml b/reference/zip/ziparchive/renamename.xml
index cf1ab5c380..8354bb788f 100644
--- a/reference/zip/ziparchive/renamename.xml
+++ b/reference/zip/ziparchive/renamename.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.renamename" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::renameName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
- <methodparam><type>string</type><parameter>newname</parameter></methodparam>
+ <methodparam><type>string</type><parameter>new_name</parameter></methodparam>
</methodsynopsis>
<para>
名前を使用して、エントリ名を変更します。
@@ -31,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>newname</parameter></term>
+ <term><parameter>new_name</parameter></term>
<listitem>
<para>
新しい名前。
@@ -68,7 +68,6 @@ if ($res === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/replacefile.xml b/reference/zip/ziparchive/replacefile.xml
index 0515f72a90..4080f1ec55 100644
--- a/reference/zip/ziparchive/replacefile.xml
+++ b/reference/zip/ziparchive/replacefile.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.replacefile" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -11,8 +11,8 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::replaceFile</methodname>
- <methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam><type>int</type><parameter>index</parameter></methodparam>
+ <methodparam><type>string</type><parameter>filepath</parameter></methodparam>
+ <methodparam><type>string</type><parameter>index</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>start</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
@@ -27,7 +27,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>filename</parameter></term>
+ <term><parameter>filepath</parameter></term>
<listitem>
<para>
追加するファイルのパス。
@@ -117,7 +117,6 @@ if ($zip->open('test.zip') === TRUE) {
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/setcommentindex.xml b/reference/zip/ziparchive/setcommentindex.xml
index d44f3dc363..334499798f 100644
--- a/reference/zip/ziparchive/setcommentindex.xml
+++ b/reference/zip/ziparchive/setcommentindex.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.setcommentindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -69,7 +69,6 @@ if ($res === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/setcommentname.xml b/reference/zip/ziparchive/setcommentname.xml
index 69356e61f3..df702ca98b 100644
--- a/reference/zip/ziparchive/setcommentname.xml
+++ b/reference/zip/ziparchive/setcommentname.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.setcommentname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -69,7 +69,6 @@ if ($res === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/setcompressionindex.xml b/reference/zip/ziparchive/setcompressionindex.xml
index 4b2e152e70..f627591bfc 100644
--- a/reference/zip/ziparchive/setcompressionindex.xml
+++ b/reference/zip/ziparchive/setcompressionindex.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.setcompressionindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,8 +12,8 @@
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::setCompressionIndex</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
- <methodparam><type>int</type><parameter>comp_method</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>comp_flags</parameter><initializer>0</initializer></methodparam>
+ <methodparam><type>int</type><parameter>method</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>compflags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
インデックスで定義されたエントリの圧縮方法を設定します。
@@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>comp_method</parameter></term>
+ <term><parameter>method</parameter></term>
<listitem>
<para>
圧縮メソッド。
@@ -41,7 +41,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>comp_flags</parameter></term>
+ <term><parameter>compflags</parameter></term>
<listitem>
<para>
圧縮レベル。
@@ -82,7 +82,6 @@ if ($res === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/setcompressionname.xml b/reference/zip/ziparchive/setcompressionname.xml
index 5c1c87880e..3343df6620 100644
--- a/reference/zip/ziparchive/setcompressionname.xml
+++ b/reference/zip/ziparchive/setcompressionname.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.setcompressionname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,8 +12,8 @@
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>ZipArchive::setCompressionName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
- <methodparam><type>int</type><parameter>comp_method</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>comp_flags</parameter><initializer>0</initializer></methodparam>
+ <methodparam><type>int</type><parameter>method</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>compflags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
名前で定義されたエントリの圧縮メソッドを設定します。
@@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>comp_method</parameter></term>
+ <term><parameter>method</parameter></term>
<listitem>
<para>
圧縮メソッド。
@@ -41,7 +41,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>comp_flags</parameter></term>
+ <term><parameter>compflags</parameter></term>
<listitem>
<para>
圧縮レベル
@@ -101,7 +101,6 @@ if ($res === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/setencryptionindex.xml b/reference/zip/ziparchive/setencryptionindex.xml
index 7c863ed2e0..5dbca8ea90 100644
--- a/reference/zip/ziparchive/setencryptionindex.xml
+++ b/reference/zip/ziparchive/setencryptionindex.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 988d0167dc5890975ed510c38622e930555acaf5 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.setencryptionindex" xmlns="http://docbook.org/ns/docbook">
@@ -11,11 +11,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type>bool</type>
- <methodname>ZipArchive::setEncryptionIndex</methodname>
+ <modifier>public</modifier> <type>bool</type><methodname>ZipArchive::setEncryptionIndex</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
<methodparam><type>int</type><parameter>method</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>password</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
index で定義されたエントリの暗号化方法を設定します。
@@ -69,6 +68,28 @@
</note>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>password</parameter> は、nullable になりました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -79,7 +100,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/setencryptionname.xml b/reference/zip/ziparchive/setencryptionname.xml
index b2bc4857be..1350241534 100644
--- a/reference/zip/ziparchive/setencryptionname.xml
+++ b/reference/zip/ziparchive/setencryptionname.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.setencryptionname" xmlns="http://docbook.org/ns/docbook">
@@ -11,11 +11,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type>bool</type>
- <methodname>ZipArchive::setEncryptionName</methodname>
+ <modifier>public</modifier> <type>bool</type><methodname>ZipArchive::setEncryptionName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>int</type><parameter>method</parameter></methodparam>
- <methodparam choice="opt"><type>string</type><parameter>password</parameter></methodparam>
+ <methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>password</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
<para>
名前で定義されたエントリの暗号化方式を設定する
@@ -59,6 +58,29 @@
&return.success;
</para>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>8.0.0</entry>
+ <entry>
+ <parameter>password</parameter> は、nullable になりました。
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -107,7 +129,6 @@ if ($zip->open('test.zip', ZipArchive::CREATE) === TRUE) {
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/setexternalattributesindex.xml b/reference/zip/ziparchive/setexternalattributesindex.xml
index 5418a69637..34feaab8c9 100644
--- a/reference/zip/ziparchive/setexternalattributesindex.xml
+++ b/reference/zip/ziparchive/setexternalattributesindex.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.setexternalattributesindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,12 +10,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type>bool</type>
- <methodname>ZipArchive::setExternalAttributesIndex</methodname>
+ <modifier>public</modifier> <type>bool</type><methodname>ZipArchive::setExternalAttributesIndex</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
<methodparam><type>int</type><parameter>opsys</parameter></methodparam>
<methodparam><type>int</type><parameter>attr</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
インデックスで定義されたエントリの外部属性を設定します。
@@ -69,7 +68,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/setexternalattributesname.xml b/reference/zip/ziparchive/setexternalattributesname.xml
index 03c3f3fc1b..f1fb4c5d9f 100644
--- a/reference/zip/ziparchive/setexternalattributesname.xml
+++ b/reference/zip/ziparchive/setexternalattributesname.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.setexternalattributesname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,12 +10,11 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type>bool</type>
- <methodname>ZipArchive::setExternalAttributesName</methodname>
+ <modifier>public</modifier> <type>bool</type><methodname>ZipArchive::setExternalAttributesName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>int</type><parameter>opsys</parameter></methodparam>
<methodparam><type>int</type><parameter>attr</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
名前で定義されたエントリの外部属性を設定します。
@@ -95,7 +94,6 @@ if (is_array($stat) && $zip->open('test.zip', ZipArchive::CREATE) === TRUE) {
</example>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/setmtimeindex.xml b/reference/zip/ziparchive/setmtimeindex.xml
index 3986bcd205..c811019c87 100644
--- a/reference/zip/ziparchive/setmtimeindex.xml
+++ b/reference/zip/ziparchive/setmtimeindex.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: d9466fcf930c81ac1573effd5dcba1281904178d Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.setmtimeindex" xmlns="http://docbook.org/ns/docbook">
@@ -11,11 +11,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type>bool</type>
- <methodname>ZipArchive::setMtimeIndex</methodname>
+ <modifier>public</modifier> <type class="union"><type>bool</type><type>null</type></type><methodname>ZipArchive::setMtimeIndex</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
<methodparam><type>int</type><parameter>timestamp</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
インデックスを使用してエントリの変更時間を設定します。
@@ -103,7 +102,6 @@ if ($zip->open('test.zip', ZipArchive::CREATE) === TRUE) {
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/setmtimename.xml b/reference/zip/ziparchive/setmtimename.xml
index e481f31579..db26af8ddf 100644
--- a/reference/zip/ziparchive/setmtimename.xml
+++ b/reference/zip/ziparchive/setmtimename.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: mumumu Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.setmtimename" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -10,11 +10,10 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
- <modifier>public</modifier> <type>bool</type>
- <methodname>ZipArchive::setMtimeName</methodname>
+ <modifier>public</modifier> <type class="union"><type>bool</type><type>null</type></type><methodname>ZipArchive::setMtimeName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>int</type><parameter>timestamp</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
名前を使ってエントリの変更時間を設定します。
@@ -103,7 +102,6 @@ if ($zip->open('test.zip', ZipArchive::CREATE) === TRUE) {
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/statindex.xml b/reference/zip/ziparchive/statindex.xml
index 66f4210ab4..8a8cbeb04b 100644
--- a/reference/zip/ziparchive/statindex.xml
+++ b/reference/zip/ziparchive/statindex.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.statindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>ZipArchive::statIndex</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
この関数は、インデックスを使用してエントリの詳細情報を取得します。
@@ -87,7 +87,6 @@ Array
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
diff --git a/reference/zip/ziparchive/statname.xml b/reference/zip/ziparchive/statname.xml
index 593adae58d..a43247cb0e 100644
--- a/reference/zip/ziparchive/statname.xml
+++ b/reference/zip/ziparchive/statname.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<refentry xml:id="ziparchive.statname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type class="union"><type>array</type><type>false</type></type><methodname>ZipArchive::statName</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
- <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
この関数は、名前を使用してエントリの詳細情報を取得します。
@@ -105,7 +105,6 @@ Array
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml