Overview

Packages

  • Kolab
    • FreeBusy

Classes

  • Horde_Kolab_FreeBusy
  • Horde_Kolab_FreeBusy_Cache
  • Horde_Kolab_FreeBusy_Cache_Base
  • Horde_Kolab_FreeBusy_Cache_DB
  • Horde_Kolab_FreeBusy_Cache_DB_acl
  • Horde_Kolab_FreeBusy_Cache_DB_xacl
  • Horde_Kolab_FreeBusy_Cache_File
  • Horde_Kolab_FreeBusy_Cache_File_acl
  • Horde_Kolab_FreeBusy_Cache_File_pvcal
  • Horde_Kolab_FreeBusy_Cache_File_vcal
  • Horde_Kolab_FreeBusy_Cache_File_xacl
  • Horde_Kolab_FreeBusy_Controller_Base
  • Horde_Kolab_FreeBusy_Controller_MatchDict
  • Horde_Kolab_FreeBusy_Controller_NotFound
  • Horde_Kolab_FreeBusy_Controller_RequestConfiguration
  • Horde_Kolab_FreeBusy_Driver_Base
  • Horde_Kolab_FreeBusy_Driver_Freebusy_Base
  • Horde_Kolab_FreeBusy_Driver_Freebusy_Kolab
  • Horde_Kolab_FreeBusy_Exception
  • Horde_Kolab_FreeBusy_Exception_NotFound
  • Horde_Kolab_FreeBusy_Exception_Unauthorized
  • Horde_Kolab_FreeBusy_Export_Freebusy_Backend_Kolab
  • Horde_Kolab_FreeBusy_Export_Freebusy_Base
  • Horde_Kolab_FreeBusy_Export_Freebusy_Decorator_Log
  • Horde_Kolab_FreeBusy_Factory_Base
  • Horde_Kolab_FreeBusy_Freebusy_Controller_Freebusy
  • Horde_Kolab_FreeBusy_Freebusy_Factory_Base
  • Horde_Kolab_FreeBusy_Freebusy_Factory_Kolab
  • Horde_Kolab_FreeBusy_Freebusy_Helper_Owa
  • Horde_Kolab_FreeBusy_Freebusy_Helper_StatusMap_Config
  • Horde_Kolab_FreeBusy_Freebusy_Helper_StatusMap_Default
  • Horde_Kolab_FreeBusy_Freebusy_Owner_Kolab
  • Horde_Kolab_FreeBusy_Freebusy_Params_Folder
  • Horde_Kolab_FreeBusy_Freebusy_UserDb_Kolab
  • Horde_Kolab_FreeBusy_Object_Event
  • Horde_Kolab_FreeBusy_Owner_Kolab
  • Horde_Kolab_FreeBusy_Params_Freebusy_Resource_Kolab
  • Horde_Kolab_FreeBusy_Params_User
  • Horde_Kolab_FreeBusy_Provider_Local
  • Horde_Kolab_FreeBusy_Provider_Remote
  • Horde_Kolab_FreeBusy_Provider_Remote_PassThrough
  • Horde_Kolab_FreeBusy_Provider_Remote_Redirect
  • Horde_Kolab_FreeBusy_Report
  • Horde_Kolab_FreeBusy_Resource_Decorator_Log
  • Horde_Kolab_FreeBusy_Resource_Decorator_Mcache
  • Horde_Kolab_FreeBusy_Resource_Event_Decorator_Log
  • Horde_Kolab_FreeBusy_Resource_Event_Decorator_Mcache
  • Horde_Kolab_FreeBusy_Resource_Event_Kolab
  • Horde_Kolab_FreeBusy_Resource_Event_Owa
  • Horde_Kolab_FreeBusy_Resource_Kolab
  • Horde_Kolab_FreeBusy_Translation
  • Horde_Kolab_FreeBusy_User_Anonymous
  • Horde_Kolab_FreeBusy_User_Decorator_Log
  • Horde_Kolab_FreeBusy_User_Kolab
  • Horde_Kolab_FreeBusy_UserDb_Kolab
  • Horde_Kolab_FreeBusy_UserDb_User_Kolab
  • Horde_Kolab_FreeBusy_View
  • Horde_Kolab_FreeBusy_View_error
  • Horde_Kolab_FreeBusy_View_vfb

