From ed112b333473a6c9c2d582bb7cde6e2f1aedaf1c Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Fri, 11 Aug 2006 17:59:01 +0000 Subject: [PATCH] misc fixes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@217996 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../zip/functions/ziparchive-addfile.xml | 4 +- .../functions/ziparchive-addfromstring.xml | 4 +- reference/zip/functions/ziparchive-close.xml | 4 +- .../zip/functions/ziparchive-deleteindex.xml | 4 +- .../zip/functions/ziparchive-deletename.xml | 4 +- .../ziparchive-getarchivecomment.xml | 8 +- .../functions/ziparchive-getcommentindex.xml | 4 +- .../functions/ziparchive-getcommentname.xml | 4 +- .../zip/functions/ziparchive-getnameindex.xml | 4 +- .../zip/functions/ziparchive-getstream.xml | 4 +- .../zip/functions/ziparchive-renameindex.xml | 4 +- .../zip/functions/ziparchive-renamename.xml | 4 +- .../zip/functions/ziparchive-statindex.xml | 6 +- .../zip/functions/ziparchive-statname.xml | 8 +- reference/zip/reference.xml | 147 +++++++++--------- 15 files changed, 105 insertions(+), 108 deletions(-) diff --git a/reference/zip/functions/ziparchive-addfile.xml b/reference/zip/functions/ziparchive-addfile.xml index 2f202ae53d..3efe0a88e6 100644 --- a/reference/zip/functions/ziparchive-addfile.xml +++ b/reference/zip/functions/ziparchive-addfile.xml @@ -1,5 +1,5 @@ - + ZipArchive::addFile @@ -8,7 +8,7 @@ &reftitle.description; - booleanZipArchive::addFile + boolZipArchive::addFile stringfilename stringlocalname diff --git a/reference/zip/functions/ziparchive-addfromstring.xml b/reference/zip/functions/ziparchive-addfromstring.xml index 0fddd411dc..325460834d 100644 --- a/reference/zip/functions/ziparchive-addfromstring.xml +++ b/reference/zip/functions/ziparchive-addfromstring.xml @@ -1,5 +1,5 @@ - + ZipArchive::addFromString @@ -8,7 +8,7 @@ &reftitle.description; - booleanZipArchive::addFromString + boolZipArchive::addFromString stringlocalname stringcontents diff --git a/reference/zip/functions/ziparchive-close.xml b/reference/zip/functions/ziparchive-close.xml index 48e645ac92..c712544a72 100644 --- a/reference/zip/functions/ziparchive-close.xml +++ b/reference/zip/functions/ziparchive-close.xml @@ -1,5 +1,5 @@ - + ZipArchive::close @@ -8,7 +8,7 @@ &reftitle.description; - booleanZipArchive::close + boolZipArchive::close diff --git a/reference/zip/functions/ziparchive-deleteindex.xml b/reference/zip/functions/ziparchive-deleteindex.xml index 2a183a59a1..3d7976337f 100644 --- a/reference/zip/functions/ziparchive-deleteindex.xml +++ b/reference/zip/functions/ziparchive-deleteindex.xml @@ -1,5 +1,5 @@ - + ZipArchive::deleteIndex @@ -8,7 +8,7 @@ &reftitle.description; - booleanZipArchive::deleteIndex + boolZipArchive::deleteIndex integerindex diff --git a/reference/zip/functions/ziparchive-deletename.xml b/reference/zip/functions/ziparchive-deletename.xml index 05d2aacefa..990486044b 100644 --- a/reference/zip/functions/ziparchive-deletename.xml +++ b/reference/zip/functions/ziparchive-deletename.xml @@ -1,5 +1,5 @@ - + ZipArchive::deleteName @@ -8,7 +8,7 @@ &reftitle.description; - booleanZipArchive::deleteName + boolZipArchive::deleteName stringname diff --git a/reference/zip/functions/ziparchive-getarchivecomment.xml b/reference/zip/functions/ziparchive-getarchivecomment.xml index 3e3b48e0bd..016ace2460 100644 --- a/reference/zip/functions/ziparchive-getarchivecomment.xml +++ b/reference/zip/functions/ziparchive-getarchivecomment.xml @@ -1,5 +1,5 @@ - + ZipArchive::getArchiveComment @@ -8,17 +8,17 @@ &reftitle.description; - mixedZipArchive::getArchiveComment + stringZipArchive::getArchiveComment - Returns the Zip archive comment or false on failure. + Returns the Zip archive comment. &reftitle.returnvalues; - &return.success; + Returns the Zip archive comment or &false; on failure. diff --git a/reference/zip/functions/ziparchive-getcommentindex.xml b/reference/zip/functions/ziparchive-getcommentindex.xml index 9a216a0a0f..d55cc789eb 100644 --- a/reference/zip/functions/ziparchive-getcommentindex.xml +++ b/reference/zip/functions/ziparchive-getcommentindex.xml @@ -1,5 +1,5 @@ - + ZipArchive::getCommentIndex @@ -8,7 +8,7 @@ &reftitle.description; - mixedZipArchive::getCommentIndex + stringZipArchive::getCommentIndex integerindex integerflags diff --git a/reference/zip/functions/ziparchive-getcommentname.xml b/reference/zip/functions/ziparchive-getcommentname.xml index d729f2247d..2fef495144 100644 --- a/reference/zip/functions/ziparchive-getcommentname.xml +++ b/reference/zip/functions/ziparchive-getcommentname.xml @@ -1,5 +1,5 @@ - + ZipArchive::getCommentName @@ -8,7 +8,7 @@ &reftitle.description; - mixedZipArchive::getCommentName + stringZipArchive::getCommentName stringname integerflags diff --git a/reference/zip/functions/ziparchive-getnameindex.xml b/reference/zip/functions/ziparchive-getnameindex.xml index ef82d458b6..f1626309a9 100644 --- a/reference/zip/functions/ziparchive-getnameindex.xml +++ b/reference/zip/functions/ziparchive-getnameindex.xml @@ -1,5 +1,5 @@ - + ZipArchive::getNameIndex @@ -8,7 +8,7 @@ &reftitle.description; - mixedZipArchive::getNameIndex + stringZipArchive::getNameIndex integerindex diff --git a/reference/zip/functions/ziparchive-getstream.xml b/reference/zip/functions/ziparchive-getstream.xml index 228fb7e56e..3fe298dd80 100644 --- a/reference/zip/functions/ziparchive-getstream.xml +++ b/reference/zip/functions/ziparchive-getstream.xml @@ -1,5 +1,5 @@ - + ZipArchive::getStream @@ -8,7 +8,7 @@ &reftitle.description; - mixedZipArchive::getStream + resourceZipArchive::getStream stringname diff --git a/reference/zip/functions/ziparchive-renameindex.xml b/reference/zip/functions/ziparchive-renameindex.xml index db3c80a1e7..ab88730bbd 100644 --- a/reference/zip/functions/ziparchive-renameindex.xml +++ b/reference/zip/functions/ziparchive-renameindex.xml @@ -1,5 +1,5 @@ - + ZipArchive::renameIndex @@ -8,7 +8,7 @@ &reftitle.description; - booleanZipArchive::renameIndex + boolZipArchive::renameIndex integerindex stringnewname diff --git a/reference/zip/functions/ziparchive-renamename.xml b/reference/zip/functions/ziparchive-renamename.xml index dda710f88a..5df25bc7d5 100644 --- a/reference/zip/functions/ziparchive-renamename.xml +++ b/reference/zip/functions/ziparchive-renamename.xml @@ -1,5 +1,5 @@ - + ZipArchive::renameName @@ -8,7 +8,7 @@ &reftitle.description; - booleanZipArchive::renameName + boolZipArchive::renameName stringname stringnewname diff --git a/reference/zip/functions/ziparchive-statindex.xml b/reference/zip/functions/ziparchive-statindex.xml index 147f8853bf..7d799ccdd2 100644 --- a/reference/zip/functions/ziparchive-statindex.xml +++ b/reference/zip/functions/ziparchive-statindex.xml @@ -1,5 +1,5 @@ - + ZipArchive::statIndex @@ -66,9 +66,7 @@ if ($res === TRUE) { ?> ]]> - - This example will output : - + &example.outputs.similar; - + ZipArchive::statName @@ -63,7 +63,7 @@ &reftitle.returnvalues; - Returns an array containing the entry details or false on failure. + Returns an array containing the entry details or &false; on failure. @@ -84,9 +84,7 @@ if ($res === TRUE) { ?> ]]> - - This example will output : - + &example.outputs.similar; - + - - Zip File Functions - Zip + + Zip File Functions + Zip - -
- &reftitle.intro; + +
+ &reftitle.intro; + + This module enables you to transparently read or write ZIP compressed + archives and the files inside them. + +
+ +
+ &reftitle.required; +
+ PHP 4 Bundled - This module enables you to transparently read or write ZIP compressed - archives and the files inside them. + The initial version is bundled in PHP 4 and is available in PECL + as version 1.0, see + &url.pecl.package;zip. It can only read Zip Archives. + + + This version uses the functions of the ZZIPlib library by Guido Draheim. + You need ZZIPlib version >= 0.10.6.
-
- &reftitle.required; -
- PHP4 Bundled - - The initial version is bundled in PHP 4 and is available in PECL - as version 1.0, see - &url.pecl.package;zip. It can only read Zip Archives. - - - This version uses the functions of the ZZIPlib library by Guido Draheim. - You need ZZIPlib version >= 0.10.6. - -
- -
+
PECL and PHP 5.2 or earlier The newest version is bundled in PHP 5.2.0 or earlier and @@ -41,32 +41,32 @@ when used with PHP 5.1 or ealier and can only read them when used with PHP4. -
+
- &reference.zip.configure; + &reference.zip.configure; -
- &reftitle.runtime; - &no.config; -
+
+ &reftitle.runtime; + &no.config; +
-
- &reftitle.resources; - - There are two resource types used in the Zip module. The first one - is the Zip directory for the Zip archive, the second Zip Entry for - the archive entries. - -
+
+ &reftitle.resources; + + There are two resource types used in the Zip module. The first one + is the Zip directory for the Zip archive, the second Zip Entry for + the archive entries. + +
- &reference.zip.constants; + &reference.zip.constants; -
- &reftitle.examples; - - Create a Zip archive - +
+ &reftitle.examples; + + Create a Zip archive + status . "\n"; $zip->close(); ?> ]]> - - - - Dump the archive details and listing - + + + + Dump the archive details and listing + numFiles;$i++) { echo "numFile:" . $za->numFiles . "\n"; ?> ]]> - - - - Zip stream wrapper, read an OpenOffice meta info - + + + + Zip stream wrapper, read an OpenOffice meta info + read()) { print_r($odt_meta); ?> ]]> - - - - This example uses the old API (PHP 4), it opens a ZIP file - archive, reads each file in the archive and prints out its - contents. The test2.zip archive used in this - example is one of the test archives in the ZZIPlib source - distribution. - - - Zip Usage Example - + + + + This example uses the old API (PHP 4), it opens a ZIP file + archive, reads each file in the archive and prints out its + contents. The test2.zip archive used in this + example is one of the test archives in the ZZIPlib source + distribution. + + + Zip Usage Example + ]]> - - -
- +
+
+
+ + + &reference.zip.functions; -&reference.zip.functions;