diff options
author | emkael <emkael@tlen.pl> | 2016-05-10 00:27:47 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-05-10 00:27:47 +0200 |
commit | a9726eec11d092583242259aea8b88f1085ad922 (patch) | |
tree | 4e234e93857c01c945c74b739f324bd68b228e01 /app/php/dto | |
parent | 668ce7487a1c61438213e9efb705c5c804aace8b (diff) |
* switching to DTO in getCategories from CalendarFacade
Diffstat (limited to 'app/php/dto')
-rw-r--r-- | app/php/dto/CalendarGroupDTO.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/php/dto/CalendarGroupDTO.php b/app/php/dto/CalendarGroupDTO.php index 5f83a71..7b64c6e 100644 --- a/app/php/dto/CalendarGroupDTO.php +++ b/app/php/dto/CalendarGroupDTO.php @@ -6,11 +6,13 @@ Prado::using('Application.dto.CalendarDTO'); class CalendarGroupDTO { public $Name; + public $ID; public $Priority; public $Calendars = []; public function loadRecord(Category $categoryRecord, array $calendars) { $this->Name = $categoryRecord->Name; + $this->ID = $categoryRecord->ID; $this->Priority = $categoryRecord->Priority; $this->Calendars = array_map( function($calendarRecord) { |