2018-11-18 15:39:43 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Grocy\Controllers;
|
|
|
|
|
|
|
|
|
|
class CalendarController extends BaseController
|
|
|
|
|
{
|
2020-02-11 17:42:03 +01:00
|
|
|
public function Overview(\Psr\Http\Message\ServerRequestInterface $request, \Psr\Http\Message\ResponseInterface $response, array $args)
|
2018-11-18 15:39:43 +01:00
|
|
|
{
|
2020-03-01 23:47:47 +07:00
|
|
|
return $this->renderPage($response, 'calendar', [
|
|
|
|
|
'fullcalendarEventSources' => $this->getCalendarService()->GetEvents()
|
2018-11-18 15:39:43 +01:00
|
|
|
]);
|
|
|
|
|
}
|
2020-08-31 20:40:31 +02:00
|
|
|
|
|
|
|
|
public function __construct(\DI\Container $container)
|
|
|
|
|
{
|
|
|
|
|
parent::__construct($container);
|
|
|
|
|
}
|
2018-11-18 15:39:43 +01:00
|
|
|
}
|