Code Context $holidays=$res['holidays'];
$this->set(compact('year_month','events','weeks','days','holidays'));
$year_month = '2025-01'
$ym = array(
(int) 0 => '2025',
(int) 1 => '01'
)
$weeks = array(
(int) 0 => array(
(int) 0 => '2024-12-30',
(int) 1 => '2024-12-31',
(int) 2 => '2025-01-01',
(int) 3 => '2025-01-02',
(int) 4 => '2025-01-03',
(int) 5 => '2025-01-04',
(int) 6 => '2025-01-05'
),
(int) 1 => array(
(int) 0 => '2025-01-06',
(int) 1 => '2025-01-07',
(int) 2 => '2025-01-08',
(int) 3 => '2025-01-09',
(int) 4 => '2025-01-10',
(int) 5 => '2025-01-11',
(int) 6 => '2025-01-12'
),
(int) 2 => array(
(int) 0 => '2025-01-13',
(int) 1 => '2025-01-14',
(int) 2 => '2025-01-15',
(int) 3 => '2025-01-16',
(int) 4 => '2025-01-17',
(int) 5 => '2025-01-18',
(int) 6 => '2025-01-19'
),
(int) 3 => array(
(int) 0 => '2025-01-20',
(int) 1 => '2025-01-21',
(int) 2 => '2025-01-22',
(int) 3 => '2025-01-23',
(int) 4 => '2025-01-24',
(int) 5 => '2025-01-25',
(int) 6 => '2025-01-26'
),
(int) 4 => array(
(int) 0 => '2025-01-27',
(int) 1 => '2025-01-28',
(int) 2 => '2025-01-29',
(int) 3 => '2025-01-30',
(int) 4 => '2025-01-31',
(int) 5 => '2025-02-01',
(int) 6 => '2025-02-02'
)
)
$conds = array(
'end >=' => '2024-12-25',
'start <=' => '2025-02-07',
'public' => (int) 1
)
$ev_us = array(
'events' => array(),
'usernames' => array()
)
$res = array(
'days' => array(
'2024-12-30' => array(),
'2024-12-31' => array(),
'2025-01-01' => array(),
'2025-01-02' => array(),
'2025-01-03' => array(),
'2025-01-04' => array(),
'2025-01-05' => array(),
'2025-01-06' => array(),
'2025-01-07' => array(),
'2025-01-08' => array(),
'2025-01-09' => array(),
'2025-01-10' => array(),
'2025-01-11' => array(),
'2025-01-12' => array(),
'2025-01-13' => array(),
'2025-01-14' => array(),
'2025-01-15' => array(),
'2025-01-16' => array(),
'2025-01-17' => array(),
'2025-01-18' => array(),
'2025-01-19' => array(),
'2025-01-20' => array(),
'2025-01-21' => array(),
'2025-01-22' => array(),
'2025-01-23' => array(),
'2025-01-24' => array(),
'2025-01-25' => array(),
'2025-01-26' => array(),
'2025-01-27' => array(),
'2025-01-28' => array(),
'2025-01-29' => array(),
'2025-01-30' => array(),
'2025-01-31' => array(),
'2025-02-01' => array(),
'2025-02-02' => array()
),
'holidays' => array(
'2024-12-30' => false,
'2024-12-31' => false,
'2025-01-01' => false,
'2025-01-02' => false,
'2025-01-03' => false,
'2025-01-04' => false,
'2025-01-05' => false,
'2025-01-06' => false,
'2025-01-07' => false,
'2025-01-08' => false,
'2025-01-09' => false,
'2025-01-10' => false,
'2025-01-11' => false,
'2025-01-12' => false,
'2025-01-13' => false,
'2025-01-14' => false,
'2025-01-15' => false,
'2025-01-16' => false,
'2025-01-17' => false,
'2025-01-18' => false,
'2025-01-19' => false,
'2025-01-20' => false,
'2025-01-21' => false,
'2025-01-22' => false,
'2025-01-23' => false,
'2025-01-24' => false,
'2025-01-25' => false,
'2025-01-26' => false,
'2025-01-27' => false,
'2025-01-28' => false,
'2025-01-29' => false,
'2025-01-30' => false,
'2025-01-31' => false,
'2025-02-01' => false,
'2025-02-02' => false
)
)
$days = array(
'2024-12-30' => array(),
'2024-12-31' => array(),
'2025-01-01' => array(),
'2025-01-02' => array(),
'2025-01-03' => array(),
'2025-01-04' => array(),
'2025-01-05' => array(),
'2025-01-06' => array(),
'2025-01-07' => array(),
'2025-01-08' => array(),
'2025-01-09' => array(),
'2025-01-10' => array(),
'2025-01-11' => array(),
'2025-01-12' => array(),
'2025-01-13' => array(),
'2025-01-14' => array(),
'2025-01-15' => array(),
'2025-01-16' => array(),
'2025-01-17' => array(),
'2025-01-18' => array(),
'2025-01-19' => array(),
'2025-01-20' => array(),
'2025-01-21' => array(),
'2025-01-22' => array(),
'2025-01-23' => array(),
'2025-01-24' => array(),
'2025-01-25' => array(),
'2025-01-26' => array(),
'2025-01-27' => array(),
'2025-01-28' => array(),
'2025-01-29' => array(),
'2025-01-30' => array(),
'2025-01-31' => array(),
'2025-02-01' => array(),
'2025-02-02' => array()
)
$holidays = array(
'2024-12-30' => false,
'2024-12-31' => false,
'2025-01-01' => false,
'2025-01-02' => false,
'2025-01-03' => false,
'2025-01-04' => false,
'2025-01-05' => false,
'2025-01-06' => false,
'2025-01-07' => false,
'2025-01-08' => false,
'2025-01-09' => false,
'2025-01-10' => false,
'2025-01-11' => false,
'2025-01-12' => false,
'2025-01-13' => false,
'2025-01-14' => false,
'2025-01-15' => false,
'2025-01-16' => false,
'2025-01-17' => false,
'2025-01-18' => false,
'2025-01-19' => false,
'2025-01-20' => false,
'2025-01-21' => false,
'2025-01-22' => false,
'2025-01-23' => false,
'2025-01-24' => false,
'2025-01-25' => false,
'2025-01-26' => false,
'2025-01-27' => false,
'2025-01-28' => false,
'2025-01-29' => false,
'2025-01-30' => false,
'2025-01-31' => false,
'2025-02-01' => false,
'2025-02-02' => false
)
compact - [internal], line ??
EventsController::month() - APP/Controller/EventsController.php, line 247
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118