\Horde\Backup\Reader\CompressIteratorTar

Iterates over certain files in a TAR archive.

Summary

Methods
Properties
Constants
__construct()
key()
current()
No public properties found
No constants found
No protected methods found
$_info
$_packer
N/A
No private methods found
No private properties found
N/A

Properties

$_info

$_info : array

Archive info from Horde_Compress_Zip.

Type

array

$_packer

$_packer : \Horde\Backup\Reader\Horde_Pack_Driver_Json

The JSON unpacker.

Type

\Horde\Backup\Reader\Horde_Pack_Driver_Json

Methods

__construct()

__construct(string  $application, string  $type, array  $info) 

Constructor.

Parameters

string $application

An application name.

string $type

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

array $info

ZIP archive info from Horde_Compress_Zip.

key()

key() : string

Returns the object ID.

Returns

string —

Object ID.

current()

current() : mixed

Returns the unpacked backup data.

Returns

mixed —

Backup data.