ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct () | |
zip (array $file_streams, ?ZipOptions $zip_options=null) | |
unzip (FileStream $zip, ?UnzipOptions $unzip_options=null) | |
unzipOptions () | |
zipOptions () | |
Protected Member Functions | |
mergeZipOptions (?ZipOptions $zip_options) | |
mergeUnzipOptions (?UnzipOptions $unzip_options) | |
Private Attributes | |
ZipOptions | $zip_options |
UnzipOptions | $unzip_options |
This class is used to create a zip archive from a list of file-streams. In most cases this will be used inside other Services such as the Filesystem Service or the IRSS.
Definition at line 32 of file Archives.php.
ILIAS\Filesystem\Util\Archive\Archives::__construct | ( | ) |
Definition at line 39 of file Archives.php.
References ILIAS\Filesystem\Util\Archive\Archives\unzipOptions(), and ILIAS\Filesystem\Util\Archive\Archives\zipOptions().
|
protected |
Definition at line 86 of file Archives.php.
References ILIAS\Filesystem\Util\Archive\Archives\$unzip_options, ILIAS\Filesystem\Util\Archive\Options\getDirectoryHandling(), ILIAS\Filesystem\Util\Archive\UnzipOptions\getZipOutputPath(), ILIAS\Filesystem\Util\Archive\UnzipOptions\isOverwrite(), null, and ILIAS\Filesystem\Util\Archive\UnzipOptions\withZipOutputPath().
Referenced by ILIAS\Filesystem\Util\Archive\Archives\unzip().
|
protected |
Definition at line 75 of file Archives.php.
References ILIAS\Filesystem\Util\Archive\Archives\$zip_options, ILIAS\Filesystem\Util\Archive\Options\getDirectoryHandling(), ILIAS\Filesystem\Util\Archive\ZipOptions\getZipOutputName(), ILIAS\Filesystem\Util\Archive\ZipOptions\getZipOutputPath(), null, and ILIAS\Filesystem\Util\Archive\ZipOptions\withZipOutputName().
Referenced by ILIAS\Filesystem\Util\Archive\Archives\zip().
ILIAS\Filesystem\Util\Archive\Archives::unzip | ( | FileStream | $zip, |
?UnzipOptions | $unzip_options = null |
||
) |
Definition at line 57 of file Archives.php.
References ILIAS\Filesystem\Util\Archive\Archives\mergeUnzipOptions().
ILIAS\Filesystem\Util\Archive\Archives::unzipOptions | ( | ) |
Definition at line 65 of file Archives.php.
Referenced by ILIAS\Filesystem\Util\Archive\Archives\__construct().
ILIAS\Filesystem\Util\Archive\Archives::zip | ( | array | $file_streams, |
?ZipOptions | $zip_options = null |
||
) |
Definition at line 45 of file Archives.php.
References ILIAS\Filesystem\Util\Archive\Zip\DOT_EMPTY, and ILIAS\Filesystem\Util\Archive\Archives\mergeZipOptions().
ILIAS\Filesystem\Util\Archive\Archives::zipOptions | ( | ) |
Definition at line 70 of file Archives.php.
Referenced by ILIAS\Filesystem\Util\Archive\Archives\__construct().
|
private |
Definition at line 37 of file Archives.php.
Referenced by ILIAS\Filesystem\Util\Archive\Archives\mergeUnzipOptions().
|
private |
Definition at line 36 of file Archives.php.
Referenced by ILIAS\Filesystem\Util\Archive\Archives\mergeZipOptions().