response->addScriptFiles(['normalization.js', 'vendor/jquery/jquery.uitablefilter.js']); $normalForm = '1nf'; $normalizeTo = $request->getParsedBodyParam('normalizeTo'); if (in_array($normalizeTo, ['1nf', '2nf', '3nf'], true)) { $normalForm = $normalizeTo; } $html = $this->normalization->getHtmlFor1NFStep1(Current::$database, Current::$table, $normalForm); $this->response->addHTML($html); return null; } }