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