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 = 'article-in-woman-part1'
$data = array(
'Article' => array(
'id' => '20',
'name_en' => 'article in WOMAN part1',
'name_de' => 'Artikel in Woman Teil 1',
'name_ro' => 'article in WOMAN part1',
'slug' => 'article-in-woman-part1',
'photo' => '5ae5977e4b3fc_WomanApril20181.jpg',
'content_en' => '',
'content_de' => '',
'content_ro' => '',
'featured' => true,
'tmr' => true,
'hide_lw' => false,
'date' => '2018-04-28',
'created' => '2018-04-29 11:59:26',
'full_photo' => 'articles/5ae5977e4b3fc_WomanApril20181.jpg',
'thumb' => 'articles/t_5ae5977e4b3fc_WomanApril20181.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