CREATE
CREATE = 1
ZipArchive wrapper
Wraps zip archive functionality of PHP ZipArchive and PCLZip. PHP ZipArchive properties and methods are bypassed and used as the model for the PCLZip emulation. Only needed PHP ZipArchive features are implemented.
$zip : \ZipArchive|\PclZip
Internal zip archive object
pclzipAddFromString(string $localname, string $contents) : boolean
Add a new file to the zip archive from a string of raw data (emulate \ZipArchive)
string | $localname | Directory/Name of the file to add to the zip archive |
string | $contents | String of data to add to the zip archive |
Loading…