\PhpZip\ConstantsZipOptions

Interface ZipOptions.

Summary

Methods
Constants
No public methods found
STORE_ONLY_FILES
COMPRESSION_METHOD
MODIFIED_TIME
CHARSET
EXTRACT_SYMLINKS
No protected methods found
N/A
No private methods found
N/A

Constants

STORE_ONLY_FILES

STORE_ONLY_FILES = 'only_files'

Boolean option for store just file names (skip directory names).

COMPRESSION_METHOD

COMPRESSION_METHOD = 'compression_method'

Uses the specified compression method.

MODIFIED_TIME

MODIFIED_TIME = 'mtime'

Set the specified record modification time.

The value can be {@see \DateTimeInterface}, integer timestamp or a string of any format.

CHARSET

CHARSET = 'charset'

Specifies the encoding of the record name for cases when the UTF-8 usage flag is not set.

The most commonly used encodings are compiled into the constants of the {@see \PhpZip\Constants\DosCodePage} class.