diff options
author | emkael <emkael@tlen.pl> | 2016-05-09 10:36:05 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-05-09 12:38:03 +0200 |
commit | 92e7aa7f13390e80c6f12f3be5676b80670b7728 (patch) | |
tree | 8d4c249a673e64d50cdc469a18df0a8601e99098 /app/php/dto/CalendarDTO.php | |
parent | 08cddef698960a5c4f354be3edc52531fc2cdc3f (diff) |
* calendar DTO holds info on group ID
Diffstat (limited to 'app/php/dto/CalendarDTO.php')
-rw-r--r-- | app/php/dto/CalendarDTO.php | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |