Function cache_getOffsetIndependentEvents
Retrieve all events for the given days, independently of the users offset. cache callback function used to retrieve the birthdays, holidays, and events between now and now + days_to_index. widens the search range by an extra 24 hours to support time offset shifts. used by the cache_getRecentEvents function to get the information needed to calculate the events taking the users time offset into account.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Calendar.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs-Calendar.php
array |
$eventOptions |
With the keys 'num_days_shown', 'include_holidays', 'include_birthdays' and 'include_events' |
array
|
An array containing the data that was cached as well as an expression to calculate whether the data should be refreshed and when it expires |