php_zip.pir - PHP zip Library
- bool ZipArchive::addFile(string filepath[, string entryname[, int start [, int length]]])
Add a file in a Zip archive using its path and the name to use.NOT IMPLEMENTED.- bool ZipArchive::addFromString(string name, string content)
Add a file using content and the entry nameNOT IMPLEMENTED.- bool ZipArchive::close()
close the zip archiveNOT IMPLEMENTED.- bool ZipArchive::createEmptyDir(string dirname)
Returns the index of the entry named filename in the archiveNOT IMPLEMENTED.- bool ZipArchive::deleteIndex(int index)
Delete a file using its indexNOT IMPLEMENTED.- bool ZipArchive::deleteName(string name)
Delete a file using its indexNOT IMPLEMENTED.- bool ZipArchive::extractTo(string pathto[, mixed files])
Extract one or more file from a zip archiveNOT IMPLEMENTED.- string ZipArchive::getArchiveComment()
Returns the comment of an entry using its indexNOT IMPLEMENTED.- string ZipArchive::getCommentIndex(int index)
Returns the comment of an entry using its indexNOT IMPLEMENTED.- string ZipArchive::getCommentName(string name)
Returns the comment of an entry using its nameNOT IMPLEMENTED.- string ZipArchive::getFromIndex(string entryname[, int len [, int flags]])
get the contents of an entry using its indexNOT IMPLEMENTED.- string ZipArchive::getFromName(string entryname[, int len [, int flags]])
get the contents of an entry using its nameNOT IMPLEMENTED.- string ZipArchive::getNameIndex(int index [, int flags])
Returns the name of the file at position indexNOT IMPLEMENTED.- resource ZipArchive::getStream(string entryname)
get a stream for an entry using its nameNOT IMPLEMENTED.- int ZipArchive::locateName(string filename[, int flags])
Returns the index of the entry named filename in the archiveNOT IMPLEMENTED.- mixed ZipArchive::open(string source [, int flags])
Create new zip using source uri for output,
return TRUE on success or the error codeNOT IMPLEMENTED.- bool ZipArchive::renameIndex(int index, string new_name)
Rename an entry selected by its index to new_nameNOT IMPLEMENTED.- bool ZipArchive::renameName(string name, string new_name)
Rename an entry selected by its name to new_nameNOT IMPLEMENTED.- bool ZipArchive::setArchiveComment(string name, string comment)
Set or remove (NULL/'') the comment of the archiveNOT IMPLEMENTED.- bool ZipArchive::setCommentIndex(int index, string comment)
Set or remove (NULL/'') the comment of an entry using its indexNOT IMPLEMENTED.- bool ZipArchive::setCommentName(string name, string comment)
Set or remove (NULL/'') the comment of an entry using its NameNOT IMPLEMENTED.- resource ZipArchive::statIndex(int index[, int flags])
Returns the zip entry informations using its indexNOT IMPLEMENTED.- array ZipArchive::statName(string filename[, int flags])
Returns the information about a the zip entry filenameNOT IMPLEMENTED.- bool ZipArchive::unchangeAll()
All changes to files and global information in archive are revertedNOT IMPLEMENTED.- bool ZipArchive::unchangeAll()
Revert all global changes to the archive archive.
For now,
this only reverts archive comment changes.NOT IMPLEMENTED.- bool ZipArchive::unchangeIndex(int index)
Changes to the file at position index are revertedNOT IMPLEMENTED.- bool ZipArchive::unchangeName(string name)
Changes to the file named 'name' are revertedNOT IMPLEMENTED.- void zip_close(resource zip)
Close a Zip archiveNOT IMPLEMENTED.- void zip_entry_close(resource zip_ent)
Close a zip entryNOT IMPLEMENTED.- int zip_entry_compressedsize(resource zip_entry)
Return the compressed size of a ZZip entryNOT IMPLEMENTED.- string zip_entry_compressionmethod(resource zip_entry)
Return a string containing the compression method used on a particular entryNOT IMPLEMENTED.- int zip_entry_filesize(resource zip_entry)
Return the actual filesize of a ZZip entryNOT IMPLEMENTED.- string zip_entry_name(resource zip_entry)
Return the name given a ZZip entryNOT IMPLEMENTED.- bool zip_entry_open(resource zip_dp, resource zip_entry [, string mode])
Open a Zip File,
pointed by the resource entryNOT IMPLEMENTED.- mixed zip_entry_read(resource zip_entry [, int len])
Read from an open directory entryNOT IMPLEMENTED.- resource zip_open(string filename)
Create new zip using source uri for outputNOT IMPLEMENTED.- resource zip_read(resource zip)
Returns the next file in the archiveNOT IMPLEMENTED.