1: <?php
2: /**
3: * Interface definition for the free/busy exporter.
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 the free/busy exporter.
18: *
19: * Copyright 2004-2010 Klarälvdalens Datakonsult AB
20: * Copyright 2008-2012 Horde LLC (http://www.horde.org/)
21: *
22: * See the enclosed file COPYING for license information (LGPL). If
23: * you did not receive this file, see
24: * http://www.horde.org/licenses/lgpl21.
25: *
26: * @category Kolab
27: * @package Kolab_FreeBusy
28: * @author Chuck Hagenbuch <chuck@horde.org>
29: * @author Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
30: * @author Gunnar Wrobel <wrobel@pardus.de>
31: * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1
32: * @link http://pear.horde.org/index.php?package=Kolab_FreeBusy
33: */
34: interface Horde_Kolab_FreeBusy_Export_Freebusy
35: {
36: /**
37: * Get the start timestamp for the export.
38: *
39: * @return Horde_Date The start timestamp for the export.
40: */
41: public function getStart();
42:
43: /**
44: * Get the end timestamp for the export.
45: *
46: * @return Horde_Date The end timestamp for the export.
47: */
48: public function getEnd();
49:
50: /**
51: * Get the name of the resource.
52: *
53: * @return string The name of the resource.
54: */
55: public function getResourceName();
56:
57: /**
58: * Return the organizer mail for the export.
59: *
60: * @return string The organizer mail.
61: */
62: public function getOrganizerMail();
63:
64: /**
65: * Return the organizer name for the export.
66: *
67: * @return string The organizer name.
68: */
69: public function getOrganizerName();
70:
71: /**
72: * Return the timestamp for the export.
73: *
74: * @return string The timestamp.
75: */
76: public function getDateStamp();
77:
78: /**
79: * Generates the free/busy export.
80: *
81: * @return Horde_iCalendar The iCal object.
82: */
83: public function export();
84: }
85: