Documentation

Kronolith_Storage_Sql extends Kronolith_Storage
in package

Kronolith_Storage:: defines an API for storing free/busy information.

Tags
author

Mike Cochrane mike@graftonhall.co.nz

author

Michael J Rubinsky mrubinsk@horde.org

Table of Contents

$_db  : Horde_Db_Adapter
Handle for the current database connection, used for reading.
$_params  : array<string|int, mixed>
Hash containing connection parameters.
$_user  : string
String containing the current username.
__construct()  : Kronolith_Storage_Sql
Constructs a new Kronolith_Storage SQL instance.
initialize()  : mixed
Stub to initiate a driver.
search()  : Horde_Icalendar_Vfreebusy
Search for a user's free/busy information.
store()  : mixed
Store the freebusy information for a given email address.

Properties

$_db

Handle for the current database connection, used for reading.

protected Horde_Db_Adapter $_db

$_params

Hash containing connection parameters.

protected array<string|int, mixed> $_params = array()

$_user

String containing the current username.

protected string $_user = ''

Methods

__construct()

Constructs a new Kronolith_Storage SQL instance.

public __construct(string $user[, array<string|int, mixed> $params = array() ]) : Kronolith_Storage_Sql
Parameters
$user : string

The user the fb info belongs to.

$params : array<string|int, mixed> = array()

A hash containing connection parameters.

Return values
Kronolith_Storage_Sql

Search for a user's free/busy information.

public search(string $email[, bool $private_only = false ]) : Horde_Icalendar_Vfreebusy
Parameters
$email : string

The email address to lookup

$private_only : bool = false

(optional) Only return free/busy information owned by this used.

Tags
throws
Kronolith_Exception
Return values
Horde_Icalendar_Vfreebusy

store()

Store the freebusy information for a given email address.

public store(string $email, Horde_Icalendar_Vfreebusy $vfb[, mixed $public = false ]) : mixed
Parameters
$email : string

The email address to store fb info for.

$vfb : Horde_Icalendar_Vfreebusy

TODO

$public : mixed = false
Tags
throws
Kronolith_Exception
Return values
mixed

Search results