Code Context $content = $this->Content->findById($contentDiag['IsEndDiagnostic']['go_content_id']);
$isEnd['Content'] = $content['Content'];
$id = '1484'
$locale = 'en'
$contentDiag = array(
'ContentDiagnostic' => array(
'id' => (int) 1484,
'product_id' => (int) 104,
'image_id' => (int) 12553,
'locale' => 'eng',
'title' => 'Racine de Diagnostic par l'image-1-2-8-3',
'text' => ''
),
'IsEndDiagnostic' => array(
'id' => (int) 866,
'content_diagnostic_id' => (int) 1484,
'go_content_id' => (int) 7833
),
'Children' => array()
)
$product = array(
'Product' => array(
'id' => (int) 104,
'subcategsproduct_id' => (int) 12,
'order' => (int) 4,
'poster_id' => (int) 41282,
'visible' => true,
'title' => 'Melon',
'locale' => 'eng',
'text' => '<h1 style="text-align: center;"><span style="color: #ff6600;">DISEASES AND PESTS OF MELON</span></h1>
<p> </p>
<p><a href="http://ephytia.inra.fr/fr/I/41421/Icone-Melon2" rel="lightbox-products-text-104" data-toggle="modal" data-target="#custom-modal-lg" data-type="image" data-remote="false"><img class="thumb" src="http://ephytia.inra.fr/fr/I/41421/Icone-Melon2" alt="" /></a> </p>
<h3 style="text-align: center;"> </h3>
<h3 style="text-align: center;"><span style="color: #ff6600;"><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> </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) 866,
'content_diagnostic_id' => (int) 1484,
'go_content_id' => (int) 7833
),
'Content' => array(
'id' => (int) 7833,
'parent_id' => (int) 7706,
'product_id' => (int) 104,
'order' => (int) 3,
'image_presentation_id' => null,
'title' => null,
'text' => null
),
'ContentDiagnostic' => array(
'id' => (int) 1484,
'product_id' => (int) 104,
'image_id' => (int) 12553
)
)
$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