ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Survey\Execution\Run Class Reference

Code data class. More...

+ Collaboration diagram for ILIAS\Survey\Execution\Run:

Public Member Functions

 __construct (int $survey_id, int $user_id)
 
 getCode ()
 
 getSurveyId ()
 
 getId ()
 
 getUserId ()
 
 getTimestamp ()
 
 getFinished ()
 
 getLastPage ()
 
 getAppraiseeId ()
 
 withId (int $id)
 
 withSurveyId (int $id)
 
 withUserId (int $user_id)
 
 withTimestamp (int $tstamp)
 
 withCode (string $code)
 
 withFinished (bool $finished)
 
 withLastPage (int $last_page)
 
 withAppraiseeId (int $appr_id)
 

Protected Attributes

int $id = null
 
int $survey_id = 0
 
int $user_id = 0
 
string $code = ""
 
bool $finished = false
 
int $tstamp = 0
 
int $lastpage = 0
 
int $appraisee_id = 0
 

Detailed Description

Code data class.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Survey\Execution\Run::__construct ( int  $survey_id,
int  $user_id 
)

Definition at line 38 of file class.Run.php.

41 {
42 $this->survey_id = $survey_id;
43 $this->user_id = $user_id;
44 }

References ILIAS\Survey\Execution\Run\$survey_id, and ILIAS\Survey\Execution\Run\$user_id.

Member Function Documentation

◆ getAppraiseeId()

ILIAS\Survey\Execution\Run::getAppraiseeId ( )

Definition at line 81 of file class.Run.php.

81 : int
82 {
84 }

References ILIAS\Survey\Execution\Run\$appraisee_id.

◆ getCode()

ILIAS\Survey\Execution\Run::getCode ( )

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

46 : string
47 {
48 return $this->code;
49 }

References ILIAS\Survey\Execution\Run\$code.

◆ getFinished()

ILIAS\Survey\Execution\Run::getFinished ( )

Definition at line 71 of file class.Run.php.

71 : bool
72 {
73 return $this->finished;
74 }

References ILIAS\Survey\Execution\Run\$finished.

◆ getId()

ILIAS\Survey\Execution\Run::getId ( )

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

56 : int
57 {
58 return $this->id;
59 }

References ILIAS\Survey\Execution\Run\$id.

◆ getLastPage()

ILIAS\Survey\Execution\Run::getLastPage ( )

Definition at line 76 of file class.Run.php.

76 : int
77 {
78 return $this->lastpage;
79 }

References ILIAS\Survey\Execution\Run\$lastpage.

◆ getSurveyId()

ILIAS\Survey\Execution\Run::getSurveyId ( )

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

51 : int
52 {
53 return $this->survey_id;
54 }

References ILIAS\Survey\Execution\Run\$survey_id.

◆ getTimestamp()

ILIAS\Survey\Execution\Run::getTimestamp ( )

Definition at line 66 of file class.Run.php.

66 : int
67 {
68 return $this->tstamp;
69 }

References ILIAS\Survey\Execution\Run\$tstamp.

◆ getUserId()

ILIAS\Survey\Execution\Run::getUserId ( )

Definition at line 61 of file class.Run.php.

61 : int
62 {
63 return $this->user_id;
64 }

References ILIAS\Survey\Execution\Run\$user_id.

◆ withAppraiseeId()

ILIAS\Survey\Execution\Run::withAppraiseeId ( int  $appr_id)

Definition at line 135 of file class.Run.php.

135 : self
136 {
137 $run = clone $this;
138 $run->appraisee_id = $appr_id;
139 return $run;
140 }

◆ withCode()

ILIAS\Survey\Execution\Run::withCode ( string  $code)

Definition at line 114 of file class.Run.php.

114 : self
115 {
116 $run = clone $this;
117 $run->code = $code;
118 return $run;
119 }

References ILIAS\Survey\Execution\Run\$code.

◆ withFinished()

ILIAS\Survey\Execution\Run::withFinished ( bool  $finished)

Definition at line 121 of file class.Run.php.

121 : self
122 {
123 $run = clone $this;
124 $run->finished = $finished;
125 return $run;
126 }

References ILIAS\Survey\Execution\Run\$finished.

◆ withId()

ILIAS\Survey\Execution\Run::withId ( int  $id)

Definition at line 86 of file class.Run.php.

86 : self
87 {
88 $run = clone $this;
89 $run->id = $id;
90 return $run;
91 }

References ILIAS\Survey\Execution\Run\$id.

Referenced by ILIAS\Survey\Execution\RunDBRepository\getById().

+ Here is the caller graph for this function:

◆ withLastPage()

ILIAS\Survey\Execution\Run::withLastPage ( int  $last_page)

Definition at line 128 of file class.Run.php.

128 : self
129 {
130 $run = clone $this;
131 $run->lastpage = $last_page;
132 return $run;
133 }

◆ withSurveyId()

ILIAS\Survey\Execution\Run::withSurveyId ( int  $id)

Definition at line 93 of file class.Run.php.

93 : self
94 {
95 $run = clone $this;
96 $run->survey_id = $id;
97 return $run;
98 }

References ILIAS\Survey\Execution\Run\$id.

◆ withTimestamp()

ILIAS\Survey\Execution\Run::withTimestamp ( int  $tstamp)

Definition at line 107 of file class.Run.php.

107 : self
108 {
109 $run = clone $this;
110 $run->tstamp = $tstamp;
111 return $run;
112 }

References ILIAS\Survey\Execution\Run\$tstamp.

◆ withUserId()

ILIAS\Survey\Execution\Run::withUserId ( int  $user_id)

Definition at line 100 of file class.Run.php.

100 : self
101 {
102 $run = clone $this;
103 $run->user_id = $user_id;
104 return $run;
105 }

References ILIAS\Survey\Execution\Run\$user_id.

Field Documentation

◆ $appraisee_id

int ILIAS\Survey\Execution\Run::$appraisee_id = 0
protected

Definition at line 36 of file class.Run.php.

Referenced by ILIAS\Survey\Execution\Run\getAppraiseeId().

◆ $code

string ILIAS\Survey\Execution\Run::$code = ""
protected

◆ $finished

bool ILIAS\Survey\Execution\Run::$finished = false
protected

◆ $id

int ILIAS\Survey\Execution\Run::$id = null
protected

◆ $lastpage

int ILIAS\Survey\Execution\Run::$lastpage = 0
protected

Definition at line 35 of file class.Run.php.

Referenced by ILIAS\Survey\Execution\Run\getLastPage().

◆ $survey_id

int ILIAS\Survey\Execution\Run::$survey_id = 0
protected

◆ $tstamp

int ILIAS\Survey\Execution\Run::$tstamp = 0
protected

◆ $user_id

int ILIAS\Survey\Execution\Run::$user_id = 0
protected

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