summaryrefslogtreecommitdiff
path: root/app/php/dto/CalendarDTO.php
blob: 302fcf494e76195d85209e08d11bd94e6e0a3e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

Prado::using('Application.model.Calendar');

class CalendarDTO {

    public $ID;
    public $Name;
    public $Website;

    public function loadRecord(Calendar $calendarRecord) {
        $this->ID = $calendarRecord->UID;
        $this->Name = $calendarRecord->Name;
        $this->Website = $calendarRecord->Website;
    }

}

?>