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 = 'new-show-trailer-for-the-mind-reading-revolution'
$data = array(
'Article' => array(
'id' => '27',
'name_en' => 'New Show Trailer for "The Mind-Reading Revolution"',
'name_de' => 'Neuer Show-Trailer für "The Mind-Reading Revolution"',
'name_ro' => 'New Show Trailer for "The Mind-Reading Revolution"',
'slug' => 'new-show-trailer-for-the-mind-reading-revolution',
'photo' => '',
'content_en' => '<p><a href="https://youtu.be/4p_f9EuxB5c">https://youtu.be/4p_f9EuxB5c</a></p>
<p> </p>',
'content_de' => '<p><a href="https://youtu.be/fv2Lqwe2Caw">https://youtu.be/fv2Lqwe2Caw</a></p>',
'content_ro' => '<p><a href="https://youtu.be/4p_f9EuxB5c">https://youtu.be/4p_f9EuxB5c</a></p>',
'featured' => true,
'tmr' => true,
'hide_lw' => false,
'date' => '2018-10-23',
'created' => '2018-10-23 11:17:35'
)
)
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