![]() |
CMS
Version 3.9
|
Go to the source code of this file.
Variables | |
$identifier = $_GET["cal"] | |
$calendar = Calendar::findByIdentifier($identifier) | |
$year = checkNumeric($_REQUEST["year"]) | |
$month = checkNumeric($_REQUEST["month"]) | |
$day = checkNumeric($_REQUEST["day"]) | |
$date = new DateTime("{$year}-{$month}-{$day} 00:00:00") | |
$dateStr = $date->format("Y-m-d") | |
$constraint = "WHERE 1=1 AND end_date >= '$dateStr' AND start_date < '$dateStr' AND published=1" | |
$events = $calendar->Events("$constraint ORDER BY start_date") | |
$helper = new CalendarHelper() | |
foreach ( $events as $event) | |
$calendar = Calendar::findByIdentifier($identifier) |
Definition at line 43 of file event_list.inc.
$constraint = "WHERE 1=1 AND end_date >= '$dateStr' AND start_date < '$dateStr' AND published=1" |
Definition at line 54 of file event_list.inc.
$date = new DateTime("{$year}-{$month}-{$day} 00:00:00") |
Definition at line 51 of file event_list.inc.
$dateStr = $date->format("Y-m-d") |
Definition at line 52 of file event_list.inc.
$day = checkNumeric($_REQUEST["day"]) |
Definition at line 49 of file event_list.inc.
$events = $calendar->Events("$constraint ORDER BY start_date") |
Definition at line 56 of file event_list.inc.
$helper = new CalendarHelper() |
Definition at line 58 of file event_list.inc.
$identifier = $_GET["cal"] |
Definition at line 41 of file event_list.inc.
$month = checkNumeric($_REQUEST["month"]) |
Definition at line 48 of file event_list.inc.
$year = checkNumeric($_REQUEST["year"]) |
Definition at line 47 of file event_list.inc.
foreach($events as $event) | ( | $events as | ) |
Definition at line 60 of file event_list.inc.