ILIAS  release_7 Revision v7.30-3-g800a261c036
ilTermsOfServiceAcceptanceStartUpStep Class Reference

Class ilTermsOfServiceAcceptanceStartUpStep. More...

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

Public Member Functions

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

Private Attributes

 $dic
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilTermsOfServiceAcceptanceStartUpStep::__construct ( Container  $dic)

ilTermsOfServiceAcceptanceStartUpStep constructor.

Parameters
Container$dic

Definition at line 20 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 36 of file class.ilTermsOfServiceAcceptanceStartUpStep.php.

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

36  : bool
37  {
38  return (
39  strtolower($this->dic->ctrl()->getCmdClass()) === 'ilstartupgui' &&
40  (
41  strtolower($this->dic->ctrl()->getCmd()) === 'getacceptance' ||
42  strtolower($this->dic->ctrl()->getCmd()) === 'confirmacceptance' ||
43  strtolower($this->dic->ctrl()->getCmd()) === 'confirmwithdrawal'
44  )
45  );
46  }
+ Here is the call graph for this function:

◆ shouldStoreRequestTarget()

ilTermsOfServiceAcceptanceStartUpStep::shouldStoreRequestTarget ( )

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

28  : bool
29  {
30  return true;
31  }

Field Documentation

◆ $dic

ilTermsOfServiceAcceptanceStartUpStep::$dic
private

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

Referenced by __construct().


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