dbmsv4/app/Views/cells/serverpart/servicelist.php
2025-11-26 09:40:20 +09:00

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) ?>