Code Context $topos = $this->Topo->find('all',array('order'=>'Topo.id DESC','conditions'=>array('Topo.ativo'=>'1')));
$ofertas_mese = $this->OfertasMese->find('first',array('order'=>'OfertasMese.id DESC','fields'=>array('id'),'recursive'=>false));
$ofertas_mese_id = $ofertas_mese['OfertasMese']['id'];
$topos = array(
(int) 0 => array(
'Topo' => array(
'id' => '5',
'titulo' => 'Drogaria Bongi',
'imagem' => '14497114618456_c0c7c76d30bd3dcaefc96f40275bdc0a.jpg',
'ativo' => '1'
)
),
(int) 1 => array(
'Topo' => array(
'id' => '4',
'titulo' => 'Drogaria Bongi',
'imagem' => '14497114373472_65b9eea6e1cc6bb9f0cd2a47751a186f.jpg',
'ativo' => '1'
)
),
(int) 2 => array(
'Topo' => array(
'id' => '3',
'titulo' => 'Drogaria Bongi',
'imagem' => '14497114010871_d82c8d1619ad8176d665453cfb2e55f0.jpg',
'ativo' => '1'
)
)
)
$ofertas_mese = array()
HomeController::index() - APP/Controller/HomeController.php, line 15
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 54