Class Horde_Kolab_Resource_Freebusy
Retrieves free/busy data for an email address.
Copyright 2004-2010 Klarälvdalens Datakonsult AB
See the enclosed file COPYING for license information (LGPL>=2.1). If you
did not receive this file,
see http://www.horde.org/licenses/lgpl21.
Methods summary
public static
Horde_Kolab_Resource_Getfreebusy
|
#
factory( mixed $driver, array $params = array() )
Attempts to return a concrete Horde_Kolab_Resource_Getfreebusy instance
based on $driver.
Attempts to return a concrete Horde_Kolab_Resource_Getfreebusy instance
based on $driver.
Parameters
- $driver
- <p>The type of concrete
Horde_Kolab_Resource_Getfreebusy subclass to
return.</p>
- $params
- <p>A hash containing any additional configuration or
connection parameters a subclass might need.</p>
Returns
Horde_Kolab_Resource_Getfreebusy The newly created concrete
Horde_Kolab_Resource_Getfreebusy
instance, or false an error.
|
public static
Horde_Token
|
#
singleton( mixed $driver = null, array $params = array() )
Attempts to return a reference to a concrete
Horde_Kolab_Resource_Getfreebusy instance based on $driver.
Attempts to return a reference to a concrete
Horde_Kolab_Resource_Getfreebusy instance based on $driver.
It will only create a new instance if no Horde_Kolab_Resource_Getfreebusy
instance with the same parameters currently exists.
This method must be invoked as:
$var = Horde_Kolab_Resource_Getfreebusy::singleton();
Parameters
- $driver
- <p>The type of concrete
Horde_Kolab_Resource_Getfreebusy subclass to
return.</p>
- $params
- <p>A hash containing any additional configuration or
connection parameters a subclass might need.</p>
Returns
Horde_Token The concrete Horde_Kolab_Resource_Getfreebusy
reference, or false on error.
|
public
Horde_Icalendar_vfreebusy
|
#
get( string $resource )
Retrieve Free/Busy data for the specified resource.
Retrieve Free/Busy data for the specified resource.
Parameters
- $resource
- <p>Fetch the Free/Busy data for this resource
(usually a mail address).</p>
Returns
Horde_Icalendar_vfreebusy The Free/Busy data.
|