Code Context 'conditions' => array('Slider.produit_id' => $idproduit,'Slider.page_id'=>2)));
$this->set(compact('produitDetails','souscats','sliders'));
$idproduit = '12'
$idsoucat = '10'
$produitDetails = array(
'Produit' => array(
'id' => '12',
'nom' => 'CHAPEAUX DN 1000',
'categorie_id' => '10',
'image' => '1663684077.jpg',
'description' => '<p> </p>
<p><img alt="" src="/app/webroot/assets/js/kcfinder/upload/images/chapeau-dn-1000.png" style="float:left; height:237px; margin-left:80px; margin-right:80px; width:1000px" /></p>
',
'fiche-technique' => '',
'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) 78 => array(
'id' => '78',
'ref' => 'Produit',
'ref_id' => '12',
'file' => '/img/uploads/2019/06/20190513_072503.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/06/20190513_072503.jpg'
),
(int) 79 => array(
'id' => '79',
'ref' => 'Produit',
'ref_id' => '12',
'file' => '/img/uploads/2019/06/20180327_134052.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/06/20180327_134052.jpg'
),
(int) 80 => array(
'id' => '80',
'ref' => 'Produit',
'ref_id' => '12',
'file' => '/img/uploads/2019/06/17778904_152695821923109_583808116_o.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/06/17778904_152695821923109_583808116_o.jpg'
),
(int) 81 => array(
'id' => '81',
'ref' => 'Produit',
'ref_id' => '12',
'file' => '/img/uploads/2019/06/20170914_142849.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/06/20170914_142849.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