Code Context //récupération de l'id de la réalisation coté comWeb pour la création du lien
$realisationsTable = TableRegistry::get('BaseSite.Realisations');
foreach ($avisClients['avisByMembre']['avis'] as $key => $avisClient) {
$page = [
'etablissement' => object(Cake\ORM\Entity) {
'id' => (int) 109,
'nom' => 'Choffeo',
'description' => 'Chauffagiste RGE QualiBois basé à Bouvigny-Boyeffles (62172), est spécialisé dans l’installation, l’entretien et le dépannage de chaudières bois : chaudières à granulés, chaudières bûches et chaudières à bois déchiqueté. Nous intervenons dans le Nord, le Pas-de-Calais, la Somme et l’Aisne pour tous vos besoins en chauffage au bois.',
'adresse' => '76 rue de Marqueffles',
'adresse2' => null,
'adresse3' => null,
'cp' => '62172',
'cp2' => null,
'cp3' => null,
'ville' => 'Bouvigny-Boyeffles',
'ville2' => null,
'ville3' => null,
'tel' => '03 74 47 47 40',
'tel2' => null,
'tel3' => null,
'fax' => '',
'mobile' => '',
'mobile2' => null,
'mail' => 'contact@choffeo.fr',
'logo' => 'website_logo_1593.png',
'lat' => (float) 50.414465,
'lat2' => null,
'lat3' => null,
'lng' => (float) 2.684105,
'lng2' => null,
'lng3' => null,
'siret' => '899227904 00013',
'capital_social' => '1000',
'tva' => 'FR40899227904',
'tarifs' => null,
'cgv' => null,
'formulaire_retractation' => null,
'mediateur_nom' => null,
'mediateur_url' => null,
'mediateur_adresse' => null,
'mediateur_mail' => null,
'facebook' => 'https://www.facebook.com/ChoffeoBois/',
'twitter' => '',
'youtube' => '',
'instagram' => '',
'linkedin' => null,
'membre_id' => (int) 110,
'membre' => object(Cake\ORM\Entity) {},
'dpt' => 'Pas de Calais (62)',
'dptUrl' => 'pas-de-calais-62',
'[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]' => 'BaseSite.Etablissements'
},
'metiers' => [
(int) 16 => object(Cake\ORM\Entity) {},
(int) 85 => object(Cake\ORM\Entity) {},
(int) 202 => object(Cake\ORM\Entity) {}
],
'partenaires' => [
(int) 0 => object(Cake\ORM\Entity) {},
(int) 1 => object(Cake\ORM\Entity) {}
],
'avis_etablissement' => [
'avis' => [
'avis' => (int) 0,
'moy_note_avis' => (int) 0
]
],
'meta' => [
'title' => '',
'description' => '',
'postTitle' => 'Choffeo',
'postDescription' => 'Situés à Bouvigny-Boyeffles (62172), nous intervenons dans les domaines suivants : Installation chaudière à granulés et bois, Entretien chaudière à granulés et bois, Dépannage chaudière à granulés et bois.',
'others' => null
],
'slider' => object(Cake\ORM\Entity) {
'id' => (int) 132,
'page_id' => (int) 208,
'images' => [
[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]' => 'BaseSite.Sliders'
},
'intro' => object(Cake\ORM\Entity) {
'id' => (int) 208,
'titre' => 'CHOFFEO - Chauffagiste RGE QualiBois : Installation, Dépannage et Entretien de Chaudières Bois dans le Nord, Pas-de-Calais, Somme et Aisne',
'content_old' => '<p><strong>CHOFFEO</strong>, chauffagiste RGE QualiBois spécialisé dans le <strong>chauffage bois</strong> (chaudière à granulés, chaudière bûche, chaudière bois déchiqueté...) pour l'installation, le dépannage et l'entretien de chaudière bois dans le <strong>Nord</strong>, le <strong>Pas-de-Calais</strong>, la <strong>Somme </strong>et l'<strong>Aisne</strong>.<br></p>',
'content' => '<p><strong>CHOFFEO</strong>, chauffagiste RGE QualiBois spécialisé dans le <strong>chauffage bois</strong> (chaudière à granulés, chaudière bûche, chaudière bois déchiqueté...) pour l'installation, le dépannage et l'entretien de chaudière bois dans le <strong>Nord</strong>, le <strong>Pas-de-Calais</strong>, la <strong>Somme </strong>et l'<strong>Aisne</strong>.<br></p>',
'page_id' => (int) 208,
'[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]' => 'BaseSite.Paragraphes'
},
'selection' => [
(int) 0 => object(Cake\ORM\Entity) {},
(int) 1 => object(Cake\ORM\Entity) {},
(int) 2 => object(Cake\ORM\Entity) {},
(int) 3 => object(Cake\ORM\Entity) {},
(int) 4 => object(Cake\ORM\Entity) {},
(int) 5 => object(Cake\ORM\Entity) {},
(int) 6 => object(Cake\ORM\Entity) {},
(int) 7 => object(Cake\ORM\Entity) {}
],
'certifications' => [
(int) 0 => object(Cake\ORM\Entity) {},
(int) 1 => object(Cake\ORM\Entity) {},
(int) 2 => object(Cake\ORM\Entity) {},
(int) 3 => object(Cake\ORM\Entity) {}
]
]
$slidersTable = object(BaseSite\Model\Table\SlidersTable) {
'registryAlias' => 'BaseSite.Sliders',
'table' => 'sliders',
'alias' => 'Sliders',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
(int) 0 => 'images',
(int) 1 => 'pages'
],
'behaviors' => [
(int) 0 => 'Webpage'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$paragraphesTable = object(BaseSite\Model\Table\ParagraphesTable) {
'registryAlias' => 'BaseSite.Paragraphes',
'table' => 'paragraphes',
'alias' => 'Paragraphes',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
(int) 0 => 'pages'
],
'behaviors' => [
(int) 0 => 'Webpage'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$realisationSelectionsTable = object(BaseSite\Model\Table\RealisationSelectionsTable) {
'registryAlias' => 'BaseSite.RealisationSelections',
'table' => 'realisation_selections',
'alias' => 'RealisationSelections',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
(int) 0 => 'pages',
(int) 1 => 'realisations'
],
'behaviors' => [
(int) 0 => 'Webpage'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$certificationsTable = object(BaseSite\Model\Table\CertificationsTable) {
'registryAlias' => 'BaseSite.Certifications',
'table' => 'certifications',
'alias' => 'Certifications',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
(int) 0 => 'etablissements',
(int) 1 => 'certificationsetablissements'
],
'behaviors' => [],
'defaultConnection' => 'default',
'connectionName' => 'default'
}
$membreId = (int) 1593
$cacheKey = 'last_avis_clients_1593'
$avisClients = null
$realisationsTable = object(BaseSite\Model\Table\RealisationsTable) {
'registryAlias' => 'BaseSite.Realisations',
'table' => 'realisations',
'alias' => 'Realisations',
'entityClass' => '\Cake\ORM\Entity',
'associations' => [
(int) 0 => 'membres',
(int) 1 => 'realisationselections',
(int) 2 => 'realisationphotos',
(int) 3 => 'metiers'
],
'behaviors' => [
(int) 0 => 'Webpage'
],
'defaultConnection' => 'default',
'connectionName' => 'default'
}Gb5V1\Controller\WebPagesController::home() - /home/resoproeco/www/core/plugins/Gb5V1/src/Controller/WebPagesController.php, line 75
App\Controller\PagesController::home() - APP/Controller/PagesController.php, line 32
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 429
Cake\Routing\Dispatcher::_invoke() - CORE/src/Routing/Dispatcher.php, line 114
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 87
[main] - ROOT/webroot/index.php, line 36