Code Context
<img class="img-responsive thumbnail" src="<?= $v->thumb->file ?>" alt="<?= $product->name ?>">
$viewFile = '/home/opure/security/src/Template/Produits/show.ctp'
$dataForView = [
'works' => object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Works.id AS `Works__id`, Works.name AS `Works__name`, Works.content AS `Works__content`, Works.online AS `Works__online`, Works.media_id AS `Works__media_id`, Works.category_id AS `Works__category_id`, Works.type AS `Works__type`, Works.slug AS `Works__slug`, Works.meta AS `Works__meta`, Works.keywords AS `Works__keywords`, Works.position AS `Works__position`, Works.menu AS `Works__menu`, Works.accueil AS `Works__accueil` FROM works Works WHERE Works.online = :c0',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [[maximum depth reached]],
'matching' => [[maximum depth reached]],
'extraOptions' => [[maximum depth reached]],
'repository' => object(App\Model\Table\WorksTable) {}
},
'medias' => object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Media.id AS `Media__id`, Media.ref AS `Media__ref`, Media.ref_id AS `Media__ref_id`, Media.file AS `Media__file`, Media.position AS `Media__position`, Media.name AS `Media__name`, Media.active AS `Media__active`, Media.accueil AS `Media__accueil`, Media.url AS `Media__url` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.active = :c1) ORDER BY position ASC',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [[maximum depth reached]],
'matching' => [[maximum depth reached]],
'extraOptions' => [[maximum depth reached]],
'repository' => object(Media\Model\Table\MediasTable) {}
},
'products' => object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Produits.id AS `Produits__id`, Produits.name AS `Produits__name`, Produits.accueil AS `Produits__accueil`, Produits.content AS `Produits__content`, Produits.online AS `Produits__online`, Produits.media_id AS `Produits__media_id`, Produits.work_id AS `Produits__work_id`, Produits.slug AS `Produits__slug`, Produits.meta AS `Produits__meta`, Produits.keywords AS `Produits__keywords`, Produits.user_id AS `Produits__user_id`, Produits.position AS `Produits__position`, Produits.formateur AS `Produits__formateur`, Produits.ref AS `Produits__ref`, Produits.tarif AS `Produits__tarif`, Thumb.id AS `Thumb__id`, Thumb.ref AS `Thumb__ref`, Thumb.ref_id AS `Thumb__ref_id`, Thumb.file AS `Thumb__file`, Thumb.position AS `Thumb__position`, Thumb.name AS `Thumb__name`, Thumb.active AS `Thumb__active`, Thumb.accueil AS `Thumb__accueil`, Thumb.url AS `Thumb__url` FROM produits Produits LEFT JOIN medias Thumb ON Thumb.id = (Produits.media_id) WHERE Produits.online = :c0',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 1,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
[maximum depth reached]
],
'matching' => [[maximum depth reached]],
'extraOptions' => [[maximum depth reached]],
'repository' => object(App\Model\Table\ProduitsTable) {}
},
'product' => object(App\Model\Entity\Produit) {
'id' => (int) 49,
'name' => 'CMSI ET / MT',
'accueil' => null,
'content' => '<p>Idéal pour les sites comportant des DAS à Émission de Tension (ET) et Manque de Tension (MT), le CMSI ET/MT assure également le contrôle de position des DAS à l'aide d'un bus de communication 2 conducteurs. Ce CMSI est disponible en 4 versions pré équipé, ou en version " à la carte".</p>
',
'online' => (int) 1,
'media_id' => (int) 120,
'work_id' => (int) 37,
'slug' => 'CMSI-ET-MT',
'meta' => '',
'keywords' => null,
'user_id' => null,
'position' => null,
'formateur' => null,
'ref' => '',
'tarif' => '',
'thumb' => object(Media\Model\Entity\Media) {},
'media' => [
[maximum depth reached]
],
'work' => object(App\Model\Entity\Work) {},
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [[maximum depth reached]],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Produits'
}
]
$works = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Works.id AS `Works__id`, Works.name AS `Works__name`, Works.content AS `Works__content`, Works.online AS `Works__online`, Works.media_id AS `Works__media_id`, Works.category_id AS `Works__category_id`, Works.type AS `Works__type`, Works.slug AS `Works__slug`, Works.meta AS `Works__meta`, Works.keywords AS `Works__keywords`, Works.position AS `Works__position`, Works.menu AS `Works__menu`, Works.accueil AS `Works__accueil` FROM works Works WHERE Works.online = :c0',
'params' => [
':c0' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Works__id' => 'integer',
'Works.id' => 'integer',
'id' => 'integer',
'Works__name' => 'string',
'Works.name' => 'string',
'name' => 'string',
'Works__content' => 'text',
'Works.content' => 'text',
'content' => 'text',
'Works__online' => 'integer',
'Works.online' => 'integer',
'online' => 'integer',
'Works__media_id' => 'integer',
'Works.media_id' => 'integer',
'media_id' => 'integer',
'Works__category_id' => 'integer',
'Works.category_id' => 'integer',
'category_id' => 'integer',
'Works__type' => 'string',
'Works.type' => 'string',
'type' => 'string',
'Works__slug' => 'string',
'Works.slug' => 'string',
'slug' => 'string',
'Works__meta' => 'string',
'Works.meta' => 'string',
'meta' => 'string',
'Works__keywords' => 'string',
'Works.keywords' => 'string',
'keywords' => 'string',
'Works__position' => 'integer',
'Works.position' => 'integer',
'position' => 'integer',
'Works__menu' => 'integer',
'Works.menu' => 'integer',
'menu' => 'integer',
'Works__accueil' => 'string',
'Works.accueil' => 'string',
'accueil' => 'string'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\WorksTable) {}
}
$medias = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Media.id AS `Media__id`, Media.ref AS `Media__ref`, Media.ref_id AS `Media__ref_id`, Media.file AS `Media__file`, Media.position AS `Media__position`, Media.name AS `Media__name`, Media.active AS `Media__active`, Media.accueil AS `Media__accueil`, Media.url AS `Media__url` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.active = :c1) ORDER BY position ASC',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Media__id' => 'integer',
'Media.id' => 'integer',
'id' => 'integer',
'Media__ref' => 'string',
'Media.ref' => 'string',
'ref' => 'string',
'Media__ref_id' => 'integer',
'Media.ref_id' => 'integer',
'ref_id' => 'integer',
'Media__file' => 'string',
'Media.file' => 'string',
'file' => 'string',
'Media__position' => 'integer',
'Media.position' => 'integer',
'position' => 'integer',
'Media__name' => 'string',
'Media.name' => 'string',
'name' => 'string',
'Media__active' => 'string',
'Media.active' => 'string',
'active' => 'string',
'Media__accueil' => 'string',
'Media.accueil' => 'string',
'accueil' => 'string',
'Media__url' => 'string',
'Media.url' => 'string',
'url' => 'string'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(Media\Model\Table\MediasTable) {}
}
$products = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Produits.id AS `Produits__id`, Produits.name AS `Produits__name`, Produits.accueil AS `Produits__accueil`, Produits.content AS `Produits__content`, Produits.online AS `Produits__online`, Produits.media_id AS `Produits__media_id`, Produits.work_id AS `Produits__work_id`, Produits.slug AS `Produits__slug`, Produits.meta AS `Produits__meta`, Produits.keywords AS `Produits__keywords`, Produits.user_id AS `Produits__user_id`, Produits.position AS `Produits__position`, Produits.formateur AS `Produits__formateur`, Produits.ref AS `Produits__ref`, Produits.tarif AS `Produits__tarif`, Thumb.id AS `Thumb__id`, Thumb.ref AS `Thumb__ref`, Thumb.ref_id AS `Thumb__ref_id`, Thumb.file AS `Thumb__file`, Thumb.position AS `Thumb__position`, Thumb.name AS `Thumb__name`, Thumb.active AS `Thumb__active`, Thumb.accueil AS `Thumb__accueil`, Thumb.url AS `Thumb__url` FROM produits Produits LEFT JOIN medias Thumb ON Thumb.id = (Produits.media_id) WHERE Produits.online = :c0',
'params' => [
':c0' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Produits__id' => 'integer',
'Produits.id' => 'integer',
'id' => 'integer',
'Produits__name' => 'string',
'Produits.name' => 'string',
'name' => 'string',
'Produits__accueil' => 'integer',
'Produits.accueil' => 'integer',
'accueil' => 'integer',
'Produits__content' => 'text',
'Produits.content' => 'text',
'content' => 'text',
'Produits__online' => 'integer',
'Produits.online' => 'integer',
'online' => 'integer',
'Produits__media_id' => 'integer',
'Produits.media_id' => 'integer',
'media_id' => 'integer',
'Produits__work_id' => 'integer',
'Produits.work_id' => 'integer',
'work_id' => 'integer',
'Produits__slug' => 'string',
'Produits.slug' => 'string',
'slug' => 'string',
'Produits__meta' => 'string',
'Produits.meta' => 'string',
'meta' => 'string',
'Produits__keywords' => 'string',
'Produits.keywords' => 'string',
'keywords' => 'string',
'Produits__user_id' => 'integer',
'Produits.user_id' => 'integer',
'user_id' => 'integer',
'Produits__position' => 'integer',
'Produits.position' => 'integer',
'position' => 'integer',
'Produits__formateur' => 'integer',
'Produits.formateur' => 'integer',
'formateur' => 'integer',
'Produits__ref' => 'string',
'Produits.ref' => 'string',
'ref' => 'string',
'Produits__tarif' => 'string',
'Produits.tarif' => 'string',
'tarif' => 'string',
'Thumb__id' => 'integer',
'Thumb.id' => 'integer',
'Thumb__ref' => 'string',
'Thumb.ref' => 'string',
'Thumb__ref_id' => 'integer',
'Thumb.ref_id' => 'integer',
'ref_id' => 'integer',
'Thumb__file' => 'string',
'Thumb.file' => 'string',
'file' => 'string',
'Thumb__position' => 'integer',
'Thumb.position' => 'integer',
'Thumb__name' => 'string',
'Thumb.name' => 'string',
'Thumb__active' => 'string',
'Thumb.active' => 'string',
'active' => 'string',
'Thumb__accueil' => 'string',
'Thumb.accueil' => 'string',
'Thumb__url' => 'string',
'Thumb.url' => 'string',
'url' => 'string',
'Media__id' => 'integer',
'Media.id' => 'integer',
'Media__ref' => 'string',
'Media.ref' => 'string',
'Media__ref_id' => 'integer',
'Media.ref_id' => 'integer',
'Media__file' => 'string',
'Media.file' => 'string',
'Media__position' => 'integer',
'Media.position' => 'integer',
'Media__name' => 'string',
'Media.name' => 'string',
'Media__active' => 'string',
'Media.active' => 'string',
'Media__accueil' => 'string',
'Media.accueil' => 'string',
'Media__url' => 'string',
'Media.url' => 'string'
],
'decorators' => (int) 1,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Thumb' => [[maximum depth reached]],
'Media' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProduitsTable) {}
}
$product = object(App\Model\Entity\Produit) {
'id' => (int) 49,
'name' => 'CMSI ET / MT',
'accueil' => null,
'content' => '<p>Idéal pour les sites comportant des DAS à Émission de Tension (ET) et Manque de Tension (MT), le CMSI ET/MT assure également le contrôle de position des DAS à l'aide d'un bus de communication 2 conducteurs. Ce CMSI est disponible en 4 versions pré équipé, ou en version " à la carte".</p>
',
'online' => (int) 1,
'media_id' => (int) 120,
'work_id' => (int) 37,
'slug' => 'CMSI-ET-MT',
'meta' => '',
'keywords' => null,
'user_id' => null,
'position' => null,
'formateur' => null,
'ref' => '',
'tarif' => '',
'thumb' => object(Media\Model\Entity\Media) {},
'media' => [
(int) 0 => object(Media\Model\Entity\Media) {},
(int) 1 => object(Media\Model\Entity\Media) {}
],
'work' => object(App\Model\Entity\Work) {},
'[new]' => false,
'[accessible]' => [
'*' => true,
'tags' => true,
'tag_string' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Produits'
}
$espacepro = object(App\View\Cell\InboxCell) {
'plugin' => null,
'action' => 'display',
'args' => [],
'template' => 'display',
'viewClass' => 'App\View\AppView',
'request' => object(Cake\Http\ServerRequest) {},
'response' => object(Cake\Http\Response) {}
}
$cell = object(App\View\Cell\MenuprofCell) {
'plugin' => null,
'action' => 'display',
'args' => [],
'template' => 'display',
'viewClass' => 'App\View\AppView',
'request' => object(Cake\Http\ServerRequest) {},
'response' => object(Cake\Http\Response) {}
}
$v = object(App\Model\Entity\Produit) {
'id' => (int) 62,
'name' => 'COFFRET D'ALARME À PILES DE TYPE 4',
'accueil' => null,
'content' => '<p>Adapté pour les Établissements Recevant du Public (ERP) ou les Établissements industriels nécessitant un Equipement d’Alarme de type 4. <br />
<br />
Ce système d'alarme de type 4 est utilisé pour donner, en cas d'urgence, l'ordre d'évacuation du public ainsi que du personnel non employé à la lutte contre l'incendie. <br />
<br />
Coffret d'alarme à piles avec déclencheur à membrane déformable et diffuseur sonore intégré (NF S 32-001). Référence NUG31210</p>
',
'online' => (int) 1,
'media_id' => (int) 136,
'work_id' => (int) 37,
'slug' => 'COFFRET-D-ALARME-A-PILES-DE-TYPE-4',
'meta' => '',
'keywords' => null,
'user_id' => null,
'position' => null,
'formateur' => null,
'ref' => '',
'tarif' => '',
'media' => [],
'thumb' => null,
'[new]' => false,
'[accessible]' => [
'*' => true,
'tags' => true,
'tag_string' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Produits'
}
$k = (int) 27
include - APP/Template/Produits/show.ctp, line 52
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1168
Cake\View\View::_render() - CORE/src/View/View.php, line 1129
Cake\View\View::render() - CORE/src/View/View.php, line 753
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 624
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 125
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 93
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 103
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 107
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 93
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 81