ArchiveOutputStream¶
-
php\compress\ArchiveOutputStream extends: php\io\MiscStream
jphp-compress-ext
Class ArchiveOutputStream for creating archives
Methods
__construct($format, $source)¶
Параметры:
- $format –
string- zip, tar, jar, ar- $source – php\io\File, php\io\Stream
createEntry($file, $name)¶
Параметры:
- $file –
string- $name –
stringРезультат:
addFile($file, $name)¶
Параметры:
- $file –
string- $name –
stringРезультат:
addEntry($entry)¶
Параметры:
- $entry – php\compress\ArchiveEntry
canAddEntry($entry)¶
Параметры:
- $entry – php\compress\ArchiveEntry
closeEntry()¶