diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/php/dto/CalendarDTO.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/php/dto/CalendarDTO.php b/app/php/dto/CalendarDTO.php index 57636f3..c7f45e2 100644 --- a/app/php/dto/CalendarDTO.php +++ b/app/php/dto/CalendarDTO.php @@ -7,11 +7,17 @@ class CalendarDTO { public $ID; public $Name; public $Website; + public $Image; + public $Url; + public $LastUpdated; public function loadRecord(Calendar $calendarRecord) { $this->ID = $calendarRecord->UID; $this->Name = $calendarRecord->CustomName ?: $calendarRecord->Name; $this->Website = $calendarRecord->Website; + $this->Image = $calendarRecord->CustomImageUrl; + $this->Url = $calendarRecord->CustomUrl; + $this->LastUpdated = $calendarRecord->LastUpdated; } public static function __compare(CalendarDTO $cal1, CalendarDTO $cal2) { |