diff options
Diffstat (limited to 'app/frontend/dto/GridEventDTO.php')
-rw-r--r-- | app/frontend/dto/GridEventDTO.php | 7 |
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'; + } + } ?> |