ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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.

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

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

Member Function Documentation

◆ getAppraiseeId()

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

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

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

81  : int
82  {
83  return $this->appraisee_id;
84  }

◆ getCode()

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

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

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

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

◆ getFinished()

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

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

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

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

◆ getId()

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

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

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

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

◆ getLastPage()

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

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

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

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

◆ getSurveyId()

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

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

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

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

◆ getTimestamp()

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

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

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

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

◆ getUserId()

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

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

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

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

◆ 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.

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

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

◆ withFinished()

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

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

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

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

◆ withId()

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

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

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

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

◆ 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.

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

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

◆ withTimestamp()

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

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

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

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

◆ withUserId()

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

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

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

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

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: