EventsController
class EventsController extends AbstractController
Main Controller class
Properties
private EventsServiceInterface | $eventsService | Stores EventsServiceInterface | |
private ServiceSlugInterface | $serviceSlug | Stores ServiceSlugInterface |
Methods
No description
Displays the dashboard
Modifies the Event using its unique id
Duplicates the Event using its unique id
Redirects to events_all
Route
Displays all the Events NOT finished
Returns the slug corresponding to the text provided
Displays the help
Details
at line 47
__construct(EventsServiceInterface $eventsService, ServiceSlugInterface $serviceSlug)
at line 65
Response
dashboard(Request $request, PaginatorInterface $paginator)
Displays the dashboard
at line 97
Response
display(Event $eventObject, $slug)
Displays the Event using its unique id
at line 129
Response
create(Request $request, ConfigServiceInterface $configService)
Creates the Event
at line 175
Response
modify(Request $request, Event $eventObject, ConfigServiceInterface $configService, $slug)
Modifies the Event using its unique id
at line 224
Response
duplicate(Request $request, Event $eventObject, ConfigServiceInterface $configService)
Duplicates the Event using its unique id
at line 271
Response
delete(Request $request, Event $eventObject, $slug)
Marks the Event as deleted using its unique id
at line 313
Response
config(Request $request, ConfigServiceInterface $configService)
Displays the configuration
at line 354
Response
iCal(Event $eventObject, $slug)
Returns the iCal version of the Event using its unique id
at line 381
redirectAll()
Redirects to events_all
Route
at line 394
Response
all()
Displays all the Events NOT finished
at line 415
JsonResponse
slug($text)
Returns the slug corresponding to the text provided
at line 432
Response
help()
Displays the help