Documentation

Bzip
in package
implements ArchiveDriver

Archive library bzip driver.

Table of Contents

Interfaces

ArchiveDriver
Archive driver interface.

Methods

addData()  : void
Add data to the archive.
create()  : bool|string
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(array<string|int, mixed> $paths[, string|false $filename = false ]) : bool|string
Parameters
$paths : array<string|int, mixed>
$filename : string|false = false
Return values
bool|string —

Returns string when $filename is false, bool otherwise

On this page

Search results