summaryrefslogtreecommitdiff
path: root/app/php/dto
diff options
context:
space:
mode:
Diffstat (limited to 'app/php/dto')
-rw-r--r--app/php/dto/CalendarDTO.php2
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) {