ArchiveOutputStream¶
-
php\compress\ArchiveOutputStream
extends: php\io\MiscStream
jphp-compress-ext
Class ArchiveOutputStream for creating archives
Methods
__construct
($format, $source)¶
Parameters:
- $format – string - zip, tar, jar, ar
- $source – php\io\File, php\io\Stream
createEntry
($file, $name)¶
Parameters:
- $file – string
- $name – string
Returns:
addFile
($file, $name)¶
Parameters:
- $file – string
- $name – string
Returns:
addEntry
($entry)¶
Parameters:
- $entry – php\compress\ArchiveEntry
canAddEntry
($entry)¶
Parameters:
- $entry – php\compress\ArchiveEntry
closeEntry
()¶