\Horde\BackupCollection

A collection of backup objects of a certain application-specific type.

Each application should extend this class for each type of backup data it supports.

Summary

Methods
Properties
Constants
__construct()
getUser()
getType()
No public properties found
No constants found
No protected methods found
$_user
$_type
N/A
No private methods found
No private properties found
N/A

Properties

$_user

$_user : string

The collection's user.

Type

string

$_type

$_type : string

The collection's type.

Type

string

Methods

__construct()

__construct(\Traversable  $data, string  $user, string  $type) 

Constructor.

Parameters

\Traversable $data

The backup data.

string $user

A user name.

string $type

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

getUser()

getUser() : string

Returns this collection's user.

Returns

string —

The collection user.

getType()

getType() : string

Returns the type of objects or resources that this collection holds.

Returns

string —

The collection type.