La décoration de votre intérieur passe par des matériaux soignés et un savoir faire irréprochable.
L'atelier Xavier Jeanmaire vous propose de sublimer celui ci. Nous réalisons des parquets sur mesures, des escaliers ainsi que des portes intérieures.
Pour tout renseignement ou demande de devis
Découvrez plus d'informations sur nos fournisseurs ou partenaires en passant la souris sur les logos.
<span class="overlay-link">
<img src="<?= $v->thumb->file ?>" alt="<?= $v->translation($lang)->name ?>" />
<span class="overlay-info">
$viewFile = '/home/opure/lavennerie/src/Template/Works/show.ctp' $dataForView = [ '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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', '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(Media\Model\Table\MediasTable) {} }, 'tags' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\TagsTable) {} }, '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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c12 AND Categories_content_translation.field = :c13 AND Categories_content_translation.locale = :c14 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c15 AND Categories_content2_translation.field = :c16 AND Categories_content2_translation.locale = :c17 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c18 AND Categories_slug_translation.field = :c19 AND Categories_slug_translation.locale = :c20 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 3, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\WorksTable) {} }, 'work' => object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [[maximum depth reached]], '_locale' => 'en_FR', '_translations' => [ [maximum depth reached] ], '[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]' => 'Works' }, 'lang' => 'fr' ] $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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [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__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Media\Model\Table\MediasTable) {} } $tags = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Tags__id' => 'integer', 'Tags.id' => 'integer', 'id' => 'integer', 'Tags__name' => 'string', 'Tags.name' => 'string', 'name' => 'string', 'Tags__slug' => 'string', 'Tags.slug' => 'string', 'slug' => 'string', 'Tags__produit_id' => 'integer', 'Tags.produit_id' => 'integer', 'produit_id' => 'integer', 'Tags__work_id' => 'integer', 'Tags.work_id' => 'integer', 'work_id' => 'integer', 'Tags__content' => 'text', 'Tags.content' => 'text', 'content' => 'text', 'Tags__online' => 'integer', 'Tags.online' => 'integer', 'online' => 'integer', 'Tags__media_id' => 'integer', 'Tags.media_id' => 'integer', 'media_id' => 'integer', 'Tags__position' => 'integer', 'Tags.position' => 'integer', 'position' => 'integer', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Media__id' => 'integer', 'Media.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', 'Media__name' => 'string', 'Media.name' => 'string', 'Media__active' => 'string', 'Media.active' => 'string', 'active' => 'string', 'Media__accueil' => 'string', 'Media.accueil' => 'string', 'accueil' => 'string', 'Media__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string', 'Thumb__id' => 'integer', 'Thumb.id' => 'integer', 'Thumb__ref' => 'string', 'Thumb.ref' => 'string', 'Thumb__ref_id' => 'integer', 'Thumb.ref_id' => 'integer', 'Thumb__file' => 'string', 'Thumb.file' => 'string', 'Thumb__position' => 'integer', 'Thumb.position' => 'integer', 'Thumb__name' => 'string', 'Thumb.name' => 'string', 'Thumb__active' => 'string', 'Thumb.active' => 'string', 'Thumb__accueil' => 'string', 'Thumb.accueil' => 'string', 'Thumb__portrait' => 'integer', 'Thumb.portrait' => 'integer', 'Thumb__content' => 'text', 'Thumb.content' => 'text', 'Thumb__lien' => 'string', 'Thumb.lien' => 'string', 'Thumb__large' => 'integer', 'Thumb.large' => 'integer', 'Thumb__background' => 'string', 'Thumb.background' => 'string', 'Tags_name_translation__id' => 'integer', 'Tags_name_translation.id' => 'integer', 'Tags_name_translation__locale' => 'string', 'Tags_name_translation.locale' => 'string', 'Tags_name_translation__model' => 'string', 'Tags_name_translation.model' => 'string', 'Tags_name_translation__foreign_key' => 'integer', 'Tags_name_translation.foreign_key' => 'integer', 'Tags_name_translation__field' => 'string', 'Tags_name_translation.field' => 'string', 'Tags_name_translation__content' => 'text', 'Tags_name_translation.content' => 'text', 'Tags_content_translation__id' => 'integer', 'Tags_content_translation.id' => 'integer', 'Tags_content_translation__locale' => 'string', 'Tags_content_translation.locale' => 'string', 'Tags_content_translation__model' => 'string', 'Tags_content_translation.model' => 'string', 'Tags_content_translation__foreign_key' => 'integer', 'Tags_content_translation.foreign_key' => 'integer', 'Tags_content_translation__field' => 'string', 'Tags_content_translation.field' => 'string', 'Tags_content_translation__content' => 'text', 'Tags_content_translation.content' => 'text' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Media' => [[maximum depth reached]], 'Thumb' => [[maximum depth reached]], 'Tags_name_translation' => [ [maximum depth reached] ], 'Tags_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\TagsTable) {} } $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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c12 AND Categories_content_translation.field = :c13 AND Categories_content_translation.locale = :c14 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c15 AND Categories_content2_translation.field = :c16 AND Categories_content2_translation.locale = :c17 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c18 AND Categories_slug_translation.field = :c19 AND Categories_slug_translation.locale = :c20 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ], ':c9' => [ [maximum depth reached] ], ':c10' => [ [maximum depth reached] ], ':c11' => [ [maximum depth reached] ], ':c12' => [ [maximum depth reached] ], ':c13' => [ [maximum depth reached] ], ':c14' => [ [maximum depth reached] ], ':c15' => [ [maximum depth reached] ], ':c16' => [ [maximum depth reached] ], ':c17' => [ [maximum depth reached] ], ':c18' => [ [maximum depth reached] ], ':c19' => [ [maximum depth reached] ], ':c20' => [ [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__portrait' => 'integer', 'Works.portrait' => 'integer', 'portrait' => 'integer', 'Works__accueil' => 'integer', 'Works.accueil' => 'integer', 'accueil' => 'integer', 'Works__fournisseur' => 'integer', 'Works.fournisseur' => 'integer', 'fournisseur' => 'integer', 'Works__optiontexte' => 'string', 'Works.optiontexte' => 'string', 'optiontexte' => 'string', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__name' => 'string', 'Categories.name' => 'string', 'Categories__content' => 'text', 'Categories.content' => 'text', 'Categories__online' => 'integer', 'Categories.online' => 'integer', 'Categories__media_id' => 'integer', 'Categories.media_id' => 'integer', 'Categories__slug' => 'string', 'Categories.slug' => 'string', 'Works_name_translation__id' => 'integer', 'Works_name_translation.id' => 'integer', 'Works_name_translation__locale' => 'string', 'Works_name_translation.locale' => 'string', 'Works_name_translation__model' => 'string', 'Works_name_translation.model' => 'string', 'Works_name_translation__foreign_key' => 'integer', 'Works_name_translation.foreign_key' => 'integer', 'Works_name_translation__field' => 'string', 'Works_name_translation.field' => 'string', 'Works_name_translation__content' => 'text', 'Works_name_translation.content' => 'text', 'Works_slug_translation__id' => 'integer', 'Works_slug_translation.id' => 'integer', 'Works_slug_translation__locale' => 'string', 'Works_slug_translation.locale' => 'string', 'Works_slug_translation__model' => 'string', 'Works_slug_translation.model' => 'string', 'Works_slug_translation__foreign_key' => 'integer', 'Works_slug_translation.foreign_key' => 'integer', 'Works_slug_translation__field' => 'string', 'Works_slug_translation.field' => 'string', 'Works_slug_translation__content' => 'text', 'Works_slug_translation.content' => 'text', 'Works_content_translation__id' => 'integer', 'Works_content_translation.id' => 'integer', 'Works_content_translation__locale' => 'string', 'Works_content_translation.locale' => 'string', 'Works_content_translation__model' => 'string', 'Works_content_translation.model' => 'string', 'Works_content_translation__foreign_key' => 'integer', 'Works_content_translation.foreign_key' => 'integer', 'Works_content_translation__field' => 'string', 'Works_content_translation.field' => 'string', 'Works_content_translation__content' => 'text', 'Works_content_translation.content' => 'text', 'Categories_name_translation__id' => 'integer', 'Categories_name_translation.id' => 'integer', 'Categories_name_translation__locale' => 'string', 'Categories_name_translation.locale' => 'string', 'Categories_name_translation__model' => 'string', 'Categories_name_translation.model' => 'string', 'Categories_name_translation__foreign_key' => 'integer', 'Categories_name_translation.foreign_key' => 'integer', 'Categories_name_translation__field' => 'string', 'Categories_name_translation.field' => 'string', 'Categories_name_translation__content' => 'text', 'Categories_name_translation.content' => 'text', 'Categories_content_translation__id' => 'integer', 'Categories_content_translation.id' => 'integer', 'Categories_content_translation__locale' => 'string', 'Categories_content_translation.locale' => 'string', 'Categories_content_translation__model' => 'string', 'Categories_content_translation.model' => 'string', 'Categories_content_translation__foreign_key' => 'integer', 'Categories_content_translation.foreign_key' => 'integer', 'Categories_content_translation__field' => 'string', 'Categories_content_translation.field' => 'string', 'Categories_content_translation__content' => 'text', 'Categories_content_translation.content' => 'text', 'Categories_content2_translation__id' => 'integer', 'Categories_content2_translation.id' => 'integer', 'Categories_content2_translation__locale' => 'string', 'Categories_content2_translation.locale' => 'string', 'Categories_content2_translation__model' => 'string', 'Categories_content2_translation.model' => 'string', 'Categories_content2_translation__foreign_key' => 'integer', 'Categories_content2_translation.foreign_key' => 'integer', 'Categories_content2_translation__field' => 'string', 'Categories_content2_translation.field' => 'string', 'Categories_content2_translation__content' => 'text', 'Categories_content2_translation.content' => 'text', 'Categories_slug_translation__id' => 'integer', 'Categories_slug_translation.id' => 'integer', 'Categories_slug_translation__locale' => 'string', 'Categories_slug_translation.locale' => 'string', 'Categories_slug_translation__model' => 'string', 'Categories_slug_translation.model' => 'string', 'Categories_slug_translation__foreign_key' => 'integer', 'Categories_slug_translation.foreign_key' => 'integer', 'Categories_slug_translation__field' => 'string', 'Categories_slug_translation.field' => 'string', 'Categories_slug_translation__content' => 'text', 'Categories_slug_translation.content' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 4, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Categories' => [ [maximum depth reached] ], 'Works_name_translation' => [ [maximum depth reached] ], 'Works_slug_translation' => [ [maximum depth reached] ], 'Works_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\WorksTable) {} } $work = object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Work) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [ '_translations' => true ], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Works' } $lang = 'fr' $v = object(App\Model\Entity\Tag) { 'id' => (int) 8, 'name' => null, 'slug' => '', 'produit_id' => (int) 1, 'work_id' => (int) 1, 'content' => null, 'online' => (int) 1, 'media_id' => (int) 108, 'position' => (int) 0, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Tag) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Tags' } $k = (int) 0
include - APP/Template/Works/show.ctp, line 108 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1196 Cake\View\View::_render() - CORE/src/View/View.php, line 1157 Cake\View\View::render() - CORE/src/View/View.php, line 765 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 623 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 108 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 104 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 98 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
<span>
<a href="<?= $v->thumb->lien ?>"target="_blank" class="button border-white color-white rounded"><?= $v->translation($lang)->name ?></a>
$viewFile = '/home/opure/lavennerie/src/Template/Works/show.ctp' $dataForView = [ '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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', '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(Media\Model\Table\MediasTable) {} }, 'tags' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\TagsTable) {} }, '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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories_name_translation.locale = :c12 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c13 AND Categories_content_translation.field = :c14 AND Categories_content_translation.locale = :c15 AND Categories_content_translation.locale = :c16 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c17 AND Categories_content2_translation.field = :c18 AND Categories_content2_translation.locale = :c19 AND Categories_content2_translation.locale = :c20 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c21 AND Categories_slug_translation.field = :c22 AND Categories_slug_translation.locale = :c23 AND Categories_slug_translation.locale = :c24 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 5, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\WorksTable) {} }, 'work' => object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [[maximum depth reached]], '_locale' => 'en_FR', '_translations' => [ [maximum depth reached] ], '[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]' => 'Works' }, 'lang' => 'fr' ] $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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [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__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Media\Model\Table\MediasTable) {} } $tags = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Tags__id' => 'integer', 'Tags.id' => 'integer', 'id' => 'integer', 'Tags__name' => 'string', 'Tags.name' => 'string', 'name' => 'string', 'Tags__slug' => 'string', 'Tags.slug' => 'string', 'slug' => 'string', 'Tags__produit_id' => 'integer', 'Tags.produit_id' => 'integer', 'produit_id' => 'integer', 'Tags__work_id' => 'integer', 'Tags.work_id' => 'integer', 'work_id' => 'integer', 'Tags__content' => 'text', 'Tags.content' => 'text', 'content' => 'text', 'Tags__online' => 'integer', 'Tags.online' => 'integer', 'online' => 'integer', 'Tags__media_id' => 'integer', 'Tags.media_id' => 'integer', 'media_id' => 'integer', 'Tags__position' => 'integer', 'Tags.position' => 'integer', 'position' => 'integer', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Media__id' => 'integer', 'Media.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', 'Media__name' => 'string', 'Media.name' => 'string', 'Media__active' => 'string', 'Media.active' => 'string', 'active' => 'string', 'Media__accueil' => 'string', 'Media.accueil' => 'string', 'accueil' => 'string', 'Media__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string', 'Thumb__id' => 'integer', 'Thumb.id' => 'integer', 'Thumb__ref' => 'string', 'Thumb.ref' => 'string', 'Thumb__ref_id' => 'integer', 'Thumb.ref_id' => 'integer', 'Thumb__file' => 'string', 'Thumb.file' => 'string', 'Thumb__position' => 'integer', 'Thumb.position' => 'integer', 'Thumb__name' => 'string', 'Thumb.name' => 'string', 'Thumb__active' => 'string', 'Thumb.active' => 'string', 'Thumb__accueil' => 'string', 'Thumb.accueil' => 'string', 'Thumb__portrait' => 'integer', 'Thumb.portrait' => 'integer', 'Thumb__content' => 'text', 'Thumb.content' => 'text', 'Thumb__lien' => 'string', 'Thumb.lien' => 'string', 'Thumb__large' => 'integer', 'Thumb.large' => 'integer', 'Thumb__background' => 'string', 'Thumb.background' => 'string', 'Tags_name_translation__id' => 'integer', 'Tags_name_translation.id' => 'integer', 'Tags_name_translation__locale' => 'string', 'Tags_name_translation.locale' => 'string', 'Tags_name_translation__model' => 'string', 'Tags_name_translation.model' => 'string', 'Tags_name_translation__foreign_key' => 'integer', 'Tags_name_translation.foreign_key' => 'integer', 'Tags_name_translation__field' => 'string', 'Tags_name_translation.field' => 'string', 'Tags_name_translation__content' => 'text', 'Tags_name_translation.content' => 'text', 'Tags_content_translation__id' => 'integer', 'Tags_content_translation.id' => 'integer', 'Tags_content_translation__locale' => 'string', 'Tags_content_translation.locale' => 'string', 'Tags_content_translation__model' => 'string', 'Tags_content_translation.model' => 'string', 'Tags_content_translation__foreign_key' => 'integer', 'Tags_content_translation.foreign_key' => 'integer', 'Tags_content_translation__field' => 'string', 'Tags_content_translation.field' => 'string', 'Tags_content_translation__content' => 'text', 'Tags_content_translation.content' => 'text' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Media' => [[maximum depth reached]], 'Thumb' => [[maximum depth reached]], 'Tags_name_translation' => [ [maximum depth reached] ], 'Tags_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\TagsTable) {} } $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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories_name_translation.locale = :c12 AND Categories_name_translation.locale = :c13 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c14 AND Categories_content_translation.field = :c15 AND Categories_content_translation.locale = :c16 AND Categories_content_translation.locale = :c17 AND Categories_content_translation.locale = :c18 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c19 AND Categories_content2_translation.field = :c20 AND Categories_content2_translation.locale = :c21 AND Categories_content2_translation.locale = :c22 AND Categories_content2_translation.locale = :c23 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c24 AND Categories_slug_translation.field = :c25 AND Categories_slug_translation.locale = :c26 AND Categories_slug_translation.locale = :c27 AND Categories_slug_translation.locale = :c28 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ], ':c9' => [ [maximum depth reached] ], ':c10' => [ [maximum depth reached] ], ':c11' => [ [maximum depth reached] ], ':c12' => [ [maximum depth reached] ], ':c13' => [ [maximum depth reached] ], ':c14' => [ [maximum depth reached] ], ':c15' => [ [maximum depth reached] ], ':c16' => [ [maximum depth reached] ], ':c17' => [ [maximum depth reached] ], ':c18' => [ [maximum depth reached] ], ':c19' => [ [maximum depth reached] ], ':c20' => [ [maximum depth reached] ], ':c21' => [ [maximum depth reached] ], ':c22' => [ [maximum depth reached] ], ':c23' => [ [maximum depth reached] ], ':c24' => [ [maximum depth reached] ], ':c25' => [ [maximum depth reached] ], ':c26' => [ [maximum depth reached] ], ':c27' => [ [maximum depth reached] ], ':c28' => [ [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__portrait' => 'integer', 'Works.portrait' => 'integer', 'portrait' => 'integer', 'Works__accueil' => 'integer', 'Works.accueil' => 'integer', 'accueil' => 'integer', 'Works__fournisseur' => 'integer', 'Works.fournisseur' => 'integer', 'fournisseur' => 'integer', 'Works__optiontexte' => 'string', 'Works.optiontexte' => 'string', 'optiontexte' => 'string', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__name' => 'string', 'Categories.name' => 'string', 'Categories__content' => 'text', 'Categories.content' => 'text', 'Categories__online' => 'integer', 'Categories.online' => 'integer', 'Categories__media_id' => 'integer', 'Categories.media_id' => 'integer', 'Categories__slug' => 'string', 'Categories.slug' => 'string', 'Works_name_translation__id' => 'integer', 'Works_name_translation.id' => 'integer', 'Works_name_translation__locale' => 'string', 'Works_name_translation.locale' => 'string', 'Works_name_translation__model' => 'string', 'Works_name_translation.model' => 'string', 'Works_name_translation__foreign_key' => 'integer', 'Works_name_translation.foreign_key' => 'integer', 'Works_name_translation__field' => 'string', 'Works_name_translation.field' => 'string', 'Works_name_translation__content' => 'text', 'Works_name_translation.content' => 'text', 'Works_slug_translation__id' => 'integer', 'Works_slug_translation.id' => 'integer', 'Works_slug_translation__locale' => 'string', 'Works_slug_translation.locale' => 'string', 'Works_slug_translation__model' => 'string', 'Works_slug_translation.model' => 'string', 'Works_slug_translation__foreign_key' => 'integer', 'Works_slug_translation.foreign_key' => 'integer', 'Works_slug_translation__field' => 'string', 'Works_slug_translation.field' => 'string', 'Works_slug_translation__content' => 'text', 'Works_slug_translation.content' => 'text', 'Works_content_translation__id' => 'integer', 'Works_content_translation.id' => 'integer', 'Works_content_translation__locale' => 'string', 'Works_content_translation.locale' => 'string', 'Works_content_translation__model' => 'string', 'Works_content_translation.model' => 'string', 'Works_content_translation__foreign_key' => 'integer', 'Works_content_translation.foreign_key' => 'integer', 'Works_content_translation__field' => 'string', 'Works_content_translation.field' => 'string', 'Works_content_translation__content' => 'text', 'Works_content_translation.content' => 'text', 'Categories_name_translation__id' => 'integer', 'Categories_name_translation.id' => 'integer', 'Categories_name_translation__locale' => 'string', 'Categories_name_translation.locale' => 'string', 'Categories_name_translation__model' => 'string', 'Categories_name_translation.model' => 'string', 'Categories_name_translation__foreign_key' => 'integer', 'Categories_name_translation.foreign_key' => 'integer', 'Categories_name_translation__field' => 'string', 'Categories_name_translation.field' => 'string', 'Categories_name_translation__content' => 'text', 'Categories_name_translation.content' => 'text', 'Categories_content_translation__id' => 'integer', 'Categories_content_translation.id' => 'integer', 'Categories_content_translation__locale' => 'string', 'Categories_content_translation.locale' => 'string', 'Categories_content_translation__model' => 'string', 'Categories_content_translation.model' => 'string', 'Categories_content_translation__foreign_key' => 'integer', 'Categories_content_translation.foreign_key' => 'integer', 'Categories_content_translation__field' => 'string', 'Categories_content_translation.field' => 'string', 'Categories_content_translation__content' => 'text', 'Categories_content_translation.content' => 'text', 'Categories_content2_translation__id' => 'integer', 'Categories_content2_translation.id' => 'integer', 'Categories_content2_translation__locale' => 'string', 'Categories_content2_translation.locale' => 'string', 'Categories_content2_translation__model' => 'string', 'Categories_content2_translation.model' => 'string', 'Categories_content2_translation__foreign_key' => 'integer', 'Categories_content2_translation.foreign_key' => 'integer', 'Categories_content2_translation__field' => 'string', 'Categories_content2_translation.field' => 'string', 'Categories_content2_translation__content' => 'text', 'Categories_content2_translation.content' => 'text', 'Categories_slug_translation__id' => 'integer', 'Categories_slug_translation.id' => 'integer', 'Categories_slug_translation__locale' => 'string', 'Categories_slug_translation.locale' => 'string', 'Categories_slug_translation__model' => 'string', 'Categories_slug_translation.model' => 'string', 'Categories_slug_translation__foreign_key' => 'integer', 'Categories_slug_translation.foreign_key' => 'integer', 'Categories_slug_translation__field' => 'string', 'Categories_slug_translation.field' => 'string', 'Categories_slug_translation__content' => 'text', 'Categories_slug_translation.content' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 6, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Categories' => [ [maximum depth reached] ], 'Works_name_translation' => [ [maximum depth reached] ], 'Works_slug_translation' => [ [maximum depth reached] ], 'Works_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\WorksTable) {} } $work = object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Work) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [ '_translations' => true ], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Works' } $lang = 'fr' $v = object(App\Model\Entity\Tag) { 'id' => (int) 8, 'name' => null, 'slug' => '', 'produit_id' => (int) 1, 'work_id' => (int) 1, 'content' => null, 'online' => (int) 1, 'media_id' => (int) 108, 'position' => (int) 0, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Tag) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [ '_translations' => true ], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Tags' } $k = (int) 0
include - APP/Template/Works/show.ctp, line 112 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1196 Cake\View\View::_render() - CORE/src/View/View.php, line 1157 Cake\View\View::render() - CORE/src/View/View.php, line 765 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 623 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 108 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 104 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 98 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
<span class="overlay-link">
<img src="<?= $v->thumb->file ?>" alt="<?= $v->translation($lang)->name ?>" />
<span class="overlay-info">
$viewFile = '/home/opure/lavennerie/src/Template/Works/show.ctp' $dataForView = [ '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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', '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(Media\Model\Table\MediasTable) {} }, 'tags' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\TagsTable) {} }, '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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories_name_translation.locale = :c12 AND Categories_name_translation.locale = :c13 AND Categories_name_translation.locale = :c14 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c15 AND Categories_content_translation.field = :c16 AND Categories_content_translation.locale = :c17 AND Categories_content_translation.locale = :c18 AND Categories_content_translation.locale = :c19 AND Categories_content_translation.locale = :c20 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c21 AND Categories_content2_translation.field = :c22 AND Categories_content2_translation.locale = :c23 AND Categories_content2_translation.locale = :c24 AND Categories_content2_translation.locale = :c25 AND Categories_content2_translation.locale = :c26 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c27 AND Categories_slug_translation.field = :c28 AND Categories_slug_translation.locale = :c29 AND Categories_slug_translation.locale = :c30 AND Categories_slug_translation.locale = :c31 AND Categories_slug_translation.locale = :c32 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 7, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\WorksTable) {} }, 'work' => object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [[maximum depth reached]], '_locale' => 'en_FR', '_translations' => [ [maximum depth reached] ], '[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]' => 'Works' }, 'lang' => 'fr' ] $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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [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__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Media\Model\Table\MediasTable) {} } $tags = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Tags__id' => 'integer', 'Tags.id' => 'integer', 'id' => 'integer', 'Tags__name' => 'string', 'Tags.name' => 'string', 'name' => 'string', 'Tags__slug' => 'string', 'Tags.slug' => 'string', 'slug' => 'string', 'Tags__produit_id' => 'integer', 'Tags.produit_id' => 'integer', 'produit_id' => 'integer', 'Tags__work_id' => 'integer', 'Tags.work_id' => 'integer', 'work_id' => 'integer', 'Tags__content' => 'text', 'Tags.content' => 'text', 'content' => 'text', 'Tags__online' => 'integer', 'Tags.online' => 'integer', 'online' => 'integer', 'Tags__media_id' => 'integer', 'Tags.media_id' => 'integer', 'media_id' => 'integer', 'Tags__position' => 'integer', 'Tags.position' => 'integer', 'position' => 'integer', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Media__id' => 'integer', 'Media.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', 'Media__name' => 'string', 'Media.name' => 'string', 'Media__active' => 'string', 'Media.active' => 'string', 'active' => 'string', 'Media__accueil' => 'string', 'Media.accueil' => 'string', 'accueil' => 'string', 'Media__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string', 'Thumb__id' => 'integer', 'Thumb.id' => 'integer', 'Thumb__ref' => 'string', 'Thumb.ref' => 'string', 'Thumb__ref_id' => 'integer', 'Thumb.ref_id' => 'integer', 'Thumb__file' => 'string', 'Thumb.file' => 'string', 'Thumb__position' => 'integer', 'Thumb.position' => 'integer', 'Thumb__name' => 'string', 'Thumb.name' => 'string', 'Thumb__active' => 'string', 'Thumb.active' => 'string', 'Thumb__accueil' => 'string', 'Thumb.accueil' => 'string', 'Thumb__portrait' => 'integer', 'Thumb.portrait' => 'integer', 'Thumb__content' => 'text', 'Thumb.content' => 'text', 'Thumb__lien' => 'string', 'Thumb.lien' => 'string', 'Thumb__large' => 'integer', 'Thumb.large' => 'integer', 'Thumb__background' => 'string', 'Thumb.background' => 'string', 'Tags_name_translation__id' => 'integer', 'Tags_name_translation.id' => 'integer', 'Tags_name_translation__locale' => 'string', 'Tags_name_translation.locale' => 'string', 'Tags_name_translation__model' => 'string', 'Tags_name_translation.model' => 'string', 'Tags_name_translation__foreign_key' => 'integer', 'Tags_name_translation.foreign_key' => 'integer', 'Tags_name_translation__field' => 'string', 'Tags_name_translation.field' => 'string', 'Tags_name_translation__content' => 'text', 'Tags_name_translation.content' => 'text', 'Tags_content_translation__id' => 'integer', 'Tags_content_translation.id' => 'integer', 'Tags_content_translation__locale' => 'string', 'Tags_content_translation.locale' => 'string', 'Tags_content_translation__model' => 'string', 'Tags_content_translation.model' => 'string', 'Tags_content_translation__foreign_key' => 'integer', 'Tags_content_translation.foreign_key' => 'integer', 'Tags_content_translation__field' => 'string', 'Tags_content_translation.field' => 'string', 'Tags_content_translation__content' => 'text', 'Tags_content_translation.content' => 'text' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Media' => [[maximum depth reached]], 'Thumb' => [[maximum depth reached]], 'Tags_name_translation' => [ [maximum depth reached] ], 'Tags_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\TagsTable) {} } $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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories_name_translation.locale = :c12 AND Categories_name_translation.locale = :c13 AND Categories_name_translation.locale = :c14 AND Categories_name_translation.locale = :c15 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c16 AND Categories_content_translation.field = :c17 AND Categories_content_translation.locale = :c18 AND Categories_content_translation.locale = :c19 AND Categories_content_translation.locale = :c20 AND Categories_content_translation.locale = :c21 AND Categories_content_translation.locale = :c22 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c23 AND Categories_content2_translation.field = :c24 AND Categories_content2_translation.locale = :c25 AND Categories_content2_translation.locale = :c26 AND Categories_content2_translation.locale = :c27 AND Categories_content2_translation.locale = :c28 AND Categories_content2_translation.locale = :c29 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c30 AND Categories_slug_translation.field = :c31 AND Categories_slug_translation.locale = :c32 AND Categories_slug_translation.locale = :c33 AND Categories_slug_translation.locale = :c34 AND Categories_slug_translation.locale = :c35 AND Categories_slug_translation.locale = :c36 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ], ':c9' => [ [maximum depth reached] ], ':c10' => [ [maximum depth reached] ], ':c11' => [ [maximum depth reached] ], ':c12' => [ [maximum depth reached] ], ':c13' => [ [maximum depth reached] ], ':c14' => [ [maximum depth reached] ], ':c15' => [ [maximum depth reached] ], ':c16' => [ [maximum depth reached] ], ':c17' => [ [maximum depth reached] ], ':c18' => [ [maximum depth reached] ], ':c19' => [ [maximum depth reached] ], ':c20' => [ [maximum depth reached] ], ':c21' => [ [maximum depth reached] ], ':c22' => [ [maximum depth reached] ], ':c23' => [ [maximum depth reached] ], ':c24' => [ [maximum depth reached] ], ':c25' => [ [maximum depth reached] ], ':c26' => [ [maximum depth reached] ], ':c27' => [ [maximum depth reached] ], ':c28' => [ [maximum depth reached] ], ':c29' => [ [maximum depth reached] ], ':c30' => [ [maximum depth reached] ], ':c31' => [ [maximum depth reached] ], ':c32' => [ [maximum depth reached] ], ':c33' => [ [maximum depth reached] ], ':c34' => [ [maximum depth reached] ], ':c35' => [ [maximum depth reached] ], ':c36' => [ [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__portrait' => 'integer', 'Works.portrait' => 'integer', 'portrait' => 'integer', 'Works__accueil' => 'integer', 'Works.accueil' => 'integer', 'accueil' => 'integer', 'Works__fournisseur' => 'integer', 'Works.fournisseur' => 'integer', 'fournisseur' => 'integer', 'Works__optiontexte' => 'string', 'Works.optiontexte' => 'string', 'optiontexte' => 'string', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__name' => 'string', 'Categories.name' => 'string', 'Categories__content' => 'text', 'Categories.content' => 'text', 'Categories__online' => 'integer', 'Categories.online' => 'integer', 'Categories__media_id' => 'integer', 'Categories.media_id' => 'integer', 'Categories__slug' => 'string', 'Categories.slug' => 'string', 'Works_name_translation__id' => 'integer', 'Works_name_translation.id' => 'integer', 'Works_name_translation__locale' => 'string', 'Works_name_translation.locale' => 'string', 'Works_name_translation__model' => 'string', 'Works_name_translation.model' => 'string', 'Works_name_translation__foreign_key' => 'integer', 'Works_name_translation.foreign_key' => 'integer', 'Works_name_translation__field' => 'string', 'Works_name_translation.field' => 'string', 'Works_name_translation__content' => 'text', 'Works_name_translation.content' => 'text', 'Works_slug_translation__id' => 'integer', 'Works_slug_translation.id' => 'integer', 'Works_slug_translation__locale' => 'string', 'Works_slug_translation.locale' => 'string', 'Works_slug_translation__model' => 'string', 'Works_slug_translation.model' => 'string', 'Works_slug_translation__foreign_key' => 'integer', 'Works_slug_translation.foreign_key' => 'integer', 'Works_slug_translation__field' => 'string', 'Works_slug_translation.field' => 'string', 'Works_slug_translation__content' => 'text', 'Works_slug_translation.content' => 'text', 'Works_content_translation__id' => 'integer', 'Works_content_translation.id' => 'integer', 'Works_content_translation__locale' => 'string', 'Works_content_translation.locale' => 'string', 'Works_content_translation__model' => 'string', 'Works_content_translation.model' => 'string', 'Works_content_translation__foreign_key' => 'integer', 'Works_content_translation.foreign_key' => 'integer', 'Works_content_translation__field' => 'string', 'Works_content_translation.field' => 'string', 'Works_content_translation__content' => 'text', 'Works_content_translation.content' => 'text', 'Categories_name_translation__id' => 'integer', 'Categories_name_translation.id' => 'integer', 'Categories_name_translation__locale' => 'string', 'Categories_name_translation.locale' => 'string', 'Categories_name_translation__model' => 'string', 'Categories_name_translation.model' => 'string', 'Categories_name_translation__foreign_key' => 'integer', 'Categories_name_translation.foreign_key' => 'integer', 'Categories_name_translation__field' => 'string', 'Categories_name_translation.field' => 'string', 'Categories_name_translation__content' => 'text', 'Categories_name_translation.content' => 'text', 'Categories_content_translation__id' => 'integer', 'Categories_content_translation.id' => 'integer', 'Categories_content_translation__locale' => 'string', 'Categories_content_translation.locale' => 'string', 'Categories_content_translation__model' => 'string', 'Categories_content_translation.model' => 'string', 'Categories_content_translation__foreign_key' => 'integer', 'Categories_content_translation.foreign_key' => 'integer', 'Categories_content_translation__field' => 'string', 'Categories_content_translation.field' => 'string', 'Categories_content_translation__content' => 'text', 'Categories_content_translation.content' => 'text', 'Categories_content2_translation__id' => 'integer', 'Categories_content2_translation.id' => 'integer', 'Categories_content2_translation__locale' => 'string', 'Categories_content2_translation.locale' => 'string', 'Categories_content2_translation__model' => 'string', 'Categories_content2_translation.model' => 'string', 'Categories_content2_translation__foreign_key' => 'integer', 'Categories_content2_translation.foreign_key' => 'integer', 'Categories_content2_translation__field' => 'string', 'Categories_content2_translation.field' => 'string', 'Categories_content2_translation__content' => 'text', 'Categories_content2_translation.content' => 'text', 'Categories_slug_translation__id' => 'integer', 'Categories_slug_translation.id' => 'integer', 'Categories_slug_translation__locale' => 'string', 'Categories_slug_translation.locale' => 'string', 'Categories_slug_translation__model' => 'string', 'Categories_slug_translation.model' => 'string', 'Categories_slug_translation__foreign_key' => 'integer', 'Categories_slug_translation.foreign_key' => 'integer', 'Categories_slug_translation__field' => 'string', 'Categories_slug_translation.field' => 'string', 'Categories_slug_translation__content' => 'text', 'Categories_slug_translation.content' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 8, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Categories' => [ [maximum depth reached] ], 'Works_name_translation' => [ [maximum depth reached] ], 'Works_slug_translation' => [ [maximum depth reached] ], 'Works_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\WorksTable) {} } $work = object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Work) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [ '_translations' => true ], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Works' } $lang = 'fr' $v = object(App\Model\Entity\Tag) { 'id' => (int) 9, 'name' => null, 'slug' => '', 'produit_id' => (int) 4, 'work_id' => (int) 1, 'content' => null, 'online' => (int) 1, 'media_id' => (int) 98, 'position' => (int) 0, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Tag) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Tags' } $k = (int) 1
include - APP/Template/Works/show.ctp, line 108 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1196 Cake\View\View::_render() - CORE/src/View/View.php, line 1157 Cake\View\View::render() - CORE/src/View/View.php, line 765 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 623 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 108 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 104 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 98 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
<span>
<a href="<?= $v->thumb->lien ?>"target="_blank" class="button border-white color-white rounded"><?= $v->translation($lang)->name ?></a>
$viewFile = '/home/opure/lavennerie/src/Template/Works/show.ctp' $dataForView = [ '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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', '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(Media\Model\Table\MediasTable) {} }, 'tags' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\TagsTable) {} }, '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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories_name_translation.locale = :c12 AND Categories_name_translation.locale = :c13 AND Categories_name_translation.locale = :c14 AND Categories_name_translation.locale = :c15 AND Categories_name_translation.locale = :c16 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c17 AND Categories_content_translation.field = :c18 AND Categories_content_translation.locale = :c19 AND Categories_content_translation.locale = :c20 AND Categories_content_translation.locale = :c21 AND Categories_content_translation.locale = :c22 AND Categories_content_translation.locale = :c23 AND Categories_content_translation.locale = :c24 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c25 AND Categories_content2_translation.field = :c26 AND Categories_content2_translation.locale = :c27 AND Categories_content2_translation.locale = :c28 AND Categories_content2_translation.locale = :c29 AND Categories_content2_translation.locale = :c30 AND Categories_content2_translation.locale = :c31 AND Categories_content2_translation.locale = :c32 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c33 AND Categories_slug_translation.field = :c34 AND Categories_slug_translation.locale = :c35 AND Categories_slug_translation.locale = :c36 AND Categories_slug_translation.locale = :c37 AND Categories_slug_translation.locale = :c38 AND Categories_slug_translation.locale = :c39 AND Categories_slug_translation.locale = :c40 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 9, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\WorksTable) {} }, 'work' => object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [[maximum depth reached]], '_locale' => 'en_FR', '_translations' => [ [maximum depth reached] ], '[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]' => 'Works' }, 'lang' => 'fr' ] $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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [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__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Media\Model\Table\MediasTable) {} } $tags = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Tags__id' => 'integer', 'Tags.id' => 'integer', 'id' => 'integer', 'Tags__name' => 'string', 'Tags.name' => 'string', 'name' => 'string', 'Tags__slug' => 'string', 'Tags.slug' => 'string', 'slug' => 'string', 'Tags__produit_id' => 'integer', 'Tags.produit_id' => 'integer', 'produit_id' => 'integer', 'Tags__work_id' => 'integer', 'Tags.work_id' => 'integer', 'work_id' => 'integer', 'Tags__content' => 'text', 'Tags.content' => 'text', 'content' => 'text', 'Tags__online' => 'integer', 'Tags.online' => 'integer', 'online' => 'integer', 'Tags__media_id' => 'integer', 'Tags.media_id' => 'integer', 'media_id' => 'integer', 'Tags__position' => 'integer', 'Tags.position' => 'integer', 'position' => 'integer', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Media__id' => 'integer', 'Media.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', 'Media__name' => 'string', 'Media.name' => 'string', 'Media__active' => 'string', 'Media.active' => 'string', 'active' => 'string', 'Media__accueil' => 'string', 'Media.accueil' => 'string', 'accueil' => 'string', 'Media__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string', 'Thumb__id' => 'integer', 'Thumb.id' => 'integer', 'Thumb__ref' => 'string', 'Thumb.ref' => 'string', 'Thumb__ref_id' => 'integer', 'Thumb.ref_id' => 'integer', 'Thumb__file' => 'string', 'Thumb.file' => 'string', 'Thumb__position' => 'integer', 'Thumb.position' => 'integer', 'Thumb__name' => 'string', 'Thumb.name' => 'string', 'Thumb__active' => 'string', 'Thumb.active' => 'string', 'Thumb__accueil' => 'string', 'Thumb.accueil' => 'string', 'Thumb__portrait' => 'integer', 'Thumb.portrait' => 'integer', 'Thumb__content' => 'text', 'Thumb.content' => 'text', 'Thumb__lien' => 'string', 'Thumb.lien' => 'string', 'Thumb__large' => 'integer', 'Thumb.large' => 'integer', 'Thumb__background' => 'string', 'Thumb.background' => 'string', 'Tags_name_translation__id' => 'integer', 'Tags_name_translation.id' => 'integer', 'Tags_name_translation__locale' => 'string', 'Tags_name_translation.locale' => 'string', 'Tags_name_translation__model' => 'string', 'Tags_name_translation.model' => 'string', 'Tags_name_translation__foreign_key' => 'integer', 'Tags_name_translation.foreign_key' => 'integer', 'Tags_name_translation__field' => 'string', 'Tags_name_translation.field' => 'string', 'Tags_name_translation__content' => 'text', 'Tags_name_translation.content' => 'text', 'Tags_content_translation__id' => 'integer', 'Tags_content_translation.id' => 'integer', 'Tags_content_translation__locale' => 'string', 'Tags_content_translation.locale' => 'string', 'Tags_content_translation__model' => 'string', 'Tags_content_translation.model' => 'string', 'Tags_content_translation__foreign_key' => 'integer', 'Tags_content_translation.foreign_key' => 'integer', 'Tags_content_translation__field' => 'string', 'Tags_content_translation.field' => 'string', 'Tags_content_translation__content' => 'text', 'Tags_content_translation.content' => 'text' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Media' => [[maximum depth reached]], 'Thumb' => [[maximum depth reached]], 'Tags_name_translation' => [ [maximum depth reached] ], 'Tags_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\TagsTable) {} } $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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories_name_translation.locale = :c12 AND Categories_name_translation.locale = :c13 AND Categories_name_translation.locale = :c14 AND Categories_name_translation.locale = :c15 AND Categories_name_translation.locale = :c16 AND Categories_name_translation.locale = :c17 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c18 AND Categories_content_translation.field = :c19 AND Categories_content_translation.locale = :c20 AND Categories_content_translation.locale = :c21 AND Categories_content_translation.locale = :c22 AND Categories_content_translation.locale = :c23 AND Categories_content_translation.locale = :c24 AND Categories_content_translation.locale = :c25 AND Categories_content_translation.locale = :c26 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c27 AND Categories_content2_translation.field = :c28 AND Categories_content2_translation.locale = :c29 AND Categories_content2_translation.locale = :c30 AND Categories_content2_translation.locale = :c31 AND Categories_content2_translation.locale = :c32 AND Categories_content2_translation.locale = :c33 AND Categories_content2_translation.locale = :c34 AND Categories_content2_translation.locale = :c35 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c36 AND Categories_slug_translation.field = :c37 AND Categories_slug_translation.locale = :c38 AND Categories_slug_translation.locale = :c39 AND Categories_slug_translation.locale = :c40 AND Categories_slug_translation.locale = :c41 AND Categories_slug_translation.locale = :c42 AND Categories_slug_translation.locale = :c43 AND Categories_slug_translation.locale = :c44 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ], ':c9' => [ [maximum depth reached] ], ':c10' => [ [maximum depth reached] ], ':c11' => [ [maximum depth reached] ], ':c12' => [ [maximum depth reached] ], ':c13' => [ [maximum depth reached] ], ':c14' => [ [maximum depth reached] ], ':c15' => [ [maximum depth reached] ], ':c16' => [ [maximum depth reached] ], ':c17' => [ [maximum depth reached] ], ':c18' => [ [maximum depth reached] ], ':c19' => [ [maximum depth reached] ], ':c20' => [ [maximum depth reached] ], ':c21' => [ [maximum depth reached] ], ':c22' => [ [maximum depth reached] ], ':c23' => [ [maximum depth reached] ], ':c24' => [ [maximum depth reached] ], ':c25' => [ [maximum depth reached] ], ':c26' => [ [maximum depth reached] ], ':c27' => [ [maximum depth reached] ], ':c28' => [ [maximum depth reached] ], ':c29' => [ [maximum depth reached] ], ':c30' => [ [maximum depth reached] ], ':c31' => [ [maximum depth reached] ], ':c32' => [ [maximum depth reached] ], ':c33' => [ [maximum depth reached] ], ':c34' => [ [maximum depth reached] ], ':c35' => [ [maximum depth reached] ], ':c36' => [ [maximum depth reached] ], ':c37' => [ [maximum depth reached] ], ':c38' => [ [maximum depth reached] ], ':c39' => [ [maximum depth reached] ], ':c40' => [ [maximum depth reached] ], ':c41' => [ [maximum depth reached] ], ':c42' => [ [maximum depth reached] ], ':c43' => [ [maximum depth reached] ], ':c44' => [ [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__portrait' => 'integer', 'Works.portrait' => 'integer', 'portrait' => 'integer', 'Works__accueil' => 'integer', 'Works.accueil' => 'integer', 'accueil' => 'integer', 'Works__fournisseur' => 'integer', 'Works.fournisseur' => 'integer', 'fournisseur' => 'integer', 'Works__optiontexte' => 'string', 'Works.optiontexte' => 'string', 'optiontexte' => 'string', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__name' => 'string', 'Categories.name' => 'string', 'Categories__content' => 'text', 'Categories.content' => 'text', 'Categories__online' => 'integer', 'Categories.online' => 'integer', 'Categories__media_id' => 'integer', 'Categories.media_id' => 'integer', 'Categories__slug' => 'string', 'Categories.slug' => 'string', 'Works_name_translation__id' => 'integer', 'Works_name_translation.id' => 'integer', 'Works_name_translation__locale' => 'string', 'Works_name_translation.locale' => 'string', 'Works_name_translation__model' => 'string', 'Works_name_translation.model' => 'string', 'Works_name_translation__foreign_key' => 'integer', 'Works_name_translation.foreign_key' => 'integer', 'Works_name_translation__field' => 'string', 'Works_name_translation.field' => 'string', 'Works_name_translation__content' => 'text', 'Works_name_translation.content' => 'text', 'Works_slug_translation__id' => 'integer', 'Works_slug_translation.id' => 'integer', 'Works_slug_translation__locale' => 'string', 'Works_slug_translation.locale' => 'string', 'Works_slug_translation__model' => 'string', 'Works_slug_translation.model' => 'string', 'Works_slug_translation__foreign_key' => 'integer', 'Works_slug_translation.foreign_key' => 'integer', 'Works_slug_translation__field' => 'string', 'Works_slug_translation.field' => 'string', 'Works_slug_translation__content' => 'text', 'Works_slug_translation.content' => 'text', 'Works_content_translation__id' => 'integer', 'Works_content_translation.id' => 'integer', 'Works_content_translation__locale' => 'string', 'Works_content_translation.locale' => 'string', 'Works_content_translation__model' => 'string', 'Works_content_translation.model' => 'string', 'Works_content_translation__foreign_key' => 'integer', 'Works_content_translation.foreign_key' => 'integer', 'Works_content_translation__field' => 'string', 'Works_content_translation.field' => 'string', 'Works_content_translation__content' => 'text', 'Works_content_translation.content' => 'text', 'Categories_name_translation__id' => 'integer', 'Categories_name_translation.id' => 'integer', 'Categories_name_translation__locale' => 'string', 'Categories_name_translation.locale' => 'string', 'Categories_name_translation__model' => 'string', 'Categories_name_translation.model' => 'string', 'Categories_name_translation__foreign_key' => 'integer', 'Categories_name_translation.foreign_key' => 'integer', 'Categories_name_translation__field' => 'string', 'Categories_name_translation.field' => 'string', 'Categories_name_translation__content' => 'text', 'Categories_name_translation.content' => 'text', 'Categories_content_translation__id' => 'integer', 'Categories_content_translation.id' => 'integer', 'Categories_content_translation__locale' => 'string', 'Categories_content_translation.locale' => 'string', 'Categories_content_translation__model' => 'string', 'Categories_content_translation.model' => 'string', 'Categories_content_translation__foreign_key' => 'integer', 'Categories_content_translation.foreign_key' => 'integer', 'Categories_content_translation__field' => 'string', 'Categories_content_translation.field' => 'string', 'Categories_content_translation__content' => 'text', 'Categories_content_translation.content' => 'text', 'Categories_content2_translation__id' => 'integer', 'Categories_content2_translation.id' => 'integer', 'Categories_content2_translation__locale' => 'string', 'Categories_content2_translation.locale' => 'string', 'Categories_content2_translation__model' => 'string', 'Categories_content2_translation.model' => 'string', 'Categories_content2_translation__foreign_key' => 'integer', 'Categories_content2_translation.foreign_key' => 'integer', 'Categories_content2_translation__field' => 'string', 'Categories_content2_translation.field' => 'string', 'Categories_content2_translation__content' => 'text', 'Categories_content2_translation.content' => 'text', 'Categories_slug_translation__id' => 'integer', 'Categories_slug_translation.id' => 'integer', 'Categories_slug_translation__locale' => 'string', 'Categories_slug_translation.locale' => 'string', 'Categories_slug_translation__model' => 'string', 'Categories_slug_translation.model' => 'string', 'Categories_slug_translation__foreign_key' => 'integer', 'Categories_slug_translation.foreign_key' => 'integer', 'Categories_slug_translation__field' => 'string', 'Categories_slug_translation.field' => 'string', 'Categories_slug_translation__content' => 'text', 'Categories_slug_translation.content' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 10, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Categories' => [ [maximum depth reached] ], 'Works_name_translation' => [ [maximum depth reached] ], 'Works_slug_translation' => [ [maximum depth reached] ], 'Works_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\WorksTable) {} } $work = object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Work) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [ '_translations' => true ], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Works' } $lang = 'fr' $v = object(App\Model\Entity\Tag) { 'id' => (int) 9, 'name' => null, 'slug' => '', 'produit_id' => (int) 4, 'work_id' => (int) 1, 'content' => null, 'online' => (int) 1, 'media_id' => (int) 98, 'position' => (int) 0, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Tag) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [ '_translations' => true ], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Tags' } $k = (int) 1
include - APP/Template/Works/show.ctp, line 112 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1196 Cake\View\View::_render() - CORE/src/View/View.php, line 1157 Cake\View\View::render() - CORE/src/View/View.php, line 765 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 623 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 108 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 104 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 98 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
<span class="overlay-link">
<img src="<?= $v->thumb->file ?>" alt="<?= $v->translation($lang)->name ?>" />
<span class="overlay-info">
$viewFile = '/home/opure/lavennerie/src/Template/Works/show.ctp' $dataForView = [ '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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', '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(Media\Model\Table\MediasTable) {} }, 'tags' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\TagsTable) {} }, '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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories_name_translation.locale = :c12 AND Categories_name_translation.locale = :c13 AND Categories_name_translation.locale = :c14 AND Categories_name_translation.locale = :c15 AND Categories_name_translation.locale = :c16 AND Categories_name_translation.locale = :c17 AND Categories_name_translation.locale = :c18 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c19 AND Categories_content_translation.field = :c20 AND Categories_content_translation.locale = :c21 AND Categories_content_translation.locale = :c22 AND Categories_content_translation.locale = :c23 AND Categories_content_translation.locale = :c24 AND Categories_content_translation.locale = :c25 AND Categories_content_translation.locale = :c26 AND Categories_content_translation.locale = :c27 AND Categories_content_translation.locale = :c28 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c29 AND Categories_content2_translation.field = :c30 AND Categories_content2_translation.locale = :c31 AND Categories_content2_translation.locale = :c32 AND Categories_content2_translation.locale = :c33 AND Categories_content2_translation.locale = :c34 AND Categories_content2_translation.locale = :c35 AND Categories_content2_translation.locale = :c36 AND Categories_content2_translation.locale = :c37 AND Categories_content2_translation.locale = :c38 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c39 AND Categories_slug_translation.field = :c40 AND Categories_slug_translation.locale = :c41 AND Categories_slug_translation.locale = :c42 AND Categories_slug_translation.locale = :c43 AND Categories_slug_translation.locale = :c44 AND Categories_slug_translation.locale = :c45 AND Categories_slug_translation.locale = :c46 AND Categories_slug_translation.locale = :c47 AND Categories_slug_translation.locale = :c48 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 11, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\WorksTable) {} }, 'work' => object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [[maximum depth reached]], '_locale' => 'en_FR', '_translations' => [ [maximum depth reached] ], '[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]' => 'Works' }, 'lang' => 'fr' ] $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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [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__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Media\Model\Table\MediasTable) {} } $tags = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Tags__id' => 'integer', 'Tags.id' => 'integer', 'id' => 'integer', 'Tags__name' => 'string', 'Tags.name' => 'string', 'name' => 'string', 'Tags__slug' => 'string', 'Tags.slug' => 'string', 'slug' => 'string', 'Tags__produit_id' => 'integer', 'Tags.produit_id' => 'integer', 'produit_id' => 'integer', 'Tags__work_id' => 'integer', 'Tags.work_id' => 'integer', 'work_id' => 'integer', 'Tags__content' => 'text', 'Tags.content' => 'text', 'content' => 'text', 'Tags__online' => 'integer', 'Tags.online' => 'integer', 'online' => 'integer', 'Tags__media_id' => 'integer', 'Tags.media_id' => 'integer', 'media_id' => 'integer', 'Tags__position' => 'integer', 'Tags.position' => 'integer', 'position' => 'integer', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Media__id' => 'integer', 'Media.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', 'Media__name' => 'string', 'Media.name' => 'string', 'Media__active' => 'string', 'Media.active' => 'string', 'active' => 'string', 'Media__accueil' => 'string', 'Media.accueil' => 'string', 'accueil' => 'string', 'Media__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string', 'Thumb__id' => 'integer', 'Thumb.id' => 'integer', 'Thumb__ref' => 'string', 'Thumb.ref' => 'string', 'Thumb__ref_id' => 'integer', 'Thumb.ref_id' => 'integer', 'Thumb__file' => 'string', 'Thumb.file' => 'string', 'Thumb__position' => 'integer', 'Thumb.position' => 'integer', 'Thumb__name' => 'string', 'Thumb.name' => 'string', 'Thumb__active' => 'string', 'Thumb.active' => 'string', 'Thumb__accueil' => 'string', 'Thumb.accueil' => 'string', 'Thumb__portrait' => 'integer', 'Thumb.portrait' => 'integer', 'Thumb__content' => 'text', 'Thumb.content' => 'text', 'Thumb__lien' => 'string', 'Thumb.lien' => 'string', 'Thumb__large' => 'integer', 'Thumb.large' => 'integer', 'Thumb__background' => 'string', 'Thumb.background' => 'string', 'Tags_name_translation__id' => 'integer', 'Tags_name_translation.id' => 'integer', 'Tags_name_translation__locale' => 'string', 'Tags_name_translation.locale' => 'string', 'Tags_name_translation__model' => 'string', 'Tags_name_translation.model' => 'string', 'Tags_name_translation__foreign_key' => 'integer', 'Tags_name_translation.foreign_key' => 'integer', 'Tags_name_translation__field' => 'string', 'Tags_name_translation.field' => 'string', 'Tags_name_translation__content' => 'text', 'Tags_name_translation.content' => 'text', 'Tags_content_translation__id' => 'integer', 'Tags_content_translation.id' => 'integer', 'Tags_content_translation__locale' => 'string', 'Tags_content_translation.locale' => 'string', 'Tags_content_translation__model' => 'string', 'Tags_content_translation.model' => 'string', 'Tags_content_translation__foreign_key' => 'integer', 'Tags_content_translation.foreign_key' => 'integer', 'Tags_content_translation__field' => 'string', 'Tags_content_translation.field' => 'string', 'Tags_content_translation__content' => 'text', 'Tags_content_translation.content' => 'text' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Media' => [[maximum depth reached]], 'Thumb' => [[maximum depth reached]], 'Tags_name_translation' => [ [maximum depth reached] ], 'Tags_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\TagsTable) {} } $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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories_name_translation.locale = :c12 AND Categories_name_translation.locale = :c13 AND Categories_name_translation.locale = :c14 AND Categories_name_translation.locale = :c15 AND Categories_name_translation.locale = :c16 AND Categories_name_translation.locale = :c17 AND Categories_name_translation.locale = :c18 AND Categories_name_translation.locale = :c19 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c20 AND Categories_content_translation.field = :c21 AND Categories_content_translation.locale = :c22 AND Categories_content_translation.locale = :c23 AND Categories_content_translation.locale = :c24 AND Categories_content_translation.locale = :c25 AND Categories_content_translation.locale = :c26 AND Categories_content_translation.locale = :c27 AND Categories_content_translation.locale = :c28 AND Categories_content_translation.locale = :c29 AND Categories_content_translation.locale = :c30 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c31 AND Categories_content2_translation.field = :c32 AND Categories_content2_translation.locale = :c33 AND Categories_content2_translation.locale = :c34 AND Categories_content2_translation.locale = :c35 AND Categories_content2_translation.locale = :c36 AND Categories_content2_translation.locale = :c37 AND Categories_content2_translation.locale = :c38 AND Categories_content2_translation.locale = :c39 AND Categories_content2_translation.locale = :c40 AND Categories_content2_translation.locale = :c41 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c42 AND Categories_slug_translation.field = :c43 AND Categories_slug_translation.locale = :c44 AND Categories_slug_translation.locale = :c45 AND Categories_slug_translation.locale = :c46 AND Categories_slug_translation.locale = :c47 AND Categories_slug_translation.locale = :c48 AND Categories_slug_translation.locale = :c49 AND Categories_slug_translation.locale = :c50 AND Categories_slug_translation.locale = :c51 AND Categories_slug_translation.locale = :c52 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ], ':c9' => [ [maximum depth reached] ], ':c10' => [ [maximum depth reached] ], ':c11' => [ [maximum depth reached] ], ':c12' => [ [maximum depth reached] ], ':c13' => [ [maximum depth reached] ], ':c14' => [ [maximum depth reached] ], ':c15' => [ [maximum depth reached] ], ':c16' => [ [maximum depth reached] ], ':c17' => [ [maximum depth reached] ], ':c18' => [ [maximum depth reached] ], ':c19' => [ [maximum depth reached] ], ':c20' => [ [maximum depth reached] ], ':c21' => [ [maximum depth reached] ], ':c22' => [ [maximum depth reached] ], ':c23' => [ [maximum depth reached] ], ':c24' => [ [maximum depth reached] ], ':c25' => [ [maximum depth reached] ], ':c26' => [ [maximum depth reached] ], ':c27' => [ [maximum depth reached] ], ':c28' => [ [maximum depth reached] ], ':c29' => [ [maximum depth reached] ], ':c30' => [ [maximum depth reached] ], ':c31' => [ [maximum depth reached] ], ':c32' => [ [maximum depth reached] ], ':c33' => [ [maximum depth reached] ], ':c34' => [ [maximum depth reached] ], ':c35' => [ [maximum depth reached] ], ':c36' => [ [maximum depth reached] ], ':c37' => [ [maximum depth reached] ], ':c38' => [ [maximum depth reached] ], ':c39' => [ [maximum depth reached] ], ':c40' => [ [maximum depth reached] ], ':c41' => [ [maximum depth reached] ], ':c42' => [ [maximum depth reached] ], ':c43' => [ [maximum depth reached] ], ':c44' => [ [maximum depth reached] ], ':c45' => [ [maximum depth reached] ], ':c46' => [ [maximum depth reached] ], ':c47' => [ [maximum depth reached] ], ':c48' => [ [maximum depth reached] ], ':c49' => [ [maximum depth reached] ], ':c50' => [ [maximum depth reached] ], ':c51' => [ [maximum depth reached] ], ':c52' => [ [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__portrait' => 'integer', 'Works.portrait' => 'integer', 'portrait' => 'integer', 'Works__accueil' => 'integer', 'Works.accueil' => 'integer', 'accueil' => 'integer', 'Works__fournisseur' => 'integer', 'Works.fournisseur' => 'integer', 'fournisseur' => 'integer', 'Works__optiontexte' => 'string', 'Works.optiontexte' => 'string', 'optiontexte' => 'string', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__name' => 'string', 'Categories.name' => 'string', 'Categories__content' => 'text', 'Categories.content' => 'text', 'Categories__online' => 'integer', 'Categories.online' => 'integer', 'Categories__media_id' => 'integer', 'Categories.media_id' => 'integer', 'Categories__slug' => 'string', 'Categories.slug' => 'string', 'Works_name_translation__id' => 'integer', 'Works_name_translation.id' => 'integer', 'Works_name_translation__locale' => 'string', 'Works_name_translation.locale' => 'string', 'Works_name_translation__model' => 'string', 'Works_name_translation.model' => 'string', 'Works_name_translation__foreign_key' => 'integer', 'Works_name_translation.foreign_key' => 'integer', 'Works_name_translation__field' => 'string', 'Works_name_translation.field' => 'string', 'Works_name_translation__content' => 'text', 'Works_name_translation.content' => 'text', 'Works_slug_translation__id' => 'integer', 'Works_slug_translation.id' => 'integer', 'Works_slug_translation__locale' => 'string', 'Works_slug_translation.locale' => 'string', 'Works_slug_translation__model' => 'string', 'Works_slug_translation.model' => 'string', 'Works_slug_translation__foreign_key' => 'integer', 'Works_slug_translation.foreign_key' => 'integer', 'Works_slug_translation__field' => 'string', 'Works_slug_translation.field' => 'string', 'Works_slug_translation__content' => 'text', 'Works_slug_translation.content' => 'text', 'Works_content_translation__id' => 'integer', 'Works_content_translation.id' => 'integer', 'Works_content_translation__locale' => 'string', 'Works_content_translation.locale' => 'string', 'Works_content_translation__model' => 'string', 'Works_content_translation.model' => 'string', 'Works_content_translation__foreign_key' => 'integer', 'Works_content_translation.foreign_key' => 'integer', 'Works_content_translation__field' => 'string', 'Works_content_translation.field' => 'string', 'Works_content_translation__content' => 'text', 'Works_content_translation.content' => 'text', 'Categories_name_translation__id' => 'integer', 'Categories_name_translation.id' => 'integer', 'Categories_name_translation__locale' => 'string', 'Categories_name_translation.locale' => 'string', 'Categories_name_translation__model' => 'string', 'Categories_name_translation.model' => 'string', 'Categories_name_translation__foreign_key' => 'integer', 'Categories_name_translation.foreign_key' => 'integer', 'Categories_name_translation__field' => 'string', 'Categories_name_translation.field' => 'string', 'Categories_name_translation__content' => 'text', 'Categories_name_translation.content' => 'text', 'Categories_content_translation__id' => 'integer', 'Categories_content_translation.id' => 'integer', 'Categories_content_translation__locale' => 'string', 'Categories_content_translation.locale' => 'string', 'Categories_content_translation__model' => 'string', 'Categories_content_translation.model' => 'string', 'Categories_content_translation__foreign_key' => 'integer', 'Categories_content_translation.foreign_key' => 'integer', 'Categories_content_translation__field' => 'string', 'Categories_content_translation.field' => 'string', 'Categories_content_translation__content' => 'text', 'Categories_content_translation.content' => 'text', 'Categories_content2_translation__id' => 'integer', 'Categories_content2_translation.id' => 'integer', 'Categories_content2_translation__locale' => 'string', 'Categories_content2_translation.locale' => 'string', 'Categories_content2_translation__model' => 'string', 'Categories_content2_translation.model' => 'string', 'Categories_content2_translation__foreign_key' => 'integer', 'Categories_content2_translation.foreign_key' => 'integer', 'Categories_content2_translation__field' => 'string', 'Categories_content2_translation.field' => 'string', 'Categories_content2_translation__content' => 'text', 'Categories_content2_translation.content' => 'text', 'Categories_slug_translation__id' => 'integer', 'Categories_slug_translation.id' => 'integer', 'Categories_slug_translation__locale' => 'string', 'Categories_slug_translation.locale' => 'string', 'Categories_slug_translation__model' => 'string', 'Categories_slug_translation.model' => 'string', 'Categories_slug_translation__foreign_key' => 'integer', 'Categories_slug_translation.foreign_key' => 'integer', 'Categories_slug_translation__field' => 'string', 'Categories_slug_translation.field' => 'string', 'Categories_slug_translation__content' => 'text', 'Categories_slug_translation.content' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 12, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Categories' => [ [maximum depth reached] ], 'Works_name_translation' => [ [maximum depth reached] ], 'Works_slug_translation' => [ [maximum depth reached] ], 'Works_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\WorksTable) {} } $work = object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Work) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [ '_translations' => true ], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Works' } $lang = 'fr' $v = object(App\Model\Entity\Tag) { 'id' => (int) 14, 'name' => null, 'slug' => '', 'produit_id' => (int) 8, 'work_id' => (int) 1, 'content' => null, 'online' => (int) 1, 'media_id' => (int) 128, 'position' => (int) 0, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Tag) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Tags' } $k = (int) 2
include - APP/Template/Works/show.ctp, line 108 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1196 Cake\View\View::_render() - CORE/src/View/View.php, line 1157 Cake\View\View::render() - CORE/src/View/View.php, line 765 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 623 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 108 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 104 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 98 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
<span>
<a href="<?= $v->thumb->lien ?>"target="_blank" class="button border-white color-white rounded"><?= $v->translation($lang)->name ?></a>
$viewFile = '/home/opure/lavennerie/src/Template/Works/show.ctp' $dataForView = [ '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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', '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(Media\Model\Table\MediasTable) {} }, 'tags' => object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\TagsTable) {} }, '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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories_name_translation.locale = :c12 AND Categories_name_translation.locale = :c13 AND Categories_name_translation.locale = :c14 AND Categories_name_translation.locale = :c15 AND Categories_name_translation.locale = :c16 AND Categories_name_translation.locale = :c17 AND Categories_name_translation.locale = :c18 AND Categories_name_translation.locale = :c19 AND Categories_name_translation.locale = :c20 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c21 AND Categories_content_translation.field = :c22 AND Categories_content_translation.locale = :c23 AND Categories_content_translation.locale = :c24 AND Categories_content_translation.locale = :c25 AND Categories_content_translation.locale = :c26 AND Categories_content_translation.locale = :c27 AND Categories_content_translation.locale = :c28 AND Categories_content_translation.locale = :c29 AND Categories_content_translation.locale = :c30 AND Categories_content_translation.locale = :c31 AND Categories_content_translation.locale = :c32 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c33 AND Categories_content2_translation.field = :c34 AND Categories_content2_translation.locale = :c35 AND Categories_content2_translation.locale = :c36 AND Categories_content2_translation.locale = :c37 AND Categories_content2_translation.locale = :c38 AND Categories_content2_translation.locale = :c39 AND Categories_content2_translation.locale = :c40 AND Categories_content2_translation.locale = :c41 AND Categories_content2_translation.locale = :c42 AND Categories_content2_translation.locale = :c43 AND Categories_content2_translation.locale = :c44 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c45 AND Categories_slug_translation.field = :c46 AND Categories_slug_translation.locale = :c47 AND Categories_slug_translation.locale = :c48 AND Categories_slug_translation.locale = :c49 AND Categories_slug_translation.locale = :c50 AND Categories_slug_translation.locale = :c51 AND Categories_slug_translation.locale = :c52 AND Categories_slug_translation.locale = :c53 AND Categories_slug_translation.locale = :c54 AND Categories_slug_translation.locale = :c55 AND Categories_slug_translation.locale = :c56 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ [maximum depth reached] ], 'defaultTypes' => [ [maximum depth reached] ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 13, 'mapReducers' => (int) 0, 'contain' => [ [maximum depth reached] ], 'matching' => [[maximum depth reached]], 'extraOptions' => [[maximum depth reached]], 'repository' => object(App\Model\Table\WorksTable) {} }, 'work' => object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [[maximum depth reached]], '_locale' => 'en_FR', '_translations' => [ [maximum depth reached] ], '[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]' => 'Works' }, 'lang' => 'fr' ] $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.portrait AS `Media__portrait`, Media.content AS `Media__content`, Media.lien AS `Media__lien`, Media.large AS `Media__large`, Media.background AS `Media__background` FROM medias Media WHERE (Media.ref_id = :c0 AND Media.ref = :c1 AND Media.active = :c2) ORDER BY position ASC', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [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__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Media\Model\Table\MediasTable) {} } $tags = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Tags.id AS `Tags__id`, Tags.name AS `Tags__name`, Tags.slug AS `Tags__slug`, Tags.produit_id AS `Tags__produit_id`, Tags.work_id AS `Tags__work_id`, Tags.content AS `Tags__content`, Tags.online AS `Tags__online`, Tags.media_id AS `Tags__media_id`, Tags.position AS `Tags__position`, 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.portrait AS `Thumb__portrait`, Thumb.content AS `Thumb__content`, Thumb.lien AS `Thumb__lien`, Thumb.large AS `Thumb__large`, Thumb.background AS `Thumb__background`, Tags_name_translation.id AS `Tags_name_translation__id`, Tags_name_translation.locale AS `Tags_name_translation__locale`, Tags_name_translation.model AS `Tags_name_translation__model`, Tags_name_translation.foreign_key AS `Tags_name_translation__foreign_key`, Tags_name_translation.field AS `Tags_name_translation__field`, Tags_name_translation.content AS `Tags_name_translation__content`, Tags_content_translation.id AS `Tags_content_translation__id`, Tags_content_translation.locale AS `Tags_content_translation__locale`, Tags_content_translation.model AS `Tags_content_translation__model`, Tags_content_translation.foreign_key AS `Tags_content_translation__foreign_key`, Tags_content_translation.field AS `Tags_content_translation__field`, Tags_content_translation.content AS `Tags_content_translation__content` FROM tags Tags LEFT JOIN medias Thumb ON Thumb.id = (Tags.media_id) LEFT JOIN i18n Tags_name_translation ON (Tags_name_translation.model = :c0 AND Tags_name_translation.field = :c1 AND Tags_name_translation.locale = :c2 AND Tags.id = (Tags_name_translation.foreign_key)) LEFT JOIN i18n Tags_content_translation ON (Tags_content_translation.model = :c3 AND Tags_content_translation.field = :c4 AND Tags_content_translation.locale = :c5 AND Tags.id = (Tags_content_translation.foreign_key)) WHERE (Tags.work_id = :c6 AND Tags.online = :c7)', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ] ], 'defaultTypes' => [ 'Tags__id' => 'integer', 'Tags.id' => 'integer', 'id' => 'integer', 'Tags__name' => 'string', 'Tags.name' => 'string', 'name' => 'string', 'Tags__slug' => 'string', 'Tags.slug' => 'string', 'slug' => 'string', 'Tags__produit_id' => 'integer', 'Tags.produit_id' => 'integer', 'produit_id' => 'integer', 'Tags__work_id' => 'integer', 'Tags.work_id' => 'integer', 'work_id' => 'integer', 'Tags__content' => 'text', 'Tags.content' => 'text', 'content' => 'text', 'Tags__online' => 'integer', 'Tags.online' => 'integer', 'online' => 'integer', 'Tags__media_id' => 'integer', 'Tags.media_id' => 'integer', 'media_id' => 'integer', 'Tags__position' => 'integer', 'Tags.position' => 'integer', 'position' => 'integer', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Media__id' => 'integer', 'Media.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', 'Media__name' => 'string', 'Media.name' => 'string', 'Media__active' => 'string', 'Media.active' => 'string', 'active' => 'string', 'Media__accueil' => 'string', 'Media.accueil' => 'string', 'accueil' => 'string', 'Media__portrait' => 'integer', 'Media.portrait' => 'integer', 'portrait' => 'integer', 'Media__content' => 'text', 'Media.content' => 'text', 'Media__lien' => 'string', 'Media.lien' => 'string', 'lien' => 'string', 'Media__large' => 'integer', 'Media.large' => 'integer', 'large' => 'integer', 'Media__background' => 'string', 'Media.background' => 'string', 'background' => 'string', 'Thumb__id' => 'integer', 'Thumb.id' => 'integer', 'Thumb__ref' => 'string', 'Thumb.ref' => 'string', 'Thumb__ref_id' => 'integer', 'Thumb.ref_id' => 'integer', 'Thumb__file' => 'string', 'Thumb.file' => 'string', 'Thumb__position' => 'integer', 'Thumb.position' => 'integer', 'Thumb__name' => 'string', 'Thumb.name' => 'string', 'Thumb__active' => 'string', 'Thumb.active' => 'string', 'Thumb__accueil' => 'string', 'Thumb.accueil' => 'string', 'Thumb__portrait' => 'integer', 'Thumb.portrait' => 'integer', 'Thumb__content' => 'text', 'Thumb.content' => 'text', 'Thumb__lien' => 'string', 'Thumb.lien' => 'string', 'Thumb__large' => 'integer', 'Thumb.large' => 'integer', 'Thumb__background' => 'string', 'Thumb.background' => 'string', 'Tags_name_translation__id' => 'integer', 'Tags_name_translation.id' => 'integer', 'Tags_name_translation__locale' => 'string', 'Tags_name_translation.locale' => 'string', 'Tags_name_translation__model' => 'string', 'Tags_name_translation.model' => 'string', 'Tags_name_translation__foreign_key' => 'integer', 'Tags_name_translation.foreign_key' => 'integer', 'Tags_name_translation__field' => 'string', 'Tags_name_translation.field' => 'string', 'Tags_name_translation__content' => 'text', 'Tags_name_translation.content' => 'text', 'Tags_content_translation__id' => 'integer', 'Tags_content_translation.id' => 'integer', 'Tags_content_translation__locale' => 'string', 'Tags_content_translation.locale' => 'string', 'Tags_content_translation__model' => 'string', 'Tags_content_translation.model' => 'string', 'Tags_content_translation__foreign_key' => 'integer', 'Tags_content_translation.foreign_key' => 'integer', 'Tags_content_translation__field' => 'string', 'Tags_content_translation.field' => 'string', 'Tags_content_translation__content' => 'text', 'Tags_content_translation.content' => 'text' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 2, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Media' => [[maximum depth reached]], 'Thumb' => [[maximum depth reached]], 'Tags_name_translation' => [ [maximum depth reached] ], 'Tags_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\TagsTable) {} } $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.portrait AS `Works__portrait`, Works.accueil AS `Works__accueil`, Works.fournisseur AS `Works__fournisseur`, Works.optiontexte AS `Works__optiontexte`, Categories.id AS `Categories__id`, Categories.name AS `Categories__name`, Categories.content AS `Categories__content`, Categories.online AS `Categories__online`, Categories.media_id AS `Categories__media_id`, Categories.slug AS `Categories__slug`, Works_name_translation.id AS `Works_name_translation__id`, Works_name_translation.locale AS `Works_name_translation__locale`, Works_name_translation.model AS `Works_name_translation__model`, Works_name_translation.foreign_key AS `Works_name_translation__foreign_key`, Works_name_translation.field AS `Works_name_translation__field`, Works_name_translation.content AS `Works_name_translation__content`, Works_slug_translation.id AS `Works_slug_translation__id`, Works_slug_translation.locale AS `Works_slug_translation__locale`, Works_slug_translation.model AS `Works_slug_translation__model`, Works_slug_translation.foreign_key AS `Works_slug_translation__foreign_key`, Works_slug_translation.field AS `Works_slug_translation__field`, Works_slug_translation.content AS `Works_slug_translation__content`, Works_content_translation.id AS `Works_content_translation__id`, Works_content_translation.locale AS `Works_content_translation__locale`, Works_content_translation.model AS `Works_content_translation__model`, Works_content_translation.foreign_key AS `Works_content_translation__foreign_key`, Works_content_translation.field AS `Works_content_translation__field`, Works_content_translation.content AS `Works_content_translation__content`, Categories_name_translation.id AS `Categories_name_translation__id`, Categories_name_translation.locale AS `Categories_name_translation__locale`, Categories_name_translation.model AS `Categories_name_translation__model`, Categories_name_translation.foreign_key AS `Categories_name_translation__foreign_key`, Categories_name_translation.field AS `Categories_name_translation__field`, Categories_name_translation.content AS `Categories_name_translation__content`, Categories_content_translation.id AS `Categories_content_translation__id`, Categories_content_translation.locale AS `Categories_content_translation__locale`, Categories_content_translation.model AS `Categories_content_translation__model`, Categories_content_translation.foreign_key AS `Categories_content_translation__foreign_key`, Categories_content_translation.field AS `Categories_content_translation__field`, Categories_content_translation.content AS `Categories_content_translation__content`, Categories_content2_translation.id AS `Categories_content2_translation__id`, Categories_content2_translation.locale AS `Categories_content2_translation__locale`, Categories_content2_translation.model AS `Categories_content2_translation__model`, Categories_content2_translation.foreign_key AS `Categories_content2_translation__foreign_key`, Categories_content2_translation.field AS `Categories_content2_translation__field`, Categories_content2_translation.content AS `Categories_content2_translation__content`, Categories_slug_translation.id AS `Categories_slug_translation__id`, Categories_slug_translation.locale AS `Categories_slug_translation__locale`, Categories_slug_translation.model AS `Categories_slug_translation__model`, Categories_slug_translation.foreign_key AS `Categories_slug_translation__foreign_key`, Categories_slug_translation.field AS `Categories_slug_translation__field`, Categories_slug_translation.content AS `Categories_slug_translation__content` FROM works Works LEFT JOIN categories Categories ON Categories.id = (Works.category_id) LEFT JOIN i18n Works_name_translation ON (Works_name_translation.model = :c0 AND Works_name_translation.field = :c1 AND Works_name_translation.locale = :c2 AND Works.id = (Works_name_translation.foreign_key)) LEFT JOIN i18n Works_slug_translation ON (Works_slug_translation.model = :c3 AND Works_slug_translation.field = :c4 AND Works_slug_translation.locale = :c5 AND Works.id = (Works_slug_translation.foreign_key)) LEFT JOIN i18n Works_content_translation ON (Works_content_translation.model = :c6 AND Works_content_translation.field = :c7 AND Works_content_translation.locale = :c8 AND Works.id = (Works_content_translation.foreign_key)) LEFT JOIN i18n Categories_name_translation ON (Categories_name_translation.model = :c9 AND Categories_name_translation.field = :c10 AND Categories_name_translation.locale = :c11 AND Categories_name_translation.locale = :c12 AND Categories_name_translation.locale = :c13 AND Categories_name_translation.locale = :c14 AND Categories_name_translation.locale = :c15 AND Categories_name_translation.locale = :c16 AND Categories_name_translation.locale = :c17 AND Categories_name_translation.locale = :c18 AND Categories_name_translation.locale = :c19 AND Categories_name_translation.locale = :c20 AND Categories_name_translation.locale = :c21 AND Categories.id = (Categories_name_translation.foreign_key)) LEFT JOIN i18n Categories_content_translation ON (Categories_content_translation.model = :c22 AND Categories_content_translation.field = :c23 AND Categories_content_translation.locale = :c24 AND Categories_content_translation.locale = :c25 AND Categories_content_translation.locale = :c26 AND Categories_content_translation.locale = :c27 AND Categories_content_translation.locale = :c28 AND Categories_content_translation.locale = :c29 AND Categories_content_translation.locale = :c30 AND Categories_content_translation.locale = :c31 AND Categories_content_translation.locale = :c32 AND Categories_content_translation.locale = :c33 AND Categories_content_translation.locale = :c34 AND Categories.id = (Categories_content_translation.foreign_key)) LEFT JOIN i18n Categories_content2_translation ON (Categories_content2_translation.model = :c35 AND Categories_content2_translation.field = :c36 AND Categories_content2_translation.locale = :c37 AND Categories_content2_translation.locale = :c38 AND Categories_content2_translation.locale = :c39 AND Categories_content2_translation.locale = :c40 AND Categories_content2_translation.locale = :c41 AND Categories_content2_translation.locale = :c42 AND Categories_content2_translation.locale = :c43 AND Categories_content2_translation.locale = :c44 AND Categories_content2_translation.locale = :c45 AND Categories_content2_translation.locale = :c46 AND Categories_content2_translation.locale = :c47 AND Categories.id = (Categories_content2_translation.foreign_key)) LEFT JOIN i18n Categories_slug_translation ON (Categories_slug_translation.model = :c48 AND Categories_slug_translation.field = :c49 AND Categories_slug_translation.locale = :c50 AND Categories_slug_translation.locale = :c51 AND Categories_slug_translation.locale = :c52 AND Categories_slug_translation.locale = :c53 AND Categories_slug_translation.locale = :c54 AND Categories_slug_translation.locale = :c55 AND Categories_slug_translation.locale = :c56 AND Categories_slug_translation.locale = :c57 AND Categories_slug_translation.locale = :c58 AND Categories_slug_translation.locale = :c59 AND Categories_slug_translation.locale = :c60 AND Categories.id = (Categories_slug_translation.foreign_key))', 'params' => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ], ':c9' => [ [maximum depth reached] ], ':c10' => [ [maximum depth reached] ], ':c11' => [ [maximum depth reached] ], ':c12' => [ [maximum depth reached] ], ':c13' => [ [maximum depth reached] ], ':c14' => [ [maximum depth reached] ], ':c15' => [ [maximum depth reached] ], ':c16' => [ [maximum depth reached] ], ':c17' => [ [maximum depth reached] ], ':c18' => [ [maximum depth reached] ], ':c19' => [ [maximum depth reached] ], ':c20' => [ [maximum depth reached] ], ':c21' => [ [maximum depth reached] ], ':c22' => [ [maximum depth reached] ], ':c23' => [ [maximum depth reached] ], ':c24' => [ [maximum depth reached] ], ':c25' => [ [maximum depth reached] ], ':c26' => [ [maximum depth reached] ], ':c27' => [ [maximum depth reached] ], ':c28' => [ [maximum depth reached] ], ':c29' => [ [maximum depth reached] ], ':c30' => [ [maximum depth reached] ], ':c31' => [ [maximum depth reached] ], ':c32' => [ [maximum depth reached] ], ':c33' => [ [maximum depth reached] ], ':c34' => [ [maximum depth reached] ], ':c35' => [ [maximum depth reached] ], ':c36' => [ [maximum depth reached] ], ':c37' => [ [maximum depth reached] ], ':c38' => [ [maximum depth reached] ], ':c39' => [ [maximum depth reached] ], ':c40' => [ [maximum depth reached] ], ':c41' => [ [maximum depth reached] ], ':c42' => [ [maximum depth reached] ], ':c43' => [ [maximum depth reached] ], ':c44' => [ [maximum depth reached] ], ':c45' => [ [maximum depth reached] ], ':c46' => [ [maximum depth reached] ], ':c47' => [ [maximum depth reached] ], ':c48' => [ [maximum depth reached] ], ':c49' => [ [maximum depth reached] ], ':c50' => [ [maximum depth reached] ], ':c51' => [ [maximum depth reached] ], ':c52' => [ [maximum depth reached] ], ':c53' => [ [maximum depth reached] ], ':c54' => [ [maximum depth reached] ], ':c55' => [ [maximum depth reached] ], ':c56' => [ [maximum depth reached] ], ':c57' => [ [maximum depth reached] ], ':c58' => [ [maximum depth reached] ], ':c59' => [ [maximum depth reached] ], ':c60' => [ [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__portrait' => 'integer', 'Works.portrait' => 'integer', 'portrait' => 'integer', 'Works__accueil' => 'integer', 'Works.accueil' => 'integer', 'accueil' => 'integer', 'Works__fournisseur' => 'integer', 'Works.fournisseur' => 'integer', 'fournisseur' => 'integer', 'Works__optiontexte' => 'string', 'Works.optiontexte' => 'string', 'optiontexte' => 'string', 'I18n__id' => 'integer', 'I18n.id' => 'integer', 'I18n__locale' => 'string', 'I18n.locale' => 'string', 'locale' => 'string', 'I18n__model' => 'string', 'I18n.model' => 'string', 'model' => 'string', 'I18n__foreign_key' => 'integer', 'I18n.foreign_key' => 'integer', 'foreign_key' => 'integer', 'I18n__field' => 'string', 'I18n.field' => 'string', 'field' => 'string', 'I18n__content' => 'text', 'I18n.content' => 'text', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__name' => 'string', 'Categories.name' => 'string', 'Categories__content' => 'text', 'Categories.content' => 'text', 'Categories__online' => 'integer', 'Categories.online' => 'integer', 'Categories__media_id' => 'integer', 'Categories.media_id' => 'integer', 'Categories__slug' => 'string', 'Categories.slug' => 'string', 'Works_name_translation__id' => 'integer', 'Works_name_translation.id' => 'integer', 'Works_name_translation__locale' => 'string', 'Works_name_translation.locale' => 'string', 'Works_name_translation__model' => 'string', 'Works_name_translation.model' => 'string', 'Works_name_translation__foreign_key' => 'integer', 'Works_name_translation.foreign_key' => 'integer', 'Works_name_translation__field' => 'string', 'Works_name_translation.field' => 'string', 'Works_name_translation__content' => 'text', 'Works_name_translation.content' => 'text', 'Works_slug_translation__id' => 'integer', 'Works_slug_translation.id' => 'integer', 'Works_slug_translation__locale' => 'string', 'Works_slug_translation.locale' => 'string', 'Works_slug_translation__model' => 'string', 'Works_slug_translation.model' => 'string', 'Works_slug_translation__foreign_key' => 'integer', 'Works_slug_translation.foreign_key' => 'integer', 'Works_slug_translation__field' => 'string', 'Works_slug_translation.field' => 'string', 'Works_slug_translation__content' => 'text', 'Works_slug_translation.content' => 'text', 'Works_content_translation__id' => 'integer', 'Works_content_translation.id' => 'integer', 'Works_content_translation__locale' => 'string', 'Works_content_translation.locale' => 'string', 'Works_content_translation__model' => 'string', 'Works_content_translation.model' => 'string', 'Works_content_translation__foreign_key' => 'integer', 'Works_content_translation.foreign_key' => 'integer', 'Works_content_translation__field' => 'string', 'Works_content_translation.field' => 'string', 'Works_content_translation__content' => 'text', 'Works_content_translation.content' => 'text', 'Categories_name_translation__id' => 'integer', 'Categories_name_translation.id' => 'integer', 'Categories_name_translation__locale' => 'string', 'Categories_name_translation.locale' => 'string', 'Categories_name_translation__model' => 'string', 'Categories_name_translation.model' => 'string', 'Categories_name_translation__foreign_key' => 'integer', 'Categories_name_translation.foreign_key' => 'integer', 'Categories_name_translation__field' => 'string', 'Categories_name_translation.field' => 'string', 'Categories_name_translation__content' => 'text', 'Categories_name_translation.content' => 'text', 'Categories_content_translation__id' => 'integer', 'Categories_content_translation.id' => 'integer', 'Categories_content_translation__locale' => 'string', 'Categories_content_translation.locale' => 'string', 'Categories_content_translation__model' => 'string', 'Categories_content_translation.model' => 'string', 'Categories_content_translation__foreign_key' => 'integer', 'Categories_content_translation.foreign_key' => 'integer', 'Categories_content_translation__field' => 'string', 'Categories_content_translation.field' => 'string', 'Categories_content_translation__content' => 'text', 'Categories_content_translation.content' => 'text', 'Categories_content2_translation__id' => 'integer', 'Categories_content2_translation.id' => 'integer', 'Categories_content2_translation__locale' => 'string', 'Categories_content2_translation.locale' => 'string', 'Categories_content2_translation__model' => 'string', 'Categories_content2_translation.model' => 'string', 'Categories_content2_translation__foreign_key' => 'integer', 'Categories_content2_translation.foreign_key' => 'integer', 'Categories_content2_translation__field' => 'string', 'Categories_content2_translation.field' => 'string', 'Categories_content2_translation__content' => 'text', 'Categories_content2_translation.content' => 'text', 'Categories_slug_translation__id' => 'integer', 'Categories_slug_translation.id' => 'integer', 'Categories_slug_translation__locale' => 'string', 'Categories_slug_translation.locale' => 'string', 'Categories_slug_translation__model' => 'string', 'Categories_slug_translation.model' => 'string', 'Categories_slug_translation__foreign_key' => 'integer', 'Categories_slug_translation.foreign_key' => 'integer', 'Categories_slug_translation__field' => 'string', 'Categories_slug_translation.field' => 'string', 'Categories_slug_translation__content' => 'text', 'Categories_slug_translation.content' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 14, 'mapReducers' => (int) 0, 'contain' => [ 'I18n' => [ [maximum depth reached] ], 'Categories' => [ [maximum depth reached] ], 'Works_name_translation' => [ [maximum depth reached] ], 'Works_slug_translation' => [ [maximum depth reached] ], 'Works_content_translation' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\WorksTable) {} } $work = object(App\Model\Entity\Work) { 'id' => (int) 1, 'name' => null, 'content' => null, 'online' => (int) 1, 'media_id' => null, 'category_id' => (int) 1, 'type' => 'work', 'slug' => '', 'meta' => '', 'keywords' => null, 'position' => (int) 0, 'portrait' => (int) 0, 'accueil' => (int) 1, 'fournisseur' => (int) 1, 'optiontexte' => 'partenaire', 'category' => object(App\Model\Entity\Category) {}, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Work) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [ '_translations' => true ], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Works' } $lang = 'fr' $v = object(App\Model\Entity\Tag) { 'id' => (int) 14, 'name' => null, 'slug' => '', 'produit_id' => (int) 8, 'work_id' => (int) 1, 'content' => null, 'online' => (int) 1, 'media_id' => (int) 128, 'position' => (int) 0, 'thumb' => null, 'media' => [], '_locale' => 'en_FR', '_translations' => [ 'fr' => object(App\Model\Entity\Tag) {} ], '[new]' => false, '[accessible]' => [ '*' => true ], '[dirty]' => [ '_translations' => true ], '[original]' => [], '[virtual]' => [], '[errors]' => [], '[invalid]' => [], '[repository]' => 'Tags' } $k = (int) 2
include - APP/Template/Works/show.ctp, line 112 Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1196 Cake\View\View::_render() - CORE/src/View/View.php, line 1157 Cake\View\View::render() - CORE/src/View/View.php, line 765 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 623 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 108 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 104 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 98 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