ILIAS  release_8 Revision v8.24
ilTermsOfServiceAcceptanceStartUpStep Class Reference

Class ilTermsOfServiceAcceptanceStartUpStep. More...

+ Inheritance diagram for ilTermsOfServiceAcceptanceStartUpStep:
+ Collaboration diagram for ilTermsOfServiceAcceptanceStartUpStep:

Public Member Functions

 __construct (Container $dic)
 
 shouldStoreRequestTarget ()
 
 isInFulfillment ()
 
 execute ()
 
- Public Member Functions inherited from ILIAS\Init\StartupSequence\StartUpSequenceStep
 shouldStoreRequestTarget ()
 
 shouldInterceptRequest ()
 
 isInFulfillment ()
 
 execute ()
 

Private Attributes

Container $dic
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilTermsOfServiceAcceptanceStartUpStep::__construct ( Container  $dic)

Member Function Documentation

◆ execute()

ilTermsOfServiceAcceptanceStartUpStep::execute ( )
Returns
void

Reimplemented from ILIAS\Init\StartupSequence\StartUpSequenceStep.

Definition at line 80 of file class.ilTermsOfServiceAcceptanceStartUpStep.php.

80 : void
81 {
82 $this->dic->ctrl()->redirectToURL('ilias.php?baseClass=ilStartUpGUI&cmdClass=ilStartupGUI&cmd=getAcceptance');
83 }

◆ isInFulfillment()

ilTermsOfServiceAcceptanceStartUpStep::isInFulfillment ( )
Returns
bool

Reimplemented from ILIAS\Init\StartupSequence\StartUpSequenceStep.

Definition at line 42 of file class.ilTermsOfServiceAcceptanceStartUpStep.php.

42 : bool
43 {
44 return (
45 strtolower($this->dic->ctrl()->getCmdClass()) === strtolower(ilStartUpGUI::class) &&
46 (
47 strtolower($this->dic->ctrl()->getCmd()) === 'getacceptance' ||
48 strtolower($this->dic->ctrl()->getCmd()) === 'confirmacceptance' ||
49 strtolower($this->dic->ctrl()->getCmd()) === 'confirmwithdrawal'
50 )
51 );
52 }

◆ shouldStoreRequestTarget()

ilTermsOfServiceAcceptanceStartUpStep::shouldStoreRequestTarget ( )
Returns
bool

Reimplemented from ILIAS\Init\StartupSequence\StartUpSequenceStep.

Definition at line 37 of file class.ilTermsOfServiceAcceptanceStartUpStep.php.

37 : bool
38 {
39 return true;
40 }

Field Documentation

◆ $dic

Container ilTermsOfServiceAcceptanceStartUpStep::$dic
private

Definition at line 30 of file class.ilTermsOfServiceAcceptanceStartUpStep.php.

Referenced by __construct().


The documentation for this class was generated from the following file: