summaryrefslogtreecommitdiff
path: root/app/frontend/dto/GroupedGridEventDTO.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-06-16 02:25:37 +0200
committeremkael <emkael@tlen.pl>2016-06-16 11:50:18 +0200
commit0fea2103dd4cc5a04a756d5a87e26d39ea347e49 (patch)
tree193c6af2ffe418c71348944528178e1b11e46fce /app/frontend/dto/GroupedGridEventDTO.php
parentece88ff6d4c59418dc043c735252aca012eee207 (diff)
* data objects for grouped calendar view
Diffstat (limited to 'app/frontend/dto/GroupedGridEventDTO.php')
-rw-r--r--app/frontend/dto/GroupedGridEventDTO.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/frontend/dto/GroupedGridEventDTO.php b/app/frontend/dto/GroupedGridEventDTO.php
new file mode 100644
index 0000000..e9e9d0b
--- /dev/null
+++ b/app/frontend/dto/GroupedGridEventDTO.php
@@ -0,0 +1,17 @@
+<?php
+
+Prado::using('Application.dto.GridEventDTO');
+
+class GroupedGridEventDTO extends GridEventDTO {
+
+ public $DateFrom;
+ public $DateTo;
+ public $AllDay;
+
+ public static function __compare(EventDTO $ev1, EventDTO $ev2) {
+ return EventDTO::__compare($ev1, $ev2);
+ }
+
+}
+
+?>