cerebrate/templates/element/genericElements/IndexTable/Fields/array_lookup_field.php

7 lines
193 B
PHP

<?php
if (!isset($arrayData) && isset($field['arrayData'])) {
$arrayData = $field['arrayData'];
}
echo h($arrayData[$this->Hash->extract($row, $field['data_path'])[0]]);
?>