46 $lng = $DIC->language();
49 $lng->loadLanguageModule(
'cert');
68 $ui_factory = $this->ui->factory();
69 $ui_renderer = $this->ui->renderer();
72 $ui_factory->button()->standard($this->lng->txt(
"certificate_migration_go"), $link),
75 if ($this->migrationHelper->isTaskFailed()) {
76 $messageBox = $ui_factory->messageBox()
77 ->failure($this->lng->txt(
'certificate_migration_lastrun_failed'))
78 ->withButtons($message_buttons);
80 $messageBox = $ui_factory->messageBox()
81 ->confirmation($this->lng->txt(
'certificate_migration_confirm_start'))
82 ->withButtons($message_buttons);
85 return $ui_renderer->render($messageBox);
Class ilCertificateMigrationUIElements.
__construct(\ilObjUser $user=null, \ILIAS\DI\UIServices $ui=null, \ilLanguage $lng=null, \ilCertificateMigration $migrationHelper=null)
ilCertificateMigrationUIElements constructor.
Class ilCertificateMigration.
getMigrationMessageBox(string $link)
Get confirmation messagebox for manual migration start.