PHP Interface PHPZip\Zip\Listener\ZipArchiveListener

Show file Open project: Grandt/PHPZip

Public Methods

Method Description
onAddFile ( array $params ) Event fired after a file has been successfully added to archive.
onAddLargeFile ( array $params ) Event fired after a large file has been successfully added to archive.
onBuildZipEntry ( array $params ) Event fired after a zip entry has been successfully built.
onException ( array $params ) Event fired before a subclass of \PHPZip\Zip\Core\AbstractException is thrown.
onOpenStream ( array $params ) Event fired after a stream has been successfully opened.
onSendZip ( array $params ) Event fired after a zip archive has been sent.

Method Details

onAddFile() public method

Event fired after a file has been successfully added to archive.
Author: Greg Kappatos
public onAddFile ( array $params )
$params array Array that contains file (zipEntry).

onAddLargeFile() public method

Event fired after a large file has been successfully added to archive.
Author: Greg Kappatos
public onAddLargeFile ( array $params )
$params array Array that contains file (zipEntry).

onBuildZipEntry() public method

Event fired after a zip entry has been successfully built.
Author: Greg Kappatos
public onBuildZipEntry ( array $params )
$params array Array that contains file (zipEntry).

onException() public method

Event fired before a subclass of \PHPZip\Zip\Core\AbstractException is thrown.
Author: Greg Kappatos
public onException ( array $params )
$params array Array that contains file (zipEntry).

onOpenStream() public method

Event fired after a stream has been successfully opened.
Author: Greg Kappatos
public onOpenStream ( array $params )
$params array Array that contains file (zipEntry).

onSendZip() public method

Event fired after a zip archive has been sent.
Author: Greg Kappatos
public onSendZip ( array $params )
$params array Array that contains file (zipEntry).