} } ?> </div> <div class="matrix-scrollable-window"> <div class="matrix-row matrix-scroll-row"> <?php $analyte_units = array(); if (!empty($task_lab_analytes)) { //At this point fetch the char limit we have for the matrix cells //$charLimit = $this->app->config->get('MaxCharInCell'); //Loop over the analytes foreach ($task_lab_analytes as $analyte) { //At this point separate the unit and the analyte name $splitted_analyte_name = \Applications\PMTool\Helpers\TaskAnalyteMatrixHelper::splitAnalyteNameOnUnit($analyte->lab_analyte_name()); $lab_analyte_name = $splitted_analyte_name[0]; //Store the unit into the array later use array_push($analyte_units, $splitted_analyte_name[1]); ?> <div class="matrix-cell matrix-cell-data"> <?php \Applications\PMTool\Helpers\CommonHelper::generateEllipsisAndTooltipMarkupFor($lab_analyte_name, $toolTips[Applications\PMTool\Resources\Enums\ViewVariables\Popup::ellipsis_tooltip_settings]['charlimit'], $toolTips[Applications\PMTool\Resources\Enums\ViewVariables\Popup::ellipsis_tooltip_settings]['placement']); ?> </div> <?php } } ?> </div> <div></div>