Interfaces

  • Horde_Kolab_FreeBusy_Driver_Freebusy_Interface
  • Horde_Kolab_FreeBusy_Driver_Interface
  • Horde_Kolab_FreeBusy_Export_Freebusy
  • Horde_Kolab_FreeBusy_Export_Freebusy_Backend
  • Horde_Kolab_FreeBusy_Factory
  • Horde_Kolab_FreeBusy_Freebusy_Helper_StatusMap
  • Horde_Kolab_FreeBusy_Freebusy_Owner
  • Horde_Kolab_FreeBusy_Owner
  • Horde_Kolab_FreeBusy_Params_Owner
  • Horde_Kolab_FreeBusy_Params_Resource
  • Horde_Kolab_FreeBusy_Provider
  • Horde_Kolab_FreeBusy_Resource
  • Horde_Kolab_FreeBusy_Resource_Event
  • Horde_Kolab_FreeBusy_User
  • Horde_Kolab_FreeBusy_UserDb
  • Horde_Kolab_FreeBusy_UserDb_User
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Kolab_FreeBusy_Cache_DB

A berkeley db based cache for free/busy data.

Copyright 2004-2008 Klarälvdalens Datakonsult AB

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Direct known subclasses

Horde_Kolab_FreeBusy_Cache_DB_acl, Horde_Kolab_FreeBusy_Cache_DB_xacl
Package: Kolab\FreeBusy
Author: Gunnar Wrobel p@rdus.de
Author: Steffen Hansen steffen@klaralvdalens-datakonsult.se
Located at Horde/Kolab/FreeBusy/Cache.php
Methods summary
public
# Horde_Kolab_FreeBusy_Cache_DB( mixed $cache_dir )

The directory that should be used for caching.

The directory that should be used for caching.

Var

string
public boolean|PEAR_Error
# _open( )

Open the database.

Open the database.

Returns

boolean|PEAR_Error
True if successful.
public
# _close( )

Close the database.

Close the database.

public boolean|PEAR_Error
# _remove( string $filename, string $uid )

Set a cache file as irrelevant for a user.

Set a cache file as irrelevant for a user.

Parameters

$filename
The cache file to remove.
$uid
The user ID.

Returns

boolean|PEAR_Error
True if successful.
public boolean|PEAR_Error
# _add( string $filename, string $uid )

Set a cache file as relevant for a user.

Set a cache file as relevant for a user.

Parameters

$filename
The cache file to add.
$uid
The user ID.

Returns

boolean|PEAR_Error
True if successful.
public boolean|PEAR_Error
# has( string $filename, string $uid )

Is the cache file relevant for the user?

Is the cache file relevant for the user?

Parameters

$filename
The cache file.
$uid
The user ID.

Returns

boolean|PEAR_Error
True if the cache file is relevant.
public array|PEAR_Error
# get( string $uid )

Get the full list of relevant cache files for a uid.

Get the full list of relevant cache files for a uid.

Parameters

$uid
The user ID.

Returns

array|PEAR_Error
The list of cache files.
public boolean
# _notEmpty( mixed $value )

Check if the value is set.

Check if the value is set.

Parameters

$value
The value to check.

Returns

boolean
True if the value is set.
public FreeBusyACLCache &
# singleton( string $type, string $cache_dir )

Attempts to return a reference to a concrete FreeBusyACLCache instance. It will only create a new instance if no FreeBusyACLCache instance currently exists.

Attempts to return a reference to a concrete FreeBusyACLCache instance. It will only create a new instance if no FreeBusyACLCache instance currently exists.

This method must be invoked as:

$var = &FreeBusyACLCache::singleton($cache_dir);

Parameters

$type
The type of the cache.
$cache_dir
The directory for storing the cache.

Returns

FreeBusyACLCache

The concrete FreeBusyACLCache reference, or false on an error.

Properties summary
public string $_cache_dir

The directory that should be used for caching.

The directory that should be used for caching.

#
public resource $_db

The resource handle into the database.

The resource handle into the database.

# false
public string $_dbformat

The format of the database.

The format of the database.

#
public string $_type

The type of this cache.

The type of this cache.

# ''
API documentation generated by ApiGen