Code Context $content = $this->Content->findById($contentDiag['IsEndDiagnostic']['go_content_id']);
$isEnd['Content'] = $content['Content'];
$id = '7637'
$locale = 'en'
$contentDiag = array(
'ContentDiagnostic' => array(
'id' => (int) 7637,
'product_id' => (int) 95,
'image_id' => (int) 33618,
'locale' => 'eng',
'title' => 'Tuta-Laboratoire',
'text' => ''
),
'IsEndDiagnostic' => array(
'id' => (int) 4472,
'content_diagnostic_id' => (int) 7637,
'go_content_id' => (int) 23164
),
'Children' => array()
)
$product = array(
'Product' => array(
'id' => (int) 95,
'subcategsproduct_id' => (int) 12,
'order' => (int) 0,
'poster_id' => (int) 41280,
'visible' => true,
'title' => 'Tomato',
'locale' => 'eng',
'text' => '<h3><span style="color: #008000;"><strong><a href="https://ephytia.inrae.fr/en/I/41422/Icone-Tomate2" rel="lightbox-products-text-95"><img class="thumb" src="https://ephytia.inrae.fr/en/I/41422/Icone-Tomate2" alt="" /></a></strong></span></h3>
<h3 style="text-align: center;"> <span style="font-size: xx-large;">TOMATO DISEASES AND PESTS </span></h3>
<p><em><span style="color: #008000;"><strong>Tips: * <span class="VIiyi" lang="en"><span class="JLqJ4b ChMk0b" data-language-for-alternatives="en" data-language-to-translate-into="fr" data-phrase-index="0">Translation of the French version with google translate tools</span></span></strong></span></em></p>
<p> </p>
<hr />
<p><em><span style="font-size: 8pt;">Pictures and information on some tomato diseases were provided by <strong>Gerald HOLMES </strong>- Strawberry Sustainability Research and Education Center (California), and <strong>Bruce WATT </strong>- University of Maine. </span></em></p>
<p><em><span style="font-size: 8pt;">Additional images and information on some tomato diseases has been provided by <strong>Gerald HOLMES </strong> - Strawberry Sustainability Research and Education Center (California) and by <strong>Bruce WATT </strong> -University ofMaine.</span></em></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> </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) 4472,
'content_diagnostic_id' => (int) 7637,
'go_content_id' => (int) 23164
),
'Content' => array(
'id' => (int) 23164,
'parent_id' => null,
'product_id' => (int) 95,
'order' => (int) 1,
'image_presentation_id' => (int) 33619,
'title' => 'Diagnostic de laboratoire',
'text' => '<h2 style="text-align: center;">Diagnostic de laboratoire</h2>
<p>Afin de compléter le diagnostic visuel, un diagnostic peut être réalisé par des laboratoires dont la liste est disponible dans la section 'Faire une analyse'. Il est nécessaire dans ce cas d'effectuer un prélèvement qui doit etre réalisé dans des conditions particulières afin d'établir un diagnostic correct. Le prélèvement sera conditionné par le diagnostic visuel. Il diffère suivant le bioagresseur ciblé.</p>
<p>. <strong>(la j'enlèverai le logo R-syst et je mettrai plutôt le logo smach/ lycovitis)</strong></p>
<p> </p>
<p> </p>
<p><a href="http://ephytia.inra.fr/fr/I/33875/ICONE-R-SYST" rel="lightbox-contents-text-23164"><img class="thumb" style="display: block; margin-left: auto; margin-right: auto;" src="http://ephytia.inra.fr/fr/I/33875/ICONE-R-SYST" alt="" width="92" height="118" /></a> </p>'
),
'ContentDiagnostic' => array(
'id' => (int) 7637,
'product_id' => (int) 95,
'image_id' => (int) 33618
)
)
$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