19 declare(strict_types=1);
162 $button = $this->
ui->factory()->button()->standard(
163 $this->
lng->txt(
'cancel_test'),
175 $button = $this->
ui->factory()->button()->standard(
176 $this->
lng->txt(
'question_summary_btn'),
189 if ($this->player_gui->getObject()->getMainSettings()->getFinishingSettings()->getShowAnswerOverview()
191 $target = $this->
ctrl->getLinkTargetByClass(
'ilTestSubmissionReviewGUI',
'show');
195 return $button->withAdditionalOnLoadCode(
203 return $this->
ui->factory()->button()->primary($this->
lng->txt(
'finish_test'),
'');
206 return $this->
ui->factory()->button()->standard($this->
lng->txt(
'finish_test'),
'');
211 return static function (
string $id) use ($target):
string {
212 return "document.getElementById('$id').addEventListener('click', " 214 .
" il.TestPlayerQuestionEditControl.checkNavigation('{$target}', 'show', e);"
withAdditionalOnLoadCode(Closure $binder)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
__construct(Container $dic, ilPlugin $plugin)