ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\User\Settings\StartingPoint\StartingPoint Class Reference
+ Collaboration diagram for ILIAS\User\Settings\StartingPoint\StartingPoint:

Public Member Functions

 __construct (private ?int $id, private ?int $starting_point_type=null, private int $starting_object=0, private ?int $starting_position=null, private ?int $rule_type=null, private ?string $rule_options=null, private int $calendar_view=0, private int $calendar_period=0)
 
 getId ()
 
 setStartingPointType (int $starting_point_type)
 
 getStartingPointType ()
 
 setStartingObject (int $a_starting_object)
 
 getStartingObject ()
 
 setPosition (int $a_starting_position)
 
 getPosition ()
 
 getRuleType ()
 
 isRoleBasedStartingPoint ()
 
 setRuleTypeRoleBased ()
 
 getCalendarView ()
 Gets calendar view. More...
 
 setCalendarView (int $calendar_view)
 Sets calendar view. More...
 
 getCalendarPeriod ()
 
 setCalendarPeriod (int $calendar_period)
 
 getRuleOptions ()
 
 setRuleOptions (string $a_rule_options)
 

Private Attributes

const ROLE_BASED = 2
 

Detailed Description

Definition at line 23 of file StartingPoint.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\User\Settings\StartingPoint\StartingPoint::__construct ( private ?int  $id,
private ?int  $starting_point_type = null,
private int  $starting_object = 0,
private ?int  $starting_position = null,
private ?int  $rule_type = null,
private ?string  $rule_options = null,
private int  $calendar_view = 0,
private int  $calendar_period = 0 
)

Definition at line 27 of file StartingPoint.php.

36 {
37 }

Member Function Documentation

◆ getCalendarPeriod()

ILIAS\User\Settings\StartingPoint\StartingPoint::getCalendarPeriod ( )

Definition at line 105 of file StartingPoint.php.

105 : int
106 {
107 return $this->calendar_period;
108 }

Referenced by ILIAS\User\Settings\StartingPoint\SettingsGUI\getCalenderSubInputs(), ILIAS\User\Settings\StartingPoint\Repository\save(), and ILIAS\User\Settings\StartingPoint\Repository\update().

+ Here is the caller graph for this function:

◆ getCalendarView()

ILIAS\User\Settings\StartingPoint\StartingPoint::getCalendarView ( )

Gets calendar view.

Definition at line 92 of file StartingPoint.php.

92 : int
93 {
94 return $this->calendar_view;
95 }

Referenced by ILIAS\User\Settings\StartingPoint\SettingsGUI\getCalenderSubInputs(), ILIAS\User\Settings\StartingPoint\Repository\save(), and ILIAS\User\Settings\StartingPoint\Repository\update().

+ Here is the caller graph for this function:

◆ getId()

ILIAS\User\Settings\StartingPoint\StartingPoint::getId ( )

Definition at line 39 of file StartingPoint.php.

