From 1fb3a5e8f40ce5e2417c9d0e604b5f5f299db853 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Mar 2020 13:22:47 +0000 Subject: [PATCH] doc for zip 1.18.1 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349489 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/zip/ziparchive/addglob.xml | 42 +++++++++++++++++++ .../zip/ziparchive/setcompressionindex.xml | 8 ++-- .../zip/ziparchive/setcompressionname.xml | 8 ++-- 3 files changed, 48 insertions(+), 10 deletions(-) diff --git a/reference/zip/ziparchive/addglob.xml b/reference/zip/ziparchive/addglob.xml index 6f5364aafa..d89a2831b2 100644 --- a/reference/zip/ziparchive/addglob.xml +++ b/reference/zip/ziparchive/addglob.xml @@ -87,6 +87,40 @@ ZIP constants page. + + + "comp_method" + + + Compression method, one of the ZipArchive::CM_* + constants, see ZIP constants page. + + + + + "comp_flags" + + + Compression level. + + + + + "enc_method" + + + Encryption method, one of the ZipArchive::EM_* + constants, see ZIP constants page. + + + + + "enc_password" + + + Password used for encryption. + + @@ -119,6 +153,14 @@ "flags" in options was added. + + 8.0.0 / 1.18.1 + + "comp_method", "comp_flags", + "enc_method" and "enc_password"in + options was added. + + diff --git a/reference/zip/ziparchive/setcompressionindex.xml b/reference/zip/ziparchive/setcompressionindex.xml index 3a42eac1e8..af2adacf0e 100644 --- a/reference/zip/ziparchive/setcompressionindex.xml +++ b/reference/zip/ziparchive/setcompressionindex.xml @@ -33,10 +33,8 @@ comp_method - The compression method. Either - ZipArchive::CM_DEFAULT, - ZipArchive::CM_STORE or - ZipArchive::CM_DEFLATE. + The compression method, one of the + ZipArchive::CM_* constants. @@ -44,7 +42,7 @@ comp_flags - Compression flags. Currently unused. + Compression level. diff --git a/reference/zip/ziparchive/setcompressionname.xml b/reference/zip/ziparchive/setcompressionname.xml index 2296a18631..766d057694 100644 --- a/reference/zip/ziparchive/setcompressionname.xml +++ b/reference/zip/ziparchive/setcompressionname.xml @@ -33,10 +33,8 @@ comp_method - The compression method. Either - ZipArchive::CM_DEFAULT, - ZipArchive::CM_STORE or - ZipArchive::CM_DEFLATE. + The compression method, one of the + ZipArchive::CM_* constants. @@ -44,7 +42,7 @@ comp_flags - Compression flags. Currently unused. + Compression level.