Function getEventRange
Get all calendar events within the given time range.
- finds all the posted calendar events within a date range.
- both the earliest_date and latest_date should be in the standard YYYY-MM-DD format.
- censors the posted event titles.
- uses the current user's permissions if use_permissions is true, otherwise it does nothing "permission specific"
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
string |
$low_date |
The low end of the range, inclusive, in YYYY-MM-DD format |
string |
$high_date |
The high end of the range, inclusive, in YYYY-MM-DD format |
boolean |
$use_permissions = true |
Whether to use permissions |
array
|
Contextual information if use_permissions is true, and an array of the data needed to build that otherwise |