Documentation

Gzip
in package
implements ArchiveDriver

Archive library gzip driver.

Table of Contents

Interfaces

ArchiveDriver
Archive driver interface.

Methods

addData()  : void
Add data to the archive.
create()  : bool
Creates an archive and optionally, saves it to a file.

Methods

addData()

Add data to the archive.

public addData(mixed $file, mixed $name[, mixed $contents = null ]) : void
Parameters
$file : mixed

Filename

$name : mixed

Name of file in archive

$contents : mixed = null

create()

Creates an archive and optionally, saves it to a file.

public create(mixed $paths[, mixed $filename = false ]) : bool
Parameters
$paths : mixed

Filenames to add

$filename : mixed = false

File to save the archive to

Return values
bool
On this page

Search results