ILIAS  trunk Revision v11.0_alpha-1753-gb21ca8c4367
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
UnzipOptions.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 final class UnzipOptions extends Options
27 {
28  protected ?string $zip_output_path = null;
29  private bool $flat = false;
30  private bool $overwrite = false;
31 
32  public function getZipOutputPath(): ?string
33  {
35  }
36 
37  public function withZipOutputPath(string $zip_output_path): self
38  {
39  $clone = clone $this;
40  $clone->zip_output_path = $zip_output_path;
41  return $clone;
42  }
43 
44  public function isOverwrite(): bool
45  {
46  return $this->overwrite;
47  }
48 
49  public function withOverwrite(bool $overwrite): self
50  {
51  $clone = clone $this;
52  $clone->overwrite = $overwrite;
53  return $clone;
54  }
55 
56 }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
withZipOutputPath(string $zip_output_path)