19 declare(strict_types=1);
    51         $this->
setRowTemplate(
'tpl.il_test_verification_row.html', 
'components/ILIAS/Test');
    59         $userId = $this->
user->getId();
    61         $certificateArray = $this->userCertificateRepository->fetchActiveCertificatesByTypeForPresentation(
    67         foreach ($certificateArray as $certificate) {
    69                 'id' => $certificate->getUserCertificate()->getObjId(),
    70                 'title' => $certificate->getObjectTitle(),
    78     protected function fillRow(array $a_set): void
    80         $this->tpl->setVariable(
'TITLE', $a_set[
'title']);
    81         $this->tpl->setVariable(
    83             ($a_set[
'passed']) ? $this->
lng->txt(
'yes') : $this->
lng->txt(
'no')
    86         if ($a_set[
'passed']) {
    87             $this->
ctrl->setParameter($this->parent_obj, 
'tst_id', $a_set[
'id']);
    88             $action = $this->
ctrl->getLinkTarget($this->parent_obj, 
'save');
    89             $this->tpl->setVariable(
'URL_SELECT', $action);
    90             $this->tpl->setVariable(
'TXT_SELECT', $this->
lng->txt(
'select'));
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
setDescription(string $a_val)
 
ilUserCertificateRepository $userCertificateRepository
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
__construct(ilObjTestVerificationGUI $parent_obj, string $parent_cmd, private ilDBInterface $db, private ilObjUser $user, private TestLogger $logger)
 
GUI class for test verification. 
 
__construct(Container $dic, ilPlugin $plugin)
 
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
 
List all completed tests for current user. 
 
ilUserCertificateRepository $user_certificate_repository