ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
ZipDirectoryHandling.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Filesystem\Util\Archive
;
22
23
use
ILIAS\Filesystem\Stream\FileStream
;
24
use
ILIAS\Filesystem\Stream\Streams
;
25
use
ILIAS\Filesystem\Util
;
26
30
enum
ZipDirectoryHandling
:
int
31
{
36
case
KEEP_STRUCTURE = 1;
37
44
case
ENSURE_SINGLE_TOP_DIR = 2;
48
// case STRIP_IF_ONLY_ONE = 4;
52
case
FLAT_STRUCTURE
= 8;
57
// case FLAT_STRUCTURE_WITH_SINGLE_TOP_DIR = 16;
58
}
ILIAS\Filesystem\Util\Archive\FLAT_STRUCTURE
Will keep the top directory of the ZIP file if there is one (simple unzip).
Definition:
ZipDirectoryHandling.php:52
ILIAS\Filesystem\Util\Archive
Definition:
Archives.php:21
ILIAS\Filesystem\Util
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Filesystem\Util\Archive\ZipDirectoryHandling
ZipDirectoryHandling
Definition:
ZipDirectoryHandling.php:30
Streams
FileStream
src
Filesystem
Util
Archive
ZipDirectoryHandling.php
Generated on Wed Sep 10 2025 14:12:05 for ILIAS by
1.8.13 (using
Doxyfile
)