<<

NAME

Koha::Library::Calendar::SingleClosure - Koha single-date closure Object class

API

Class methods

store

Overloaded store method that clears the holidays cache on insert.

Only flushes on insert (new closure), not on title/description updates, because the holidays cache only stores dates and their open/closed status. An update that changes date in place would desync the cache with no warning, so that is rejected outright - callers must delete and re-add instead.

delete

Overloaded delete method that clears the holidays cache.

Internal methods

_type

<<