diff options
author | zeldakatze <coffee@zeldakatze.de> | 2025-08-17 23:21:48 +0200 |
---|---|---|
committer | zeldakatze <coffee@zeldakatze.de> | 2025-08-17 23:21:48 +0200 |
commit | 50a67a31aaa18ec96019379a489ec65d2d641162 (patch) | |
tree | be5b005a5343660a609d1693451cdc41ff650ade /Event.php | |
parent | e828b9c7dd11410d995aa88dcc2b22210f099cf4 (diff) | |
download | infoCalendar-50a67a31aaa18ec96019379a489ec65d2d641162.tar.gz infoCalendar-50a67a31aaa18ec96019379a489ec65d2d641162.zip |
add ical exports, fix event listing
Diffstat (limited to 'Event.php')
-rwxr-xr-x | Event.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Event.php b/Event.php new file mode 100755 index 0000000..5c89974 --- /dev/null +++ b/Event.php @@ -0,0 +1,36 @@ +<?php + +class Event { + public $id; + public $title; + public $visibleInCalendar; + public $postID; + public $creator; + public $creationDate; + public $location; + public $duration; + public $timestamp; + + + public function __construct() { + + } + + public function renderCalEntry() { + + } +} + +class RepeatingEvent extends Event { + public $repetitionType; + public $repetitionArgs; + public $startTime; + public $endTime; + + /* Returns a list of single events + * that can then be easily displayed in the calendar + * */ + public function toSingleEvents($start, $end) { + + } +} |