[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Provides extension methods for the ZipArchive and ZipArchiveEntry classes. [Property] +Path=Sets the path to operate. ARG(string)|2| EntryName=Sets the name of the entry to create in the zip archive. ARG(string)|2| CompressionLevel=Sets values that indicate whether a compression operation emphasizes speed or compression size. ARG(CompressionLevel)|20|(empty)|CompressionLevel Overwrite=Sets the value indicating whether to overwrite an existing file that has the same name as the destination file. ARG(bool)|14|1|true,false [Methods] doCreateEntryFromFile=Archives a file by compressing it and adding it to the zip archive. ARG(ZipArchive archive, string path, string entryname)|1|0 *doCreateEntryFromFile2=Archives a file by compressing it using the specified compression level and adding it to the zip archive. ARG(ZipArchive archive, string path, string entryname, CompressionLevel compressionlevel)|1|0 *doExtractToDirectory=Extracts all the files in the zip archive to a directory on the file system. ARG(ZipArchive archive, string path)|1|0 *doExtractToFile=Extracts an entry in the zip archive to a file. ARG(ZipArchiveEntry entry, string path)|1|0 *doExtractToFile2=Extracts an entry in the zip archive to a file, and optionally overwrites an existing file that has the same name. ARG(ZipArchiveEntry entry, string path, bool overwrite)|1|0 onCreate=Occurs after invoke method doCreateEntryFromFile and returns the wrapper for the new entry in the zip archive. ARG(ZipArchiveEntry)|2|0 onError=If an error occurs, an error message appears. ARG(string)|2|2 NewEntry=Returns the new entry in the zip archive. ARG(ZipArchiveEntry)|3|0 Archive=Defines the zip archive to operate. ARG(ZipArchive)|4|0 *CompressionLevel=Defines values that indicate whether a compression operation emphasizes speed or compression size. ARG(CompressionLevel)|4|0 *Entry=Defines the zip archive entry to extract a file from. ARG(ZipArchiveEntry)|4|0 *Overwrite=Defines the value indicating whether to overwrite an existing file that has the same name as the destination file. ARG(bool)|4|104 Path=Defines the path to operate. ARG(string)|4|2 EntryName=Defines the name of the entry to create in the zip archive. ARG(string)|4|2