1: <?php
2: /**
3: * Interface definition for free/busy resources.
4: *
5: * PHP version 5
6: *
7: * @category Kolab
8: * @package Kolab_FreeBusy
9: * @author Chuck Hagenbuch <chuck@horde.org>
10: * @author Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
11: * @author Gunnar Wrobel <wrobel@pardus.de>
12: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
13: * @link http://pear.horde.org/index.php?package=Kolab_FreeBusy
14: */
15:
16: /**
17: * Interface definition for free/busy resources.
18: *
19: * Copyright 2009-2012 Horde LLC (http://www.horde.org/)
20: *
21: * See the enclosed file COPYING for license information (LGPL). If you
22: * did not receive this file, see http://www.horde.org/licenses/lgpl21.
23: *
24: * @category Kolab
25: * @package Kolab_FreeBusy
26: * @author Chuck Hagenbuch <chuck@horde.org>
27: * @author Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
28: * @author Gunnar Wrobel <wrobel@pardus.de>
29: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
30: * @link http://pear.horde.org/index.php?package=Kolab_FreeBusy
31: */
32: interface Horde_Kolab_FreeBusy_Resource_Event
33: extends Horde_Kolab_FreeBusy_Resource
34: {
35: /**
36: * Lists all events in the given time range. *
37: *
38: * @param Horde_Date $startDate Start of range date object.
39: * @param Horde_Date $endDate End of range data object.
40: *
41: * @return array Events in the given time range.
42: *
43: * @throws Horde_Kolab_FreeBusy_Exception If retrieving the events failed.
44: */
45: public function listEvents(Horde_Date $startDate, Horde_Date $endDate);
46: }
47: