ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilLearningSequenceActivation Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilLearningSequenceActivation:

Public Member Functions

 __construct (int $ref_id, bool $online=false, bool $effective_online=false, \DateTime $activation_start=null, \DateTime $activation_end=null)
 
 getRefId ()
 
 getIsOnline ()
 
 withIsOnline (bool $online)
 
 getEffectiveOnlineStatus ()
 
 getActivationStart ()
 
 withActivationStart (\DateTime $activation_start=null)
 
 getActivationEnd ()
 
 withActivationEnd (\DateTime $activation_end=null)
 

Protected Attributes

int $ref_id
 
bool $online
 
bool $effective_online
 
DateTime $activation_start
 
DateTime $activation_end
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Activation-Settings for an LSO

Definition at line 24 of file class.ilLearningSequenceActivation.php.

Constructor & Destructor Documentation

◆ __construct()

ilLearningSequenceActivation::__construct ( int  $ref_id,
bool  $online = false,
bool  $effective_online = false,
\DateTime  $activation_start = null,
\DateTime  $activation_end = null 
)

Member Function Documentation

◆ getActivationEnd()

ilLearningSequenceActivation::getActivationEnd ( )

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

References $activation_end.

Referenced by ilLearningSequenceActivationDB\insert(), and ilLearningSequenceActivationDB\store().

80  : ?\DateTime
81  {
82  return $this->activation_end;
83  }
+ Here is the caller graph for this function:

◆ getActivationStart()

ilLearningSequenceActivation::getActivationStart ( )

Definition at line 68 of file class.ilLearningSequenceActivation.php.

References $activation_start.

Referenced by ilLearningSequenceActivationDB\insert(), and ilLearningSequenceActivationDB\store().

68  : ?\DateTime
69  {
71  }
+ Here is the caller graph for this function:

◆ getEffectiveOnlineStatus()

ilLearningSequenceActivation::getEffectiveOnlineStatus ( )

Definition at line 63 of file class.ilLearningSequenceActivation.php.

References $effective_online.

Referenced by ilLearningSequenceActivationDB\insert().

63  : bool
64  {
66  }
+ Here is the caller graph for this function:

◆ getIsOnline()

ilLearningSequenceActivation::getIsOnline ( )

Definition at line 51 of file class.ilLearningSequenceActivation.php.

References $online.

Referenced by ilLearningSequenceActivationDB\insert(), and ilLearningSequenceActivationDB\store().

51  : bool
52  {
53  return $this->online;
54  }
+ Here is the caller graph for this function:

◆ getRefId()

ilLearningSequenceActivation::getRefId ( )

Definition at line 46 of file class.ilLearningSequenceActivation.php.

References $ref_id.

Referenced by ilLearningSequenceActivationDB\insert(), and ilLearningSequenceActivationDB\store().

46  : int
47  {
48  return $this->ref_id;
49  }
+ Here is the caller graph for this function:

◆ withActivationEnd()

ilLearningSequenceActivation::withActivationEnd ( \DateTime  $activation_end = null)

Definition at line 85 of file class.ilLearningSequenceActivation.php.

References $activation_end.

86  {
87  $clone = clone $this;
88  $clone->activation_end = $activation_end;
89  return $clone;
90  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ withActivationStart()

ilLearningSequenceActivation::withActivationStart ( \DateTime  $activation_start = null)

Definition at line 73 of file class.ilLearningSequenceActivation.php.

References $activation_start.

74  {
75  $clone = clone $this;
76  $clone->activation_start = $activation_start;
77  return $clone;
78  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

◆ withIsOnline()

ilLearningSequenceActivation::withIsOnline ( bool  $online)

Definition at line 56 of file class.ilLearningSequenceActivation.php.

References $online.

57  {
58  $clone = clone $this;
59  $clone->online = $online;
60  return $clone;
61  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

Field Documentation

◆ $activation_end

DateTime ilLearningSequenceActivation::$activation_end
protected

◆ $activation_start

DateTime ilLearningSequenceActivation::$activation_start
protected

◆ $effective_online

bool ilLearningSequenceActivation::$effective_online
protected

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

Referenced by __construct(), and getEffectiveOnlineStatus().

◆ $online

bool ilLearningSequenceActivation::$online
protected

Definition at line 27 of file class.ilLearningSequenceActivation.php.

Referenced by __construct(), getIsOnline(), and withIsOnline().

◆ $ref_id

int ilLearningSequenceActivation::$ref_id
protected

Definition at line 26 of file class.ilLearningSequenceActivation.php.

Referenced by __construct(), and getRefId().


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