|
static | filterFilename (string $filename) |
| Strip characters that are not legal in Windows filenames to prevent compatibility issues.
|
|
|
int | $bits |
|
int | $crc |
|
Bigint | $hlen |
|
Bigint | $len |
|
string | $name |
|
Bigint | $ofs |
|
FileOptions | $opt |
|
Version | $version |
|
ZipStream | $zip |
|
Bigint | $zlen |
|
const | BIT_EFS_UTF8 = 0x0800 |
|
const | BIT_ZERO_HEADER = 0x0008 |
|
const | COMPUTE = 1 |
|
const | HASH_ALGORITHM = 'crc32b' |
|
const | SEND = 2 |
|
|
| buildZip64ExtraBlock (bool $force=false) |
|
| deflateData (StreamInterface $stream, string &$data, ?int $options=null) |
|
| deflateFinish (?int $options=null) |
|
| deflateInit () |
|
| processStreamWithComputedHeader (StreamInterface $stream) |
|
| processStreamWithZeroHeader (StreamInterface $stream) |
|
| readStream (StreamInterface $stream, ?int $options=null) |
|
|
static | dosTime (int $when) |
| Convert a UNIX timestamp to a DOS timestamp.
|
|
◆ addFileFooter()
ZipStream\File::addFileFooter |
( |
| ) |
|
Create and send data descriptor footer for this file.
- Return values
-
◆ addFileHeader()
ZipStream\File::addFileHeader |
( |
| ) |
|
Create and send zip header for this file.
- Return values
-
- Exceptions
-
◆ dosTime()
static ZipStream\File::dosTime |
( |
int | $when | ) |
|
|
staticfinalprotected |
Convert a UNIX timestamp to a DOS timestamp.
- Parameters
-
- Return values
-
◆ filterFilename()
static ZipStream\File::filterFilename |
( |
string | $filename | ) |
|
|
static |
Strip characters that are not legal in Windows filenames to prevent compatibility issues.
- Parameters
-
string | $filename | Unprocessed filename |
- Return values
-
◆ getCdrFile()
ZipStream\File::getCdrFile |
( |
| ) |
|
Send CDR record for specified file.
- Return values
-
◆ getTotalLength()
ZipStream\File::getTotalLength |
( |
| ) |
|
The documentation for this class was generated from the following file:
- lib/zipstream/src/File.php