39 : ?int
40 {
41 return $this->id;
42 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References $id.

Referenced by ILIAS\User\Settings\StartingPoint\Repository\save(), and ILIAS\User\Settings\StartingPoint\Repository\update().

+ Here is the caller graph for this function:

◆ getPosition()

ILIAS\User\Settings\StartingPoint\StartingPoint::getPosition ( )

Definition at line 69 of file StartingPoint.php.

69 : int
70 {
71 return $this->starting_position;
72 }

Referenced by ILIAS\User\Settings\StartingPoint\Repository\update().

+ Here is the caller graph for this function:

◆ getRuleOptions()

ILIAS\User\Settings\StartingPoint\StartingPoint::getRuleOptions ( )

Definition at line 115 of file StartingPoint.php.

115 : ?string
116 {
117 return $this->rule_options;
118 }

Referenced by ILIAS\User\Settings\StartingPoint\Repository\save(), and ILIAS\User\Settings\StartingPoint\Repository\update().

+ Here is the caller graph for this function:

◆ getRuleType()

ILIAS\User\Settings\StartingPoint\StartingPoint::getRuleType ( )

Definition at line 74 of file StartingPoint.php.

74 : ?int
75 {
76 return $this->rule_type;
77 }

Referenced by ILIAS\User\Settings\StartingPoint\Repository\save(), and ILIAS\User\Settings\StartingPoint\Repository\update().

+ Here is the caller graph for this function:

◆ getStartingObject()

ILIAS\User\Settings\StartingPoint\StartingPoint::getStartingObject ( )

Definition at line 59 of file StartingPoint.php.

59 : int
60 {
61 return $this->starting_object;
62 }

Referenced by ILIAS\User\Settings\StartingPoint\SettingsGUI\getRepositoryObjectInput(), ILIAS\User\Settings\StartingPoint\Repository\save(), and ILIAS\User\Settings\StartingPoint\Repository\update().

+ Here is the caller graph for this function:

◆ getStartingPointType()

ILIAS\User\Settings\StartingPoint\StartingPoint::getStartingPointType ( )

Definition at line 49 of file StartingPoint.php.

49 : int
50 {
51 return $this->starting_point_type;
52 }

Referenced by ILIAS\User\Settings\StartingPoint\SettingsGUI\getCurrentTypeForStartingPointForm(), ILIAS\User\Settings\StartingPoint\Repository\save(), and ILIAS\User\Settings\StartingPoint\Repository\update().

+ Here is the caller graph for this function:

◆ isRoleBasedStartingPoint()

ILIAS\User\Settings\StartingPoint\StartingPoint::isRoleBasedStartingPoint ( )

Definition at line 79 of file StartingPoint.php.

79 : bool
80 {
81 return $this->rule_type === self::ROLE_BASED;
82 }

References ILIAS\User\Settings\StartingPoint\StartingPoint\ROLE_BASED.

◆ setCalendarPeriod()

ILIAS\User\Settings\StartingPoint\StartingPoint::setCalendarPeriod ( int  $calendar_period)

Definition at line 110 of file StartingPoint.php.

110 : void
111 {
112 $this->calendar_period = $calendar_period;
113 }

◆ setCalendarView()

ILIAS\User\Settings\StartingPoint\StartingPoint::setCalendarView ( int  $calendar_view)

Sets calendar view.

Definition at line 100 of file StartingPoint.php.

100 : void
101 {
102 $this->calendar_view = $calendar_view;
103 }

◆ setPosition()

ILIAS\User\Settings\StartingPoint\StartingPoint::setPosition ( int  $a_starting_position)

Definition at line 64 of file StartingPoint.php.

64 : void
65 {
66 $this->starting_position = $a_starting_position;
67 }

◆ setRuleOptions()

ILIAS\User\Settings\StartingPoint\StartingPoint::setRuleOptions ( string  $a_rule_options)

Definition at line 120 of file StartingPoint.php.

120 : void
121 {
122 $this->rule_options = $a_rule_options;
123 }

◆ setRuleTypeRoleBased()

ILIAS\User\Settings\StartingPoint\StartingPoint::setRuleTypeRoleBased ( )

Definition at line 84 of file StartingPoint.php.

84 : void
85 {
86 $this->rule_type = self::ROLE_BASED;
87 }

References ILIAS\User\Settings\StartingPoint\StartingPoint\ROLE_BASED.

◆ setStartingObject()

ILIAS\User\Settings\StartingPoint\StartingPoint::setStartingObject ( int  $a_starting_object)

Definition at line 54 of file StartingPoint.php.

54 : void
55 {
56 $this->starting_object = $a_starting_object;
57 }

◆ setStartingPointType()

ILIAS\User\Settings\StartingPoint\StartingPoint::setStartingPointType ( int  $starting_point_type)

Definition at line 44 of file StartingPoint.php.

44 : void
45 {
46 $this->starting_point_type = $starting_point_type;
47 }

Field Documentation

◆ ROLE_BASED

const ILIAS\User\Settings\StartingPoint\StartingPoint::ROLE_BASED = 2
private

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