ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ILIAS\Exercise\Settings\Settings Class Reference
+ Collaboration diagram for ILIAS\Exercise\Settings\Settings:

Public Member Functions

 __construct (protected int $obj_id, protected string $instruction, protected int $time_stamp, protected string $pass_mode, protected int $nr_mandatory_random, protected int $pass_nr, protected bool $show_submissions, protected bool $compl_by_submission, protected int $certificate_visibility, protected int $tfeedback)
 
 getObjId ()
 
 withObjId (int $id)
 
 getInstruction ()
 
 getTimeStamp ()
 
 getPassMode ()
 
 getNrMandatoryRandom ()
 
 getPassNr ()
 
 getShowSubmissions ()
 
 getCompletionBySubmission ()
 
 getCertificateVisibility ()
 
 getTutorFeedback ()
 
 hasTutorFeedbackText ()
 
 hasTutorFeedbackMail ()
 
 hasTutorFeedbackFile ()
 

Detailed Description

Definition at line 23 of file Settings.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Exercise\Settings\Settings::__construct ( protected int  $obj_id,
protected string  $instruction,
protected int  $time_stamp,
protected string  $pass_mode,
protected int  $nr_mandatory_random,
protected int  $pass_nr,
protected bool  $show_submissions,
protected bool  $compl_by_submission,
protected int  $certificate_visibility,
protected int  $tfeedback 
)

Definition at line 25 of file Settings.php.

36 {
37 }

Member Function Documentation

◆ getCertificateVisibility()

ILIAS\Exercise\Settings\Settings::getCertificateVisibility ( )

Definition at line 88 of file Settings.php.

88 : int
89 {
90 return $this->certificate_visibility;
91 }

◆ getCompletionBySubmission()

ILIAS\Exercise\Settings\Settings::getCompletionBySubmission ( )

Definition at line 83 of file Settings.php.

83 : bool
84 {
85 return $this->compl_by_submission;
86 }

◆ getInstruction()

ILIAS\Exercise\Settings\Settings::getInstruction ( )

Definition at line 53 of file Settings.php.

53 : string
54 {
55 return $this->instruction;
56 }

◆ getNrMandatoryRandom()

ILIAS\Exercise\Settings\Settings::getNrMandatoryRandom ( )

Definition at line 68 of file Settings.php.

68 : int
69 {
70 return $this->nr_mandatory_random;
71 }

◆ getObjId()

ILIAS\Exercise\Settings\Settings::getObjId ( )

Definition at line 40 of file Settings.php.

40 : int
41 {
42 return $this->obj_id;
43 }

◆ getPassMode()

ILIAS\Exercise\Settings\Settings::getPassMode ( )

Definition at line 63 of file Settings.php.

63 : string
64 {
65 return $this->pass_mode;
66 }

◆ getPassNr()

ILIAS\Exercise\Settings\Settings::getPassNr ( )

Definition at line 73 of file Settings.php.

73 : int
74 {
75 return $this->pass_nr;
76 }

◆ getShowSubmissions()

ILIAS\Exercise\Settings\Settings::getShowSubmissions ( )

Definition at line 78 of file Settings.php.

78 : bool
79 {
80 return $this->show_submissions;
81 }

◆ getTimeStamp()

ILIAS\Exercise\Settings\Settings::getTimeStamp ( )

Definition at line 58 of file Settings.php.

58 : int
59 {
60 return $this->time_stamp;
61 }

◆ getTutorFeedback()

ILIAS\Exercise\Settings\Settings::getTutorFeedback ( )

Definition at line 93 of file Settings.php.

93 : int
94 {
95 return $this->tfeedback;
96 }

◆ hasTutorFeedbackFile()

ILIAS\Exercise\Settings\Settings::hasTutorFeedbackFile ( )

Definition at line 108 of file Settings.php.

108 : bool
109 {
110 return (bool) ($this->tfeedback & \ilObjExercise::TUTOR_FEEDBACK_FILE);
111 }

References ilObjExercise\TUTOR_FEEDBACK_FILE.

◆ hasTutorFeedbackMail()

ILIAS\Exercise\Settings\Settings::hasTutorFeedbackMail ( )

Definition at line 103 of file Settings.php.

103 : bool
104 {
105 return (bool) ($this->tfeedback & \ilObjExercise::TUTOR_FEEDBACK_MAIL);
106 }

References ilObjExercise\TUTOR_FEEDBACK_MAIL.

◆ hasTutorFeedbackText()

ILIAS\Exercise\Settings\Settings::hasTutorFeedbackText ( )

Definition at line 98 of file Settings.php.

98 : bool
99 {
100 return (bool) ($this->tfeedback & \ilObjExercise::TUTOR_FEEDBACK_TEXT);
101 }

References ilObjExercise\TUTOR_FEEDBACK_TEXT.

◆ withObjId()

ILIAS\Exercise\Settings\Settings::withObjId ( int  $id)

Definition at line 45 of file Settings.php.

45 : self
46 {
47 $clone = clone $this;
48 $clone->obj_id = $id;
49 return $clone;
50 }
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23

References $id.


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