From 28397845a0cabb701762c845d8c713b56854594f Mon Sep 17 00:00:00 2001 From: Karl August Hoivik Date: Mon, 15 Aug 2016 19:57:27 +0200 Subject: [PATCH] Event-getter classes --- src/pvv/side/events.php | 13 +++++++++++++ src/pvv/side/onceevent.php | 30 ++++++++++++++++++++++++++++++ www/index.php | 37 ++++++++++++++++++++++++++----------- 3 files changed, 69 insertions(+), 11 deletions(-) create mode 100644 src/pvv/side/events.php create mode 100644 src/pvv/side/onceevent.php diff --git a/src/pvv/side/events.php b/src/pvv/side/events.php new file mode 100644 index 0000000..bb5390c --- /dev/null +++ b/src/pvv/side/events.php @@ -0,0 +1,13 @@ + diff --git a/src/pvv/side/onceevent.php b/src/pvv/side/onceevent.php new file mode 100644 index 0000000..e8c407a --- /dev/null +++ b/src/pvv/side/onceevent.php @@ -0,0 +1,30 @@ +name = $name; + $this->start = $start; + $this->end = $end; + $this->org = $org; + $this->log = $loc; + } + public function getStart(){ + return $this->start; + } + public function getStop(){ + return $this->end; + } + public function getOrganiser(){ + return $this->org; + } + public function getLocation(){ + return $this->loc; + } + public function getName(){ + return $this->name; + } + +} + diff --git a/www/index.php b/www/index.php index 28de0f3..5bc8d17 100644 --- a/www/index.php +++ b/www/index.php @@ -37,18 +37,33 @@

Kommende arrangement