3 declare(strict_types=1);
    39         $ilTabs = $DIC->tabs();
    41         $this->
lng->loadLanguageModule(
"scov");
    43         $ilTabs->setBackTarget(
    44             $this->
lng->txt(
"back"),
    45             $this->
ctrl->getLinkTarget($this, 
"cancel")
    49         $this->tpl->setContent($table->getHTML());
    57     public function save(): void
    61         $ilUser = $DIC->user();
    68                 $DIC->logger()->root(),
    74             $userCertificatePresentation = $userCertificateRepository->fetchActiveCertificateForPresentation(
    75                 (
int) $ilUser->getId(),
    80                 $newObj = $certificateVerificationFileService->
createFile($userCertificatePresentation);
    82                 $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
'error_creating_certificate_pdf'));
    89                 $this->node_id = null;
    94                 $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
"msg_failed"));
    97             $this->tpl->setOnScreenMessage(
'failure', $this->
lng->txt(
"select_one"));
   104         $file = $this->
object->getFilePath();
   110     public function render(
bool $a_return = 
false, 
string $a_url = 
''): string
   113         $ilUser = $DIC->user();
   114         $lng = $DIC->language();
   120             $wsp_id = 
$tree->lookupNodeId($this->
object->getId());
   122             $caption = 
$lng->
txt(
"wsp_type_scov") . 
' "' . $this->
object->getTitle() . 
'"';
   126             if (!file_exists($this->
object->getFilePath())) {
   128                 $message = 
$lng->
txt(
"url_not_found");
   133                     $message = 
$lng->
txt(
"permission_denied");
   141                 return '<div><a href="' . $a_url . 
'">' . $caption . 
'</a></div>';
   144             return '<div>' . $caption . 
' (' . $message . 
')</div>';
   159         $ilErr->raiseError($this->
lng->txt(
'permission_denied'), 
$ilErr->MESSAGE);
   162     public static function _goto(
string $a_target): void
   165         $id = explode(
"_", $a_target);
   167         $DIC->ctrl->setParameterByClass(
   168             "ilsharedresourceGUI",
   172         $DIC->ctrl->redirectByClass(ilSharedResourceGUI::class);
   177         if (isset($this->request->getQueryParams()[$key])) {
   178             return $this->request->getQueryParams()[$key];
   181         return $this->request->getParsedBody()[$key] ?? $default ?? null;
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getRequestValue(string $key, mixed $default=null)
 
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
 
New implementation of ilObjectGUI. 
 
static isInPortfolioPage(ilPortfolioPage $a_page, string $a_type, int $a_id)
 
downloadFromPortfolioPage(ilPortfolioPage $a_page)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
createFile(ilUserCertificatePresentation $userCertificatePresentation)
 
putObjectInTree(ilObject $obj, int $parent_node_id=null)
Add object to tree at given position. 
 
static _goto(string $a_target)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
static deliverFileLegacy(string $a_file, ?string $a_filename=null, ?string $a_mime=null, ?bool $isInline=false, ?bool $removeAfterDelivery=false, ?bool $a_exit_after=true)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
render(bool $a_return=false, string $a_url='')
 
afterSave(ilObject $new_object)
Post (successful) object creation hook. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...