You are here

public function ArchiverZip::getArchive in Drupal 7

Retrieve the zip engine itself.

In some cases it may be necessary to directly access the underlying ZipArchive object for implementation-specific logic. This is for advanced use only as it is not shared by other implementations of ArchiveInterface.

Return value

The ZipArchive object used by this object.

File

modules/system/system.archiver.inc, line 136
Archiver implementations provided by the system module.

Class

ArchiverZip
Archiver for .zip files.

Code

public function getArchive() {
  return $this->zip;
}