13 lines
700 B
PHP
13 lines
700 B
PHP
<?php $texts = [] ?>
|
|
<?php foreach ($serverPartCellDatas['types'] as $type): ?>
|
|
<?php $texts[$type] = []; ?>
|
|
<?php foreach ($serverPartCellDatas['entities'][$type] as $entities): ?>
|
|
<?php foreach ($entities as $entity): ?>
|
|
<?php $serverPartCellDatas['entity'] = $entity ?>
|
|
<?php $texts[$type][] = $serverPartCellDatas['helper']->getFieldView($type, $entity->getPK(), $serverPartCellDatas, ['return' => 'onlyText']) ?>
|
|
<?php endforeach ?>
|
|
<?php endforeach ?>
|
|
<?php endforeach ?>
|
|
<?php $view_texts = [] ?>
|
|
<?php foreach ($texts as $type => $datas): ?><?php $view_texts[] = implode(',', $datas) ?><?php endforeach ?>
|
|
<?= implode(" / ", $view_texts) ?>
|