ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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)

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

References $dic.

Member Function Documentation

◆ execute()

ilTermsOfServiceAcceptanceStartUpStep::execute ( )

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 ( )

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

References ILIAS\Init\StartupSequence\StartUpSequenceStep\shouldInterceptRequest().

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  }
+ Here is the call graph for this function:

◆ shouldStoreRequestTarget()

ilTermsOfServiceAcceptanceStartUpStep::shouldStoreRequestTarget ( )

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: