19 declare(strict_types=1);
37 $this->
ctrl = $DIC->ctrl();
38 $this->
lng = $DIC->language();
39 $this->tpl = $DIC->ui()->mainTemplate();
50 abstract public function getTitle(): string;
75 $next_class = $this->
getCtrl()->getNextClass($this);
76 $cmd = $this->
getCtrl()->getCmd();
78 switch ($next_class) {
88 $confirm->setFormAction($this->
getCtrl()->getFormAction($this));
89 $confirm->setConfirm($a_btn_text, $a_cmd);
90 $confirm->setCancel($this->
lng->txt(
'cancel'),
'cancel');
91 $confirm->setHeaderText($a_text);
93 $this->tpl->setContent($confirm->getHTML());
98 $this->
getCtrl()->returnToParent($this);
Defines a system check task.
ilGlobalTemplateInterface $tpl
Abstract class for component tasks.
showSimpleConfirmation(string $a_text, string $a_btn_text, string $a_cmd)
__construct(?ilSCTask $task=null)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getActions()
array( 'txt' => $lng->txt('sysc_action_repair') 'command' => 'repairTask' );