19 declare(strict_types=1);
45 strtolower($this->dic->ctrl()->getCmdClass()) === strtolower(ilStartUpGUI::class) &&
47 strtolower($this->dic->ctrl()->getCmd()) ===
'getacceptance' ||
48 strtolower($this->dic->ctrl()->getCmd()) ===
'confirmacceptance' ||
49 strtolower($this->dic->ctrl()->getCmd()) ===
'confirmwithdrawal' 60 if (!$this->dic->user()->hasToAcceptTermsOfServiceInSession()) {
64 if ($this->dic->user()->checkTimeLimit()) {
65 if ($this->dic->user()->hasToAcceptTermsOfService()) {
70 $tosService = $this->dic[
'tos.service'];
71 if ($tosService->hasToResignAcceptance($this->dic->user(), $this->dic->logger()->tos())) {
72 $tosService->resetAcceptance($this->dic->user());
82 $this->dic->ctrl()->redirectToURL(
'ilias.php?baseClass=ilStartUpGUI&cmdClass=ilStartupGUI&cmd=getAcceptance');
shouldStoreRequestTarget()
Customizing of pimple-DIC for ILIAS.
__construct(Container $dic)