ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ZipOptions.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 final class ZipOptions extends Options
27 {
28  private ?string $zip_output_path = null;
29  private ?string $zip_output_name = null;
30  private int $iterations = 1000;
31  private int $deflate_level = 9;
32 
33 
34  public function withZipOutputPath(string $zip_output_path): self
35  {
36  $clone = clone $this;
37  $clone->zip_output_path = $zip_output_path;
38  return $clone;
39  }
40 
41  public function getZipOutputName(): ?string
42  {
44  }
45 
46  public function withZipOutputName(string $zip_output_name): self
47  {
48  $clone = clone $this;
49  $clone->zip_output_name = $zip_output_name;
50  return $clone;
51  }
52 
53  public function getZipOutputPath(): ?string
54  {
56  }
57 
58  public function getIterations(): int
59  {
60  return $this->iterations;
61  }
62 
63  public function getDeflateLevel(): int
64  {
65  return $this->deflate_level;
66  }
67 }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
withZipOutputName(string $zip_output_name)
Definition: ZipOptions.php:46
withZipOutputPath(string $zip_output_path)
Definition: ZipOptions.php:34