class Zip in Zircon Profile 8
Same name in this branch
- 8 core/lib/Drupal/Core/Archiver/Zip.php \Drupal\Core\Archiver\Zip
- 8 core/modules/system/src/Plugin/Archiver/Zip.php \Drupal\system\Plugin\Archiver\Zip
Same name and namespace in other branches
- 8.0 core/modules/system/src/Plugin/Archiver/Zip.php \Drupal\system\Plugin\Archiver\Zip
Defines an archiver implementation for .zip files.
@link http://php.net/zip
Plugin annotation
@Archiver(
id = "Zip",
title = @Translation("Zip"),
description = @Translation("Handles zip files."),
extensions = {"zip"}
)
Hierarchy
- class \Drupal\Core\Archiver\Zip implements ArchiverInterface
- class \Drupal\system\Plugin\Archiver\Zip
Expanded class hierarchy of Zip
File
- core/
modules/ system/ src/ Plugin/ Archiver/ Zip.php, line 24 - Contains \Drupal\system\Plugin\Archiver\Zip.
Namespace
Drupal\system\Plugin\ArchiverView source
class Zip extends BaseZip {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Zip:: |
protected | property | The underlying ZipArchive instance that does the heavy lifting. | |
Zip:: |
public | function |
Adds the specified file or directory to the archive. Overrides ArchiverInterface:: |
|
Zip:: |
public | function |
Extracts multiple files in the archive to the specified path. Overrides ArchiverInterface:: |
|
Zip:: |
public | function | Retrieves the zip engine itself. | |
Zip:: |
public | function |
Lists all files in the archive. Overrides ArchiverInterface:: |
|
Zip:: |
public | function |
Removes the specified file from the archive. Overrides ArchiverInterface:: |
|
Zip:: |
public | function | Constructs a Zip object. |