3 declare(strict_types=0);
    35         string $a_parent_cmd = 
'',
    41         $database = $DIC->database();
    42         $logger = $DIC->logger()->root();
    44         if (null === $userCertificateRepository) {
    58         $this->
setRowTemplate(
'tpl.crs_verification_row.html', 
'Modules/Course');
    66         $certificateArray = $this->userCertificateRepository->fetchActiveCertificatesByTypeForPresentation(
    67             $this->dic->user()->getId(),
    72         foreach ($certificateArray as $certificate) {
    74                 'id' => $certificate->getUserCertificate()->getObjId(),
    75                 'title' => $certificate->getObjectTitle(),
    83     protected function fillRow(array $a_set): void
    87         $this->tpl->setVariable(
'TITLE', $a_set[
'title']);
    88         $this->tpl->setVariable(
    90             ($a_set[
'passed']) ? $this->
lng->txt(
'yes') : $this->
lng->txt(
'no')
    93         if ($a_set[
'passed']) {
    94             $this->
ctrl->setParameter($this->parent_obj, 
'crs_id', $a_set[
'id']);
    95             $action = $this->
ctrl->getLinkTarget($this->parent_obj, 
'save');
    96             $this->tpl->setVariable(
'URL_SELECT', $action);
    97             $this->tpl->setVariable(
'TXT_SELECT', $this->
lng->txt(
'select'));
 
setFormAction(string $a_form_action, bool $a_multipart=false)
 
List all completed course for current user. 
 
setDescription(string $a_val)
 
Customizing of pimple-DIC for ILIAS. 
 
ilUserCertificateRepository $userCertificateRepository
 
GUI class for course verification. 
 
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template. 
 
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
 
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)
 
__construct(ilObjCourseVerificationGUI $a_parent_obj, string $a_parent_cmd='', ilUserCertificateRepository $userCertificateRepository=null)