Code Context 'conditions' => array('Slider.produit_id' => $idproduit,'Slider.page_id'=>2)));
$this->set(compact('produitDetails','souscats','sliders'));
$idproduit = '13'
$idsoucat = '10'
$produitDetails = array(
'Produit' => array(
'id' => '13',
'nom' => 'CHAPEAUX DN 1500',
'categorie_id' => '10',
'image' => '1663684140.jpg',
'description' => '<p> </p>
<p><img alt="" src="/app/webroot/assets/js/kcfinder/upload/images/chapeau-dn-1500.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) 82 => array(
'id' => '82',
'ref' => 'Produit',
'ref_id' => '13',
'file' => '/img/uploads/2019/06/ELEMENT_DROIT_DN_1500_H60.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/06/ELEMENT_DROIT_DN_1500_H60.jpg'
),
(int) 83 => array(
'id' => '83',
'ref' => 'Produit',
'ref_id' => '13',
'file' => '/img/uploads/2019/06/20190513_072249.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/06/20190513_072249.jpg'
),
(int) 85 => array(
'id' => '85',
'ref' => 'Produit',
'ref_id' => '13',
'file' => '/img/uploads/2019/06/FR_2000_RESERVATION_1500_10.png',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/06/FR_2000_RESERVATION_1500_10.png'
),
(int) 86 => array(
'id' => '86',
'ref' => 'Produit',
'ref_id' => '13',
'file' => '/img/uploads/2019/06/20190513_072349.jpg',
'position' => '0',
'type' => 'pic',
'icon' => '/img/uploads/2019/06/20190513_072349.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