From 92e7aa7f13390e80c6f12f3be5676b80670b7728 Mon Sep 17 00:00:00 2001 From: emkael Date: Mon, 9 May 2016 10:36:05 +0200 Subject: * calendar DTO holds info on group ID --- app/php/dto/CalendarDTO.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/php') diff --git a/app/php/dto/CalendarDTO.php b/app/php/dto/CalendarDTO.php index c7f45e2..4468941 100644 --- a/app/php/dto/CalendarDTO.php +++ b/app/php/dto/CalendarDTO.php @@ -10,6 +10,7 @@ class CalendarDTO { public $Image; public $Url; public $LastUpdated; + public $GroupID; public function loadRecord(Calendar $calendarRecord) { $this->ID = $calendarRecord->UID; @@ -18,6 +19,7 @@ class CalendarDTO { $this->Image = $calendarRecord->CustomImageUrl; $this->Url = $calendarRecord->CustomUrl; $this->LastUpdated = $calendarRecord->LastUpdated; + $this->GroupID = $calendarRecord->CategoryID; } public static function __compare(CalendarDTO $cal1, CalendarDTO $cal2) { -- cgit v1.2.3