Code Context $holidays=$res['holidays'];
$this->set(compact('year_month','events','weeks','days','holidays'));
$year_month = '2026-5'
$ym = array(
(int) 0 => '2026',
(int) 1 => '5'
)
$weeks = array(
(int) 0 => array(
(int) 0 => '2026-04-27',
(int) 1 => '2026-04-28',
(int) 2 => '2026-04-29',
(int) 3 => '2026-04-30',
(int) 4 => '2026-05-01',
(int) 5 => '2026-05-02',
(int) 6 => '2026-05-03'
),
(int) 1 => array(
(int) 0 => '2026-05-04',
(int) 1 => '2026-05-05',
(int) 2 => '2026-05-06',
(int) 3 => '2026-05-07',
(int) 4 => '2026-05-08',
(int) 5 => '2026-05-09',
(int) 6 => '2026-05-10'
),
(int) 2 => array(
(int) 0 => '2026-05-11',
(int) 1 => '2026-05-12',
(int) 2 => '2026-05-13',
(int) 3 => '2026-05-14',
(int) 4 => '2026-05-15',
(int) 5 => '2026-05-16',
(int) 6 => '2026-05-17'
),
(int) 3 => array(
(int) 0 => '2026-05-18',
(int) 1 => '2026-05-19',
(int) 2 => '2026-05-20',
(int) 3 => '2026-05-21',
(int) 4 => '2026-05-22',
(int) 5 => '2026-05-23',
(int) 6 => '2026-05-24'
),
(int) 4 => array(
(int) 0 => '2026-05-25',
(int) 1 => '2026-05-26',
(int) 2 => '2026-05-27',
(int) 3 => '2026-05-28',
(int) 4 => '2026-05-29',
(int) 5 => '2026-05-30',
(int) 6 => '2026-05-31'
)
)
$conds = array(
'end >=' => '2026-04-24',
'start <=' => '2026-06-07',
'public' => (int) 1
)
$ev_us = array(
'events' => array(),
'usernames' => array()
)
$res = array(
'days' => array(
'2026-04-27' => array(),
'2026-04-28' => array(),
'2026-04-29' => array(),
'2026-04-30' => array(),
'2026-05-01' => array(),
'2026-05-02' => array(),
'2026-05-03' => array(),
'2026-05-04' => array(),
'2026-05-05' => array(),
'2026-05-06' => array(),
'2026-05-07' => array(),
'2026-05-08' => array(),
'2026-05-09' => array(),
'2026-05-10' => array(),
'2026-05-11' => array(),
'2026-05-12' => array(),
'2026-05-13' => array(),
'2026-05-14' => array(),
'2026-05-15' => array(),
'2026-05-16' => array(),
'2026-05-17' => array(),
'2026-05-18' => array(),
'2026-05-19' => array(),
'2026-05-20' => array(),
'2026-05-21' => array(),
'2026-05-22' => array(),
'2026-05-23' => array(),
'2026-05-24' => array(),
'2026-05-25' => array(),
'2026-05-26' => array(),
'2026-05-27' => array(),
'2026-05-28' => array(),
'2026-05-29' => array(),
'2026-05-30' => array(),
'2026-05-31' => array()
),
'holidays' => array(
'2026-04-27' => false,
'2026-04-28' => false,
'2026-04-29' => false,
'2026-04-30' => false,
'2026-05-01' => false,
'2026-05-02' => false,
'2026-05-03' => false,
'2026-05-04' => false,
'2026-05-05' => false,
'2026-05-06' => false,
'2026-05-07' => false,
'2026-05-08' => false,
'2026-05-09' => false,
'2026-05-10' => false,
'2026-05-11' => false,
'2026-05-12' => false,
'2026-05-13' => false,
'2026-05-14' => false,
'2026-05-15' => false,
'2026-05-16' => false,
'2026-05-17' => false,
'2026-05-18' => false,
'2026-05-19' => false,
'2026-05-20' => false,
'2026-05-21' => false,
'2026-05-22' => false,
'2026-05-23' => false,
'2026-05-24' => false,
'2026-05-25' => false,
'2026-05-26' => false,
'2026-05-27' => false,
'2026-05-28' => false,
'2026-05-29' => false,
'2026-05-30' => false,
'2026-05-31' => false
)
)
$days = array(
'2026-04-27' => array(),
'2026-04-28' => array(),
'2026-04-29' => array(),
'2026-04-30' => array(),
'2026-05-01' => array(),
'2026-05-02' => array(),
'2026-05-03' => array(),
'2026-05-04' => array(),
'2026-05-05' => array(),
'2026-05-06' => array(),
'2026-05-07' => array(),
'2026-05-08' => array(),
'2026-05-09' => array(),
'2026-05-10' => array(),
'2026-05-11' => array(),
'2026-05-12' => array(),
'2026-05-13' => array(),
'2026-05-14' => array(),
'2026-05-15' => array(),
'2026-05-16' => array(),
'2026-05-17' => array(),
'2026-05-18' => array(),
'2026-05-19' => array(),
'2026-05-20' => array(),
'2026-05-21' => array(),
'2026-05-22' => array(),
'2026-05-23' => array(),
'2026-05-24' => array(),
'2026-05-25' => array(),
'2026-05-26' => array(),
'2026-05-27' => array(),
'2026-05-28' => array(),
'2026-05-29' => array(),
'2026-05-30' => array(),
'2026-05-31' => array()
)
$holidays = array(
'2026-04-27' => false,
'2026-04-28' => false,
'2026-04-29' => false,
'2026-04-30' => false,
'2026-05-01' => false,
'2026-05-02' => false,
'2026-05-03' => false,
'2026-05-04' => false,
'2026-05-05' => false,
'2026-05-06' => false,
'2026-05-07' => false,
'2026-05-08' => false,
'2026-05-09' => false,
'2026-05-10' => false,
'2026-05-11' => false,
'2026-05-12' => false,
'2026-05-13' => false,
'2026-05-14' => false,
'2026-05-15' => false,
'2026-05-16' => false,
'2026-05-17' => false,
'2026-05-18' => false,
'2026-05-19' => false,
'2026-05-20' => false,
'2026-05-21' => false,
'2026-05-22' => false,
'2026-05-23' => false,
'2026-05-24' => false,
'2026-05-25' => false,
'2026-05-26' => false,
'2026-05-27' => false,
'2026-05-28' => false,
'2026-05-29' => false,
'2026-05-30' => false,
'2026-05-31' => 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