Documentation

Zip extends CompressIterator
in package

Iterates over certain files in a ZIP archive.

Tags
author

Jan Schneider jan@horde.org

category

Horde

copyright

2017 Horde LLC

license

http://www.horde.org/licenses/bsd BSD

Table of Contents

$_compress  : Horde_Compress_Zip
The ZIP uncompressor.
$_contents  : string
The ZIP file contents.
$_info  : array<string|int, mixed>
Archive info from Horde_Compress_Zip.
$_packer  : Horde_Pack_Driver_Json
The JSON unpacker.
__construct()  : mixed
Constructor.
current()  : mixed
Returns the unpacked backup data.
key()  : string
Returns the object ID.

Properties

$_compress

The ZIP uncompressor.

protected Horde_Compress_Zip $_compress

$_contents

The ZIP file contents.

protected string $_contents

$_info

Archive info from Horde_Compress_Zip.

protected array<string|int, mixed> $_info

Methods

__construct()

Constructor.

public __construct(string $application, string $type, array<string|int, mixed> $info, string $contents) : mixed
Parameters
$application : string

An application name.

$type : string

A collection type like "calendar" or "contact".

$info : array<string|int, mixed>

ZIP archive info from Horde_Compress_Zip.

$contents : string

The ZIP file contents.

Return values
mixed

current()

Returns the unpacked backup data.

public current() : mixed
Return values
mixed

Backup data.

key()

Returns the object ID.

public key() : string
Return values
string

Object ID.

Search results