Code Context $content = $this->Content->findById($contentDiag['IsEndDiagnostic']['go_content_id']);
$isEnd['Content'] = $content['Content'];
$id = '1123'
$locale = 'en'
$contentDiag = array(
'ContentDiagnostic' => array(
'id' => (int) 1123,
'product_id' => (int) 96,
'image_id' => (int) 7515,
'locale' => 'eng',
'title' => 'Racine de Diagnostic par l'image-1-8-1-7',
'text' => ''
),
'IsEndDiagnostic' => array(
'id' => (int) 665,
'content_diagnostic_id' => (int) 1123,
'go_content_id' => (int) 5383
),
'Children' => array()
)
$product = array(
'Product' => array(
'id' => (int) 96,
'subcategsproduct_id' => (int) 12,
'order' => (int) 3,
'poster_id' => (int) 41281,
'visible' => true,
'title' => 'Salads',
'locale' => 'eng',
'text' => '<h2 style="text-align: center;"><span style="color: #008000;">Salads : DISEASES AND PESTS </span></h2>
<p style="text-align: center;"> </p>
<p><a href="http://ephytia.inra.fr/fr/Images/view/24752" rel="lightbox-products-text-96" data-toggle="modal" data-target="#custom-modal-lg" data-type="image" data-remote="false"><img style="display: block; margin-left: auto; margin-right: auto;" src="http://ephytia.inra.fr/fr/Images/view/24752" alt="" /></a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<h3 style="text-align: center;"><span style="color: #008000;"><em> You will find the available applications on stores.</em></span></h3>
<p style="text-align: center;"> </p>
<table style="margin-left: auto; margin-right: auto;" width="249">
<tbody>
<tr>
<td><a href="https://ephytia.inrae.fr/en/I/44134/icon-vegetable" rel="lightbox-products-text-95"><img class="thumb" src="https://ephytia.inrae.fr/en/IT/44134/icon-vegetable" alt="" /></a></td>
<td>
<p>See on <a href="https://play.google.com/store/apps/details?id=com.inra.legume">Google play</a></p>
<p>See on <a href="https://apps.apple.com/fr/app/l%C3%A9gume/id1569146757#?platform=ipad">App Store</a></p>
</td>
</tr>
</tbody>
</table>
<p style="text-align: center;"> </p>',
'SubCategsProduct' => array(
'id' => (int) 12,
'order' => (int) 0,
'categsproduct_id' => (int) 30,
'locale' => 'eng',
'title' => 'Vegetable crops',
'text' => '<p>These resources allow you, for each given culture, to have access to content that we want to be as exhaustive as possible in order to centralize the knowledge available on these. Each content is equipped with an image-assisted diagnostic aid tool to guide you in the best way possible to identify a problem. We continue to extend content to other cultures, either on our own resources or sometimes with partners. Under construction, the application of aubergine, Chilli & peppers, Carrot, etc ...</p>',
'CategsProduct' => array(
[maximum depth reached]
)
)
)
)
$isEnd = array(
'IsEndDiagnostic' => array(
'id' => (int) 665,
'content_diagnostic_id' => (int) 1123,
'go_content_id' => (int) 5383
),
'Content' => array(
'id' => (int) 5383,
'parent_id' => (int) 5368,
'product_id' => (int) 96,
'order' => (int) 3,
'image_presentation_id' => null,
'title' => 'Flétrissement : ayez le bon réflexe !',
'text' => '<h2 align="center">Flétrissement, dessèchement<br /> et nécrose des feuilles</h2>
<p> </p>
<table style="width: 90%;" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td style="text-align: center;"><strong>En présence de plantes peu développées ou qui flétrissent : </strong><br /><br /></td>
</tr>
<tr>
<td style="text-align: center;"><a style="text-decoration: none; color: white;" href="https://ephytia.inrae.fr/fr/Images/view/7520" rel="lightbox-contents-text-5383"><img src="https://ephytia.inrae.fr/fr/Images/viewThumb/7520" alt="" width="100" height="71" /></a><a style="text-decoration: none; color: white;" href="https://ephytia.inrae.fr/fr/Images/view/7520" rel="lightbox-contents-text-5383"> </a><a style="text-decoration: none; color: white;" href="https://ephytia.inrae.fr/fr/Images/view/7519" rel="lightbox-contents-text-5383"><img src="https://ephytia.inrae.fr/fr/Images/viewThumb/7519" alt="" width="92" height="100" /></a></td>
</tr>
<tr>
<td style="text-align: center;"><br /> <br /><strong>Ayez le bon réflexe !</strong></td>
</tr>
</tbody>
</table>
<div style="text-align: justify;"> <br /> </div>
<table style="width: 70%;" border="0" cellspacing="0" cellpadding="0" align="center">
<tbody>
<tr>
<td style="text-align: center;" colspan="3"> <br /><strong>Observez :<br /><br /></strong></td>
</tr>
<tr>
<td style="text-align: center;"> <a style="text-decoration: none; color: white;" href="https://ephytia.inrae.fr/fr/Images/view/7521" rel="lightbox-contents-text-5383"><img src="https://ephytia.inrae.fr/fr/Images/viewThumb/7521" alt="" width="79" height="100" /></a></td>
<td style="text-align: center;"> <a style="text-decoration: none; color: white;" href="https://ephytia.inrae.fr/fr/Images/view/7522" rel="lightbox-contents-text-5383"><img src="https://ephytia.inrae.fr/fr/Images/viewThumb/7522" alt="" width="100" height="71" /></a></td>
<td style="text-align: center;"> <a style="text-decoration: none; color: white;" href="https://ephytia.inrae.fr/fr/Images/view/7523" rel="lightbox-contents-text-5383"><img src="https://ephytia.inrae.fr/fr/Images/viewThumb/7523" alt="" width="100" height="71" /></a></td>
</tr>
<tr>
<td style="text-align: center;"><strong><a href="https://ephytia.inrae.fr/fr/Contents/view/5405"><br /></a></strong>le collet<br /><br /><br /></td>
<td style="text-align: center;"><br />les racines<br /><br /><br /></td>
<td style="text-align: center;">les vaisseaux<br /> et la moelle</td>
</tr>
</tbody>
</table>
<div style="text-align: justify;"><strong><br /> En présence de salades flétries, nous vous conseillons d'observer systématiquement ces organes ; si l'un d'entre eux est altéré, il convient de reprendre votre diagnostic et de le sélectionner parmi les premières images proposées.</strong></div>'
),
'ContentDiagnostic' => array(
'id' => (int) 1123,
'product_id' => (int) 96,
'image_id' => (int) 7515
)
)
$content = array()
ContentDiagnosticsController::view() - APP/Controller/ContentDiagnosticsController.php, line 121
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 108