1 <?php declare(strict_types=1);
39 strtolower($this->dic->ctrl()->getCmdClass()) ===
'ilstartupgui' &&
41 strtolower($this->dic->ctrl()->getCmd()) ===
'getacceptance' ||
42 strtolower($this->dic->ctrl()->getCmd()) ===
'confirmacceptance' ||
43 strtolower($this->dic->ctrl()->getCmd()) ===
'confirmwithdrawal' 57 if (!$this->dic->user()->hasToAcceptTermsOfServiceInSession()) {
61 if ($this->dic->user()->checkTimeLimit()) {
62 if ($this->dic->user()->hasToAcceptTermsOfService()) {
67 $tosService = $this->dic[
'tos.service'];
68 if ($tosService->hasToResignAcceptance($this->dic->user(), $this->dic->logger()->tos())) {
69 $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)
ilTermsOfServiceAcceptanceStartUpStep constructor.