CompressionMethod Property

The compression method to use.

Object Oriented Interface

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

Procedural Interface

ipworkszip_zip_get($res, 3 );
ipworkszip_zip_set($res, 3, $value );

Default Value

0

Remarks

This property specifies the compression method to use. By default the class uses the Deflate compression method (a value of 0). Supported values are:

  • 0 (cmDeflate - default)
  • 1 (cmPPMd)
  • 2 (cmBzip2)

Data Type

Integer

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