Function setEventStartEnd
Set the start and end dates and times for a posted event for insertion into the database. Validates all date and times given to it. Makes sure events do not exceed the maximum allowed duration (if any). If passed an array that defines any time or date parameters, they will be used. Otherwise, gets the values from $_POST.
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 = array() |
An array of optional time and date parameters (span, start_year, end_month, etc., etc.) |
array
|
An array containing $start_date, $end_date, $start_time, $end_time |