19 declare(strict_types=1);
175 $button = $this->
ui->factory()->button()->standard(
176 $this->
lng->txt(
'cancel_test'),
178 )->withUnavailableAction(
true)->withAdditionalOnLoadCode(
189 $button = $this->
ui->factory()->button()->standard(
190 $this->
lng->txt(
'question_summary_btn'),
192 )->withUnavailableAction(
true)->withAdditionalOnLoadCode(
204 if ($this->player_gui->getObject()->getMainSettings()->getFinishingSettings()->getShowAnswerOverview()
206 $target = $this->
ctrl->getLinkTargetByClass(
'ilTestSubmissionReviewGUI',
'show');
210 return $button->withUnavailableAction(
true)->withAdditionalOnLoadCode(
218 return $this->
ui->factory()->button()->primary($this->
lng->txt(
'finish_test'),
'');
221 return $this->
ui->factory()->button()->standard($this->
lng->txt(
'finish_test'),
'');
226 return static function (
string $id) use ($target):
string {
227 return "document.getElementById('{$id}').addEventListener('click', " 229 .
" il.TestPlayerQuestionEditControl.checkNavigation('{$target}', 'show', e);" 231 .
"document.getElementById('{$id}').removeAttribute('disabled');";
Output class for assessment test execution.