NAME ^

php_zip.pir - PHP zip Library

DESCRIPTION ^

Functions ^

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 name

NOT IMPLEMENTED.

bool ZipArchive::close()

close the zip archive

NOT IMPLEMENTED.

bool ZipArchive::createEmptyDir(string dirname)

Returns the index of the entry named filename in the archive

NOT IMPLEMENTED.

bool ZipArchive::deleteIndex(int index)

Delete a file using its index

NOT IMPLEMENTED.

bool ZipArchive::deleteName(string name)

Delete a file using its index

NOT IMPLEMENTED.

bool ZipArchive::extractTo(string pathto[, mixed files])

Extract one or more file from a zip archive

NOT IMPLEMENTED.

string ZipArchive::getArchiveComment()

Returns the comment of an entry using its index

NOT IMPLEMENTED.

string ZipArchive::getCommentIndex(int index)

Returns the comment of an entry using its index

NOT IMPLEMENTED.

string ZipArchive::getCommentName(string name)

Returns the comment of an entry using its name

NOT IMPLEMENTED.

string ZipArchive::getFromIndex(string entryname[, int len [, int flags]])

get the contents of an entry using its index

NOT IMPLEMENTED.

string ZipArchive::getFromName(string entryname[, int len [, int flags]])

get the contents of an entry using its name

NOT IMPLEMENTED.

string ZipArchive::getNameIndex(int index [, int flags])

Returns the name of the file at position index

NOT IMPLEMENTED.

resource ZipArchive::getStream(string entryname)

get a stream for an entry using its name

NOT IMPLEMENTED.

int ZipArchive::locateName(string filename[, int flags])

Returns the index of the entry named filename in the archive

NOT IMPLEMENTED.

mixed ZipArchive::open(string source [, int flags])

Create new zip using source uri for output, return TRUE on success or the error code

NOT IMPLEMENTED.

bool ZipArchive::renameIndex(int index, string new_name)

Rename an entry selected by its index to new_name

NOT IMPLEMENTED.

bool ZipArchive::renameName(string name, string new_name)

Rename an entry selected by its name to new_name

NOT IMPLEMENTED.

bool ZipArchive::setArchiveComment(string name, string comment)

Set or remove (NULL/'') the comment of the archive

NOT IMPLEMENTED.

bool ZipArchive::setCommentIndex(int index, string comment)

Set or remove (NULL/'') the comment of an entry using its index

NOT IMPLEMENTED.

bool ZipArchive::setCommentName(string name, string comment)

Set or remove (NULL/'') the comment of an entry using its Name

NOT IMPLEMENTED.

resource ZipArchive::statIndex(int index[, int flags])

Returns the zip entry informations using its index

NOT IMPLEMENTED.

array ZipArchive::statName(string filename[, int flags])

Returns the information about a the zip entry filename

NOT IMPLEMENTED.

bool ZipArchive::unchangeAll()

All changes to files and global information in archive are reverted

NOT 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 reverted

NOT IMPLEMENTED.

bool ZipArchive::unchangeName(string name)

Changes to the file named 'name' are reverted

NOT IMPLEMENTED.

void zip_close(resource zip)

Close a Zip archive

NOT IMPLEMENTED.

void zip_entry_close(resource zip_ent)

Close a zip entry

NOT IMPLEMENTED.

int zip_entry_compressedsize(resource zip_entry)

Return the compressed size of a ZZip entry

NOT IMPLEMENTED.

string zip_entry_compressionmethod(resource zip_entry)

Return a string containing the compression method used on a particular entry

NOT IMPLEMENTED.

int zip_entry_filesize(resource zip_entry)

Return the actual filesize of a ZZip entry

NOT IMPLEMENTED.

string zip_entry_name(resource zip_entry)

Return the name given a ZZip entry

NOT IMPLEMENTED.

bool zip_entry_open(resource zip_dp, resource zip_entry [, string mode])

Open a Zip File, pointed by the resource entry

NOT IMPLEMENTED.

mixed zip_entry_read(resource zip_entry [, int len])

Read from an open directory entry

NOT IMPLEMENTED.

resource zip_open(string filename)

Create new zip using source uri for output

NOT IMPLEMENTED.

resource zip_read(resource zip)

Returns the next file in the archive

NOT IMPLEMENTED.


parrot