getOutput(); } else { $table = (new CPartial('dataoverview.table.left', $data))->getOutput(); } $output = [ 'name' => $data['name'], 'body' => $table ]; if (($messages = getMessages()) !== null) { $output['messages'] = $messages->toString(); } if ($data['user']['debug_mode'] == GROUP_DEBUG_MODE_ENABLED) { CProfiler::getInstance()->stop(); $output['debug'] = CProfiler::getInstance()->make()->toString(); } echo json_encode($output);