com doc/fr: Apply commit c0a030bf35b5eac2701ba97788f9e49cdbfdf049: reference/zip/functions/zip-close.xml 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/fu
[email protected] (George Peter Banyard)
| Newsgroups | php.doc.fr |
|---|---|
| Message-ID | <[email protected]> |
Commit: e12714893d4217f1935c9091b90042d381247107 Author: George Peter Banyard <[email protected]> Fri, 8 Jan 2021 00:40:08 +0000 Parents: 743c7418cb8913b7f4a24fdfc6f15e258a8068dd Branches: master Link: http://git.php.net/?p=doc/fr.git;a=commitdiff;h=e12714893d4217f1935c9091b90042d381247107 Log: Apply commit c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Generate zip methodsynopses based on stubs Changed paths: M reference/zip/functions/zip-close.xml 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_e12714893d4217f1935c9091b90042d381247107.txt
(text/plain, 69.7 KB)
diff --git a/reference/zip/functions/zip-close.xml b/reference/zip/functions/zip-close.xml
index cb0db61de6..955788a897 100644
--- a/reference/zip/functions/zip-close.xml
+++ b/reference/zip/functions/zip-close.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.zip-close" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>zip_close</refname>
diff --git a/reference/zip/functions/zip-entry-close.xml b/reference/zip/functions/zip-entry-close.xml
index 0034b4fb5e..efb3707bf3 100644
--- a/reference/zip/functions/zip-entry-close.xml
+++ b/reference/zip/functions/zip-entry-close.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.zip-entry-close" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>zip_entry_close</refname>
@@ -12,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>
<function>zip_entry_close</function> ferme un dossier d'archive donné.
@@ -23,7 +22,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zip_entry</parameter></term>
+ <term><parameter>zip_ent</parameter></term>
<listitem>
<para>
Un dossier d'archive précédemment ouvert avec la fonction
@@ -75,7 +74,6 @@
</para>
</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 dc1d1a7c65..501e8d41c8 100644
--- a/reference/zip/functions/zip-entry-compressedsize.xml
+++ b/reference/zip/functions/zip-entry-compressedsize.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.zip-entry-compressedsize" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>zip_entry_compressedsize</refname>
@@ -11,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>
@@ -38,7 +37,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- La taille compressée.
+ La taille compressée, &return.falseforfailure;.
</para>
</refsect1>
diff --git a/reference/zip/functions/zip-entry-compressionmethod.xml b/reference/zip/functions/zip-entry-compressionmethod.xml
index 4b0c055962..33acf4fa6c 100644
--- a/reference/zip/functions/zip-entry-compressionmethod.xml
+++ b/reference/zip/functions/zip-entry-compressionmethod.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.zip-entry-compressionmethod" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>zip_entry_compressionmethod</refname>
@@ -11,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>
@@ -37,7 +36,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- La méthode de compression.
+ La méthode de compression, &return.falseforfailure;.
</para>
</refsect1>
diff --git a/reference/zip/functions/zip-entry-filesize.xml b/reference/zip/functions/zip-entry-filesize.xml
index 607f0e25da..af60549281 100644
--- a/reference/zip/functions/zip-entry-filesize.xml
+++ b/reference/zip/functions/zip-entry-filesize.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.zip-entry-filesize" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>zip_entry_filesize</refname>
@@ -11,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>
@@ -38,7 +37,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- La taille décompressée du dossier d'archives.
+ La taille décompressée du dossier d'archives, &return.falseforfailure;.
</para>
</refsect1>
@@ -76,7 +75,6 @@
</para>
</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 4a06fa6a95..f422a0aefb 100644
--- a/reference/zip/functions/zip-entry-name.xml
+++ b/reference/zip/functions/zip-entry-name.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.zip-entry-name" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>zip_entry_name</refname>
@@ -11,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>
@@ -37,7 +36,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Le nom du dossier d'archives.
+ Le nom du dossier d'archives, &return.falseforfailure;.
</para>
</refsect1>
@@ -75,7 +74,6 @@
</para>
</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 c845979b98..27e21d3f91 100644
--- a/reference/zip/functions/zip-entry-open.xml
+++ b/reference/zip/functions/zip-entry-open.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.zip-entry-open" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>zip_entry_open</refname>
@@ -12,9 +11,9 @@
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>zip_entry_open</methodname>
- <methodparam><type>resource</type><parameter>zip</parameter></methodparam>
+ <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>
<function>zip_entry_open</function> ouvre un dossier dans un fichier ZIP
@@ -26,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>zip</parameter></term>
+ <term><parameter>zip_dp</parameter></term>
<listitem>
<para>
Une ressource valide retournée par la fonction
diff --git a/reference/zip/functions/zip-entry-read.xml b/reference/zip/functions/zip-entry-read.xml
index 5951ca68bb..6c1edd2e73 100644
--- a/reference/zip/functions/zip-entry-read.xml
+++ b/reference/zip/functions/zip-entry-read.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.zip-entry-read" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>zip_entry_read</refname>
@@ -11,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>
<function>zip_entry_read</function> lit dans un dossier d'archives ouvert.
@@ -33,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>length</parameter></term>
+ <term><parameter>len</parameter></term>
<listitem>
<para>
Le nombre d'octets à retourner.
diff --git a/reference/zip/functions/zip-read.xml b/reference/zip/functions/zip-read.xml
index ec10ca1a4c..6df840f476 100644
--- a/reference/zip/functions/zip-read.xml
+++ b/reference/zip/functions/zip-read.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: a1b24d4e73156601a1b3e623be77d924ef375ce0 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="function.zip-read" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>zip_read</refname>
@@ -12,7 +11,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>
@@ -83,7 +82,6 @@
</para>
</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 f95a7fd473..53e68c3534 100644
--- a/reference/zip/ziparchive/addfile.xml
+++ b/reference/zip/ziparchive/addfile.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 002b7dd50a0cb86e965022610f08f240cadb6fcc Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.addfile" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::addFile</refname>
@@ -12,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>
@@ -29,7 +28,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>filename</parameter></term>
+ <term><parameter>filepath</parameter></term>
<listitem>
<para>
Le chemin vers le fichier à ajouter
@@ -41,7 +40,7 @@
<listitem>
<para>
Si fourni, ce sera le nom local dans l'archive ZIP qui écrasera
- le contenu du paramètre <parameter>filename</parameter>.
+ le contenu du paramètre <parameter>filepath</parameter>.
</para>
</listitem>
</varlistentry>
@@ -161,7 +160,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 b86445d498..8f24f4bc53 100644
--- a/reference/zip/ziparchive/addfromstring.xml
+++ b/reference/zip/ziparchive/addfromstring.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 002b7dd50a0cb86e965022610f08f240cadb6fcc Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.addfromstring" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::addFromString</refname>
@@ -13,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>
@@ -34,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>contents</parameter></term>
+ <term><parameter>content</parameter></term>
<listitem>
<para>
Le contenu à utiliser pour créer l'entrée. Ceci est utilisé dans un
@@ -129,7 +128,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 bc5fd564fe..d30f8ca4f8 100644
--- a/reference/zip/ziparchive/addglob.xml
+++ b/reference/zip/ziparchive/addglob.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.addglob" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ZipArchive::addGlob</refname>
@@ -15,7 +14,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>
Ajoute des fichiers d'un dossier qui correspondent à un masque glob
@@ -210,7 +209,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 b0ac3bd61b..5aa80d0d15 100644
--- a/reference/zip/ziparchive/addpattern.xml
+++ b/reference/zip/ziparchive/addpattern.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.addpattern" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ZipArchive::addPattern</refname>
@@ -15,7 +14,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>
Ajoute des fichiers depuis un dossier qui correspondent à l'expression
@@ -98,7 +97,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 afd6aaea27..abaf488942 100644
--- a/reference/zip/ziparchive/extractto.xml
+++ b/reference/zip/ziparchive/extractto.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: jpauli Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: jpauli Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.extractto" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::extractTo</refname>
@@ -12,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>
Extrait l'archive complète ou les fichiers fournis vers un chemin spécifié.
@@ -32,7 +31,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>destination</parameter></term>
+ <term><parameter>pathto</parameter></term>
<listitem>
<para>
Endroit où l'on doit extraire les fichiers
@@ -40,7 +39,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>entries</parameter></term>
+ <term><parameter>files</parameter></term>
<listitem>
<para>
Les entrées à extraire. Ce peut être soit le nom d'une entrée ou un
@@ -96,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 cdc4d4ffa2..2931b74552 100644
--- a/reference/zip/ziparchive/getarchivecomment.xml
+++ b/reference/zip/ziparchive/getarchivecomment.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.getarchivecomment" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::getArchiveComment</refname>
@@ -12,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>
Retourne le commentaire de l'archive ZIP.
@@ -65,7 +64,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 977f711ee6..463015b261 100644
--- a/reference/zip/ziparchive/getcommentindex.xml
+++ b/reference/zip/ziparchive/getcommentindex.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.getcommentindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::getCommentIndex</refname>
@@ -13,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>
Retourne le commentaire d'une entrée en utilisant l'index de l'entrée.
@@ -69,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 3e81904f6e..fd283d1f42 100644
--- a/reference/zip/ziparchive/getcommentname.xml
+++ b/reference/zip/ziparchive/getcommentname.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.getcommentname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::getCommentName</refname>
@@ -13,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>
Retourne le commentaire d'une entrée en utilisant le nom de l'entrée.
@@ -69,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 7f72f89a3d..dde6ba25e0 100644
--- a/reference/zip/ziparchive/getexternalattributesname.xml
+++ b/reference/zip/ziparchive/getexternalattributesname.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: remi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: remi Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.getexternalattributesname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::getExternalAttributesName</refname>
@@ -11,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>
Récupère les attributs externes d'une entrée définie par son nom.
@@ -69,7 +67,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -89,4 +86,4 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
diff --git a/reference/zip/ziparchive/getfromindex.xml b/reference/zip/ziparchive/getfromindex.xml
index a73a2112f7..19d8fde553 100644
--- a/reference/zip/ziparchive/getfromindex.xml
+++ b/reference/zip/ziparchive/getfromindex.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.getfromindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::getFromIndex</refname>
@@ -13,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>
Retourne le contenu d'une entrée en utilisant son index.
@@ -33,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>length</parameter></term>
+ <term><parameter>len</parameter></term>
<listitem>
<para>
La longueur à lire depuis l'entrée. Si vaut <literal>0</literal>,
@@ -98,9 +97,8 @@ if ($zip->open('test.zip') === TRUE) {
</simplelist>
</para>
</refsect1>
-
-</refentry>
+</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 3297759631..6403a76fb4 100644
--- a/reference/zip/ziparchive/getfromname.xml
+++ b/reference/zip/ziparchive/getfromname.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.getfromname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::getFromName</refname>
@@ -14,8 +13,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>
Retourne le contenu de l'entrée en utilisant son nom.
@@ -35,7 +34,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>length</parameter></term>
+ <term><parameter>len</parameter></term>
<listitem>
<para>
La longueur à lire depuis l'entrée. Si vaut <literal>0</literal>,
@@ -125,7 +124,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 1d311584e4..4b8babc4cf 100644
--- a/reference/zip/ziparchive/getnameindex.xml
+++ b/reference/zip/ziparchive/getnameindex.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.getnameindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::getNameIndex</refname>
@@ -13,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>
Retourne le nom d'une entrée en utilisant son index.
@@ -70,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 6e2cad7924..eb2aaa691c 100644
--- a/reference/zip/ziparchive/getstatusstring.xml
+++ b/reference/zip/ziparchive/getstatusstring.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes Maintainer: yannick -->
-
<refentry xml:id="ziparchive.getstatusstring" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::getStatusString</refname>
@@ -11,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>
@@ -27,8 +26,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Retourne une &string; contenant le message du statut en cas de succès
- &return.falseforfailure;.
+ Retourne une &string; contenant le message du statut.
</para>
</refsect1>
@@ -47,7 +45,13 @@
<row>
<entry>8.0.0 / 1.18.0</entry>
<entry>
- Cette méthode peut être appéllé sur une archive fermée.
+ Cette méthode ne retourne plus &false; en cas d'échec.
+ </entry>
+ </row>
+ <row>
+ <entry>8.0.0 / 1.18.0</entry>
+ <entry>
+ Cette méthode peut être appelé sur une archive fermée.
</entry>
</row>
</tbody>
@@ -57,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 f2955fb6c1..0d83eb00e3 100644
--- a/reference/zip/ziparchive/iscompressionmethoddupported.xml
+++ b/reference/zip/ziparchive/iscompressionmethoddupported.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="ziparchive.iscompressionmethoddupported" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::isCompressionMethodSupported</refname>
@@ -12,9 +11,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>
Vérifie si une méthode de compression est supportée par libzip.
@@ -35,7 +34,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>encode</parameter></term>
+ <term><parameter>enc</parameter></term>
<listitem>
<para>
Si &true;, vérifie la compression, sinon, vérifie la
@@ -75,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 f9c306c8d7..5e35688f19 100644
--- a/reference/zip/ziparchive/isencryptionmethoddupported.xml
+++ b/reference/zip/ziparchive/isencryptionmethoddupported.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="ziparchive.isencryptionmethoddupported" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::isEncryptionMethodSupported</refname>
@@ -12,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>
Vérifie si une méthode de cryptage est supportée par libzip.
@@ -35,7 +34,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>encode</parameter></term>
+ <term><parameter>enc</parameter></term>
<listitem>
<para>
Si &true;, vérifie le cryptage, sinon, vérifie le
@@ -75,7 +74,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 acb46d2389..279f0c80f9 100644
--- a/reference/zip/ziparchive/locatename.xml
+++ b/reference/zip/ziparchive/locatename.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.locatename" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::locateName</refname>
@@ -13,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>
Localise une entrée en utilisant son nom.
@@ -110,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 eda2dd8c00..638f50c0d5 100644
--- a/reference/zip/ziparchive/open.xml
+++ b/reference/zip/ziparchive/open.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="ziparchive.open" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>ZipArchive::open</refname>
@@ -11,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>
Ouvre une archive nouvelle ou pré-existente ZIP pour lecture, écriture et modification.
@@ -75,87 +74,60 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
+ Retourne &true; en cas de succès ou un des code d'erreur suivant :
<variablelist>
<varlistentry>
- <term><parameter>Error codes</parameter></term>
- <listitem>
- <para>
- Retourne &true; en cas de succès ou sinon, le code erreur
- <itemizedlist>
- <listitem>
- <para>
- <constant>ZipArchive::ER_EXISTS</constant>
- </para>
- <para>
- Le fichier existe déjà.
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_INCONS</constant>
- </para>
- <para>
- L'archive ZIP est inconsistante.
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_INVAL</constant>
- </para>
- <para>
- Argument invalide.
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_MEMORY</constant>
- </para>
- <para>
- Erreur de mémoire.
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_NOENT</constant>
- </para>
- <para>
- Le fichier n'existe pas.
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_NOZIP</constant>
- </para>
- <para>
- N'est pas une archive ZIP.
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_OPEN</constant>
- </para>
- <para>
- Impossible d'ouvrir le fichier.
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_READ</constant>
- </para>
- <para>
- Erreur lors de la lecture.
- </para>
- </listitem>
- <listitem>
- <para>
- <constant>ZipArchive::ER_SEEK</constant>
- </para>
- <para>
- Erreur de position.
- </para>
- </listitem>
- </itemizedlist>
- </para>
+ <term><constant>ZipArchive::ER_EXISTS</constant></term>
+ <listitem>
+ <simpara>Le fichier existe déjà.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_INCONS</constant></term>
+ <listitem>
+ <simpara>L'archive ZIP est inconsistante.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_INVAL</constant></term>
+ <listitem>
+ <simpara>Argument invalide.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_MEMORY</constant></term>
+ <listitem>
+ <simpara>Échec de malloc.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_NOENT</constant></term>
+ <listitem>
+ <simpara>Le fichier n'existe pas.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_NOZIP</constant></term>
+ <listitem>
+ <simpara>N'est pas une archive ZIP.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_OPEN</constant></term>
+ <listitem>
+ <simpara>Impossible d'ouvrir le fichier.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_READ</constant></term>
+ <listitem>
+ <simpara>Erreur lors de la lecture.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><constant>ZipArchive::ER_SEEK</constant></term>
+ <listitem>
+ <simpara>Erreur de position.</simpara>
</listitem>
</varlistentry>
</variablelist>
@@ -221,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 85f09b9988..ec5c638ca7 100644
--- a/reference/zip/ziparchive/renameindex.xml
+++ b/reference/zip/ziparchive/renameindex.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: dams Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: dams Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.renameindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::renameIndex</refname>
@@ -13,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>
Renomme une entrée définie par son index.
@@ -32,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>newname</parameter></term>
+ <term><parameter>new_name</parameter></term>
<listitem>
<para>
Nouveau nom
@@ -69,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 42c2619c78..01584e6703 100644
--- a/reference/zip/ziparchive/renamename.xml
+++ b/reference/zip/ziparchive/renamename.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: dams Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: dams Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.renamename" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::renameName</refname>
@@ -13,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>
Renomme une entrée définie par son nom.
@@ -32,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>newname</parameter></term>
+ <term><parameter>new_name</parameter></term>
<listitem>
<para>
Nouveau nom
@@ -69,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 e06aace56e..660c02315b 100644
--- a/reference/zip/ziparchive/replacefile.xml
+++ b/reference/zip/ziparchive/replacefile.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="ziparchive.replacefile" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::replaceFile</refname>
@@ -12,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>
@@ -28,7 +27,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>filename</parameter></term>
+ <term><parameter>filepath</parameter></term>
<listitem>
<para>
Le chemin vers le fichier à ajouter.
@@ -119,7 +118,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 9381cce49a..278e1f6dce 100644
--- a/reference/zip/ziparchive/setcommentindex.xml
+++ b/reference/zip/ziparchive/setcommentindex.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.setcommentindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setCommentIndex</refname>
@@ -70,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 ccbaa75486..e0e34ac2ac 100644
--- a/reference/zip/ziparchive/setcommentname.xml
+++ b/reference/zip/ziparchive/setcommentname.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.setcommentname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setCommentName</refname>
@@ -70,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 17d9fc8558..1687c32b7f 100644
--- a/reference/zip/ziparchive/setcompressionindex.xml
+++ b/reference/zip/ziparchive/setcompressionindex.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: jbnahan Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.setcompressionindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setCompressionIndex</refname>
@@ -13,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>
Définit la méthode de compression d'une entrée définit par son index.
@@ -33,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>comp_method</parameter></term>
+ <term><parameter>method</parameter></term>
<listitem>
<para>
La méthode de compression, une des constantes
@@ -42,7 +41,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>comp_flags</parameter></term>
+ <term><parameter>compflags</parameter></term>
<listitem>
<para>
Niveau de compression.
@@ -83,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 18b594f9dd..c45f6fc8c9 100644
--- a/reference/zip/ziparchive/setcompressionname.xml
+++ b/reference/zip/ziparchive/setcompressionname.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: jbnahan Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.setcompressionname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setCompressionName</refname>
@@ -13,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>
Définit la méthode de compression d'une entrée définit par son nom.
@@ -33,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>comp_method</parameter></term>
+ <term><parameter>method</parameter></term>
<listitem>
<para>
La méthode de compression, une des constantes
@@ -42,7 +41,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>comp_flags</parameter></term>
+ <term><parameter>compflags</parameter></term>
<listitem>
<para>
Niveau de compression.
@@ -102,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 4aa6f6bd76..308bde3988 100644
--- a/reference/zip/ziparchive/setencryptionindex.xml
+++ b/reference/zip/ziparchive/setencryptionindex.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 988d0167dc5890975ed510c38622e930555acaf5 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: jbnahan Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="ziparchive.setencryptionindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setEncryptionIndex</refname>
@@ -11,11 +10,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>
Définit la méthode de chiffrement d'une entrée définit par son index.
@@ -45,7 +43,7 @@
<term><parameter>password</parameter></term>
<listitem>
<para>
- Mot de passe optionel, valeur par défaut utilisé si absent.
+ Mot de passe optionnel, valeur par défaut utilisé si absent.
</para>
</listitem>
</varlistentry>
@@ -68,6 +66,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> est désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -78,7 +98,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 1542392e58..fc38585766 100644
--- a/reference/zip/ziparchive/setencryptionname.xml
+++ b/reference/zip/ziparchive/setencryptionname.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: jbnahan Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: jbnahan Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="ziparchive.setencryptionname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setEncryptionName</refname>
@@ -11,11 +10,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>
Définit la méthode de chiffrement d'une entrée définit par son nom.
@@ -45,7 +43,7 @@
<term><parameter>password</parameter></term>
<listitem>
<para>
- Mot de passe optionel, valeur par défaut utilisé si absent.
+ Mot de passe optionnel, valeur par défaut utilisé si absent.
</para>
</listitem>
</varlistentry>
@@ -58,6 +56,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> est désormais nullable.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<para>
@@ -106,7 +127,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 9f41e94144..e45d3e2edf 100644
--- a/reference/zip/ziparchive/setexternalattributesindex.xml
+++ b/reference/zip/ziparchive/setexternalattributesindex.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: remi Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: remi Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.setexternalattributesindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setExternalAttributesIndex</refname>
@@ -11,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>
Définit les attributs externes d'une entrée définie par son index.
@@ -68,7 +66,6 @@
</para>
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
@@ -88,4 +85,4 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
diff --git a/reference/zip/ziparchive/setexternalattributesname.xml b/reference/zip/ziparchive/setexternalattributesname.xml
index e3ec9a190d..c60a62cca3 100644
--- a/reference/zip/ziparchive/setexternalattributesname.xml
+++ b/reference/zip/ziparchive/setexternalattributesname.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.setexternalattributesname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setExternalAttributesName</refname>
@@ -11,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>
Définit les attributs externes d'une entrée définie par son nom.
@@ -96,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
@@ -116,4 +113,4 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
\ No newline at end of file
+-->
diff --git a/reference/zip/ziparchive/setmtimeindex.xml b/reference/zip/ziparchive/setmtimeindex.xml
index 6bd844b98a..7e7fc6adac 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: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="ziparchive.setmtimeindex" 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::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>
Définit la date de modification d'une entrée définie par son index.
@@ -105,7 +104,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 a5899d264f..684f94d867 100644
--- a/reference/zip/ziparchive/setmtimename.xml
+++ b/reference/zip/ziparchive/setmtimename.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 6318fc9e8b2a78cf8b88673a1f47b3935d7b5943 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
-
<refentry xml:id="ziparchive.setmtimename" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::setMtimeName</refname>
@@ -11,14 +10,13 @@
<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>
- Défiint le date de modification d'une entée par son nom.
+ Définit le date de modification d'une entée par son nom.
</para>
</refsect1>
<refsect1 role="parameters">
@@ -106,7 +104,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 06d585c05c..aaa5315260 100644
--- a/reference/zip/ziparchive/statindex.xml
+++ b/reference/zip/ziparchive/statindex.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.statindex" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::statIndex</refname>
@@ -13,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>
Cette fonction obtient des informations d'une entrée définie par son index.
@@ -86,7 +85,6 @@ Array
</example>
</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 9956c0eb2c..26f4abd6c2 100644
--- a/reference/zip/ziparchive/statname.xml
+++ b/reference/zip/ziparchive/statname.xml
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: c0a030bf35b5eac2701ba97788f9e49cdbfdf049 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
-
<refentry xml:id="ziparchive.statname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ZipArchive::statName</refname>
@@ -13,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>
Cette fonction obtient des informations sur l'entrée définie par son nom.
@@ -106,7 +105,6 @@ Array
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml