Documentation

Horde_Kolab_Storage

The Horde_Kolab_Storage class provides the means to access the Kolab server storage for groupware objects.

To get access to the folder handling you would do the following:

require_once 'Horde/Kolab/Storage.php'; $folder = Horde_Kolab_Storage::getFolder('INBOX/Calendar');

or (in case you are dealing with share identifications):

require_once 'Horde/Kolab/Storage.php'; $folder = Horde_Kolab_Storage::getShare(Auth::getAuth(), 'event');

To access data in a share (or folder) you need to retrieve the corresponding data object:

require_once 'Horde/Kolab/Storage.php'; $folder = Horde_Kolab_Storage::getShareData(Auth::getAuth(), 'event');
Tags
category

Kolab

author

Gunnar Wrobel wrobel@pardus.de

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

VERSION  = '@version@'
The package version
getData()  : Horde_Kolab_Storage_Data
Return a data handler for accessing data in the specified folder.
getFolder()  : Horde_Kolab_Storage_Folder
Get a folder representation.
getList()  : Horde_Kolab_Storage_List_Tools
Get the folder list object.
getSystemList()  : Horde_Kolab_Storage_List_Tools
Get a folder list object for a "system" user.

Constants

VERSION

The package version

public mixed VERSION = '@version@'

Methods

getData()

Return a data handler for accessing data in the specified folder.

public getData(string $folder[, string $object_type = null ][, int $data_version = 1 ]) : Horde_Kolab_Storage_Data
Parameters
$folder : string

The name of the folder.

$object_type : string = null

The type of data we want to access in the folder.

$data_version : int = 1

Format version of the object data.

Return values
Horde_Kolab_Storage_Data

The data object.

Search results