Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Public Attributes | |
const | COMPRESSED_PATCHED_DATA = 1 << 5 |
If this bit is set, this indicates that the file is compressed patched data. | |
const | DEFLATE_COMPRESSION_FAST = 10 << 1 |
(For Methods 8 and 9 - Deflating) Fast (-ef) compression option was used. | |
const | DEFLATE_COMPRESSION_MAXIMUM = 1 << 1 |
(For Methods 8 and 9 - Deflating) Maximum (-exx/-ex) compression option was used. | |
const | DEFLATE_COMPRESSION_NORMAL = 0 << 1 |
(For Methods 8 and 9 - Deflating) Normal (-en) compression option was used. | |
const | DEFLATE_COMPRESSION_SUPERFAST = 11 << 1 |
(For Methods 8 and 9 - Deflating) Super Fast (-es) compression option was used. | |
const | EFS = 1 << 11 |
Language encoding flag (EFS). | |
const | ENCRYPT_CENTRAL_DIRECTORY = 1 << 13 |
Set when encrypting the Central Directory to indicate selected data values in the Local Header are masked to hide their actual values. | |
const | ENCRYPTED = 1 << 0 |
If set, indicates that the file is encrypted. | |
const | LZMA_EOS = 1 << 1 |
If the compression method used was type 14, LZMA, then this bit, if set, indicates an end-of-stream (EOS) marker is used to mark the end of the compressed data stream. | |
const | STRONG_ENCRYPTION = 1 << 6 |
Strong encryption. | |
const | ZERO_HEADER = 1 << 3 |
If this bit is set, the fields crc-32, compressed size and uncompressed size are set to zero in the local header. | |
const ZipStream\GeneralPurposeBitFlag::EFS = 1 << 11 |
Language encoding flag (EFS).
If this bit is set, the filename and comment fields for this file MUST be encoded using UTF-8.
const ZipStream\GeneralPurposeBitFlag::LZMA_EOS = 1 << 1 |
If the compression method used was type 14, LZMA, then this bit, if set, indicates an end-of-stream (EOS) marker is used to mark the end of the compressed data stream.
If clear, then an EOS marker is not present and the compressed data size must be known to extract.
const ZipStream\GeneralPurposeBitFlag::STRONG_ENCRYPTION = 1 << 6 |
Strong encryption.
If this bit is set, you MUST set the version needed to extract value to at least 50 and you MUST also set bit 0. If AES encryption is used, the version needed to extract value MUST be at least 51.
const ZipStream\GeneralPurposeBitFlag::ZERO_HEADER = 1 << 3 |
If this bit is set, the fields crc-32, compressed size and uncompressed size are set to zero in the local header.
The correct values are put in the data descriptor immediately following the compressed data.