CompressionMethod Property

Used to set the method of compression.

Object Oriented Interface

public function getCompressionMethod();
public function setCompressionMethod($value);

Procedural Interface

ipworkszip_sevenzip_get($res, 3 );
ipworkszip_sevenzip_set($res, 3, $value );

Default Value

0

Remarks

This is used to specify different compression methods. By default the class uses the LZMA compression method (a value of 0). Supported values are:

ValueMethod
cmszLzma (0 - default) LZMA
cmszBzip2 (1) BZip2
cmszDelta (2) Delta
cmszCopy (3) Copy (no compression)
cmszDeflate (4) Deflate
cmszLzma2 (5) LZMA2

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 PHP Edition - Version 20.0 [Build 8300]