summaryrefslogtreecommitdiff
path: root/app/frontend/dto/GridEventDTO.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/GridEventDTO.php
parentece88ff6d4c59418dc043c735252aca012eee207 (diff)
* data objects for grouped calendar view
Diffstat (limited to 'app/frontend/dto/GridEventDTO.php')
-rw-r--r--app/frontend/dto/GridEventDTO.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/frontend/dto/GridEventDTO.php b/app/frontend/dto/GridEventDTO.php
index 0d2bb37..ca985f0 100644
--- a/app/frontend/dto/GridEventDTO.php
+++ b/app/frontend/dto/GridEventDTO.php
@@ -1,8 +1,9 @@
<?php
Prado::using('Application.dto.EventDTO');
+Prado::using('Application.controls.grid.IGridElementDTO');
-class GridEventDTO extends EventDTO {
+class GridEventDTO extends EventDTO implements IGridElementDTO {
public $DateFrom;
public $DateTo;
@@ -23,6 +24,10 @@ class GridEventDTO extends EventDTO {
return $ev1->GridPosition - $ev2->GridPosition;
}
+ public function getRendererClass() {
+ return 'Event';
+ }
+
}
?>