EventDeletedListener
in package
Event Delete Operation Handler
Reimplements the original davDeleteObject logic but with some changes:
- Namespaced code, injection rather than globals
- Run same code for changes from frontend, import, interapp API
- Events/Messages are fired to listeners (itip, notification, ...)
- Always save/modify caldav representation
Table of Contents
- __construct() : mixed
- __invoke() : mixed
Methods
__construct()
public
__construct(Horde_Dav_Storage $dav, Kronolith_Icalendar_Storage $icalStore, DeleteHandlerListeners $listeners) : mixed
Parameters
- $dav : Horde_Dav_Storage
- $icalStore : Kronolith_Icalendar_Storage
- $listeners : DeleteHandlerListeners
Return values
mixed —__invoke()
public
__invoke(EventDeleted $event) : mixed
Parameters
- $event : EventDeleted