exporting implemented
This commit is contained in:
parent
3f3f624b66
commit
c0debc99fc
@ -258,6 +258,14 @@ class CalendarModule extends Module
|
|||||||
}
|
}
|
||||||
|
|
||||||
$vcalendar = new VObject\Component\VCalendar();
|
$vcalendar = new VObject\Component\VCalendar();
|
||||||
|
|
||||||
|
// Add static stuff to vcalendar
|
||||||
|
$vcalendar->add('METHOD', 'PUBLISH');
|
||||||
|
$vcalendar->add('X-WR-CALDESC', 'Exported Zarafa Calendar');
|
||||||
|
$vcalendar->add('X-WR-TIMEZONE', date_default_timezone_get());
|
||||||
|
|
||||||
|
// TODO: add VTIMEZONE object to ical.
|
||||||
|
|
||||||
for ($index = 0, $count = count($records); $index < $count; $index++) {
|
for ($index = 0, $count = count($records); $index < $count; $index++) {
|
||||||
$message = mapi_msgstore_openentry($store, hex2bin($records[$index]));
|
$message = mapi_msgstore_openentry($store, hex2bin($records[$index]));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user