Code Context 'conditions' => array('Slider.produit_id' => $idproduit,'Slider.page_id'=>2)));
$this->set(compact('produitDetails','souscats','sliders'));
$idproduit = '11'
$idsoucat = '10'
$produitDetails = array(
'Produit' => array(
'id' => '11',
'nom' => 'CONE DN 1000',
'categorie_id' => '10',
'image' => '1663685120.jpg',
'description' => '<p> </p>
<p><img alt="" src="/app/webroot/assets/js/kcfinder/upload/images/cone-dn-1000.png" style="float:left; height:237px; margin-left:80px; margin-right:80px; width:1000px" /></p>
',
'fiche-technique' => 'produit3-1555409080.pdf',
'date_ajout' => '2019-04-16'
),
'Categorie' => array(
'id' => '10',
'nom' => 'CONE ET CHAPEAUX ',
'description' => '',
'detail' => '',
'image' => '1554731087.jpg',
'date_ajout' => '2019-04-08'
),
'Media' => array(
(int) 55 => array(
'id' => '55',
'ref' => 'Produit',
'ref_id' => '11',
'file' => '/img/uploads/2019/05/20180812_141822.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/05/20180812_141822.jpg'
),
(int) 56 => array(
'id' => '56',
'ref' => 'Produit',
'ref_id' => '11',
'file' => '/img/uploads/2019/05/IMG_bcb53ddd5ba54cb5719c65d3a0402a69_V.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/05/IMG_bcb53ddd5ba54cb5719c65d3a0402a69_V.jpg'
),
(int) 57 => array(
'id' => '57',
'ref' => 'Produit',
'ref_id' => '11',
'file' => '/img/uploads/2019/05/20190513_071630.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/05/20190513_071630.jpg'
),
(int) 58 => array(
'id' => '58',
'ref' => 'Produit',
'ref_id' => '11',
'file' => '/img/uploads/2019/05/20190513_073044.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/05/20190513_073044.jpg'
)
)
)
$sliders = array()
compact - [internal], line ??
ProduitsController::produit_details() - APP/Controller/ProduitsController.php, line 69
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 117