if ($col == '#TCCOLUMN'){ $tableData[$key][$col] = $coreSrv->sendEvent('melis_tool_column_display_#TCCOLDISPLAY', ['data' => $data])['data']; }
info at phpclasses dot org