Code Context $this->set('data', $data);
$this->set('highlights', $this->Article->find('all', array('conditions' => array('Article.featured' => 1), 'order' => ['Article.date' => 'DESC'])));
$this->set('title_for_layout', $data['Article']['name_'.$this->params['lan']]);
$slug = 'prediction-of-the-austrian-parliamentary-elections'
$data = array(
'Article' => array(
'id' => '18',
'name_en' => 'Prediction of the Austrian Parliamentary Elections',
'name_de' => 'Video: Doppelte Vorhersage der Nationalratswahl',
'name_ro' => '',
'slug' => 'prediction-of-the-austrian-parliamentary-elections',
'photo' => '18_2.jpg',
'content_en' => '<p><a href="https://youtu.be/zoAC1BKWdwI">https://youtu.be/zoAC1BKWdwI</a></p>',
'content_de' => '<p><a href="https://youtu.be/zoAC1BKWdwI">https://youtu.be/zoAC1BKWdwI</a></p>',
'content_ro' => '',
'featured' => true,
'tmr' => true,
'hide_lw' => false,
'date' => '2017-10-25',
'created' => '2017-10-25 12:35:35',
'full_photo' => 'articles/18_2.jpg',
'thumb' => 'articles/t_18_2.jpg'
)
)
ArticlesController::show() - APP/Controller/ArticlesController.php, line 65
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 110