aboutsummaryrefslogtreecommitdiff
path: root/lib/calendar/CalendarWriter.class.php
blob: 941c12386ac5aa5abff796b986a4ceed167768d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?
# Lifter002: TODO
# Lifter007: TODO

/**
 * CalendarWriter.class.php
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of
 * the License, or (at your option) any later version.
 *
 * @author      Peter Thienel <thienel@data-quest.de>, Suchi & Berg GmbH <info@data-quest.de>
 * @license     http://www.gnu.org/licenses/gpl-2.0.html GPL version 2
 * @category    Stud.IP
 * @package     calendar
 */

class CalendarWriter
{
    var $default_filename_suffix;
    var $format;
    var $client_identifier;

    public function __construct()
    {
        // initialize error handler
        $GLOBALS['_calendar_error'] = new ErrorHandler();
    }

    public function write(Event &$event)
    {
        return $event->properties;
    }

    public function writeHeader()
    {
    }

    public function writeFooter()
    {
    }

    public function getDefaultFilenameSuffix()
    {
        return $this->default_filename_suffix;
    }

    public function getFormat()
    {
        return $this->format;
    }
}