ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilStudyProgrammeProgress Class Reference

Class ilStudyProgrammeProgress. More...

+ Collaboration diagram for ilStudyProgrammeProgress:

Public Member Functions

 __construct (int $id)
 
 getId ()
 Get the id of the progress. More...
 
 getAssignmentId ()
 Get the assignment, this progress belongs to. More...
 
 setAssignmentId (int $a_id)
 
 getNodeId ()
 Get the id of the program node this progress belongs to. More...
 
 setNodeId (int $a_id)
 
 getUserId ()
 Get the id of the user this progress is for. More...
 
 setUserId (int $a_id)
 
 getAmountOfPoints ()
 Get the amount of points the user needs to achieve on the subnodes of this node. More...
 
 setAmountOfPoints (int $a_points)
 Get the amount of points the user needs to achieve on the subnodes of this node. More...
 
 getCurrentAmountOfPoints ()
 Get the amount of points the user currently has achieved on the node. More...
 
 setCurrentAmountOfPoints (int $a_points)
 Set the amount of points the user currently has achieved on this node. More...
 
 getStatus ()
 Get the status the user has on this node. More...
 
 setStatus (int $a_status)
 Set the status of this node. More...
 
 setCompletionBy (int $a_id=null)
 Set the completion_by field. More...
 
 getCompletionBy ()
 Get the id of object or user that lead to the successful completion of this node. More...
 
 getLastChangeBy ()
 Get the id of the user who did the last change on this assignment. More...
 
 setLastChangeBy (int $a_usr_id=null)
 Set the id of the user who did the last change on this progress. More...
 
 getLastChange ()
 Get the timestamp of the last change on this progress. More...
 
 updateLastChange ()
 Update the last change timestamp to the current time. More...
 
 setLastChange (DateTime $a_timestamp)
 Set the last change timestamp to the given time. More...
 
 setAssignmentDate (DateTime $assignment_date)
 Set the date of assignment. More...
 
 getAssignmentDate ()
 Get the date of assignment. More...
 
 setCompletionDate (DateTime $completion_date=null)
 Set the timestamp of the complition of this progress. More...
 
 getCompletionDate ()
 Get the timestamp of the complition of this progress. More...
 
 getDeadline ()
 Get the deadline of this progress. More...
 
 setDeadline (DateTime $deadline=null)
 Set the deadline of this progress. More...
 
 setValidityOfQualification (DateTime $date=null)
 Set limited validity of qualification date. More...
 
 getValidityOfQualification ()
 Get the limited validity of qualification date. More...
 
 invalidate ()
 Toggle invalidated. More...
 
 isInvalidated ()
 

Data Fields

const STATUS_IN_PROGRESS = 1
 
const STATUS_COMPLETED = 2
 
const STATUS_ACCREDITED = 3
 
const STATUS_NOT_RELEVANT = 4
 
const STATUS_FAILED = 5
 
const DATE_TIME_FORMAT = 'Y-m-d H:i:s'
 
const DATE_FORMAT = 'Y-m-d'
 

Static Public Attributes

static $STATUS
 

Protected Attributes

 $id
 
 $assignment_id
 
 $prg_id
 
 $usr_id
 
 $points
 
 $points_cur
 
 $status
 
 $completion_by
 
 $last_change
 
 $last_change_by
 
 $assignment_date
 
 $completion_date
 
 $deadline
 
 $vq_date
 
 $invalidated = false
 

Detailed Description

Class ilStudyProgrammeProgress.

Represents the progress of a user for one program assignment on one node of the program.

The user has one progress per assignment and program node in the subtree of the assigned program.

Author
: Richard Klees richa.nosp@m.rd.k.nosp@m.lees@.nosp@m.conc.nosp@m.epts-.nosp@m.and-.nosp@m.train.nosp@m.ing..nosp@m.de
: Denis Klöpfer richa.nosp@m.rd.k.nosp@m.lees@.nosp@m.conc.nosp@m.epts-.nosp@m.and-.nosp@m.train.nosp@m.ing..nosp@m.de
Version
: 0.1.0

Definition at line 20 of file class.ilStudyProgrammeProgress.php.

Constructor & Destructor Documentation

◆ __construct()

ilStudyProgrammeProgress::__construct ( int  $id)

Definition at line 168 of file class.ilStudyProgrammeProgress.php.

References $id.

169  {
170  $this->id = $id;
171  }

Member Function Documentation

◆ getAmountOfPoints()

ilStudyProgrammeProgress::getAmountOfPoints ( )

Get the amount of points the user needs to achieve on the subnodes of this node.

Also the amount of points, this node yields for the progress on the nodes above.

Definition at line 225 of file class.ilStudyProgrammeProgress.php.

References $points.

Referenced by ilStudyProgrammeProgressDBRepository\update().

225  : int
226  {
227  return $this->points;
228  }
+ Here is the caller graph for this function:

◆ getAssignmentDate()

ilStudyProgrammeProgress::getAssignmentDate ( )

Get the date of assignment.

Definition at line 409 of file class.ilStudyProgrammeProgress.php.

References $assignment_date.

Referenced by ilStudyProgrammeProgressDBRepository\update().

+ Here is the caller graph for this function:

◆ getAssignmentId()

ilStudyProgrammeProgress::getAssignmentId ( )

Get the assignment, this progress belongs to.

Definition at line 186 of file class.ilStudyProgrammeProgress.php.

References $assignment_id.

Referenced by ilStudyProgrammeProgressDBRepository\update().

186  : int
187  {
188  return $this->assignment_id;
189  }
+ Here is the caller graph for this function:

◆ getCompletionBy()

ilStudyProgrammeProgress::getCompletionBy ( )

Get the id of object or user that lead to the successful completion of this node.

Returns
int

Definition at line 324 of file class.ilStudyProgrammeProgress.php.

References $completion_by.

Referenced by ilStudyProgrammeProgressDBRepository\update().

+ Here is the caller graph for this function:

◆ getCompletionDate()

ilStudyProgrammeProgress::getCompletionDate ( )

Get the timestamp of the complition of this progress.

Returns
| null

Definition at line 428 of file class.ilStudyProgrammeProgress.php.

References $completion_date.

Referenced by ilStudyProgrammeProgressDBRepository\update().

+ Here is the caller graph for this function:

◆ getCurrentAmountOfPoints()

ilStudyProgrammeProgress::getCurrentAmountOfPoints ( )

Get the amount of points the user currently has achieved on the node.

Definition at line 253 of file class.ilStudyProgrammeProgress.php.

References $points_cur.

Referenced by ilStudyProgrammeProgressDBRepository\update().

253  : int
254  {
255  return $this->points_cur;
256  }
+ Here is the caller graph for this function:

◆ getDeadline()

ilStudyProgrammeProgress::getDeadline ( )

Get the deadline of this progress.

Returns
DateTime | null

Definition at line 438 of file class.ilStudyProgrammeProgress.php.

References $deadline.

Referenced by ilStudyProgrammeProgressDBRepository\update().

+ Here is the caller graph for this function:

◆ getId()

ilStudyProgrammeProgress::getId ( )

Get the id of the progress.

Returns
int

Definition at line 178 of file class.ilStudyProgrammeProgress.php.

References $id.

Referenced by ilStudyProgrammeProgressDBRepository\update().

+ Here is the caller graph for this function:

◆ getLastChange()

ilStudyProgrammeProgress::getLastChange ( )

Get the timestamp of the last change on this progress.

Returns
DateTime

Definition at line 361 of file class.ilStudyProgrammeProgress.php.

Referenced by ilStudyProgrammeProgressDBRepository\update().

361  : DateTime
362  {
363  return DateTime::createFromFormat(self::DATE_TIME_FORMAT, $this->last_change);
364  }
+ Here is the caller graph for this function:

◆ getLastChangeBy()

ilStudyProgrammeProgress::getLastChangeBy ( )

Get the id of the user who did the last change on this assignment.

Returns
int

Definition at line 333 of file class.ilStudyProgrammeProgress.php.

References $last_change_by.

Referenced by ilStudyProgrammeProgressDBRepository\update().

+ Here is the caller graph for this function:

◆ getNodeId()

ilStudyProgrammeProgress::getNodeId ( )

Get the id of the program node this progress belongs to.

Definition at line 198 of file class.ilStudyProgrammeProgress.php.

References $prg_id.

Referenced by ilStudyProgrammeProgressDBRepository\update().

198  : int
199  {
200  return $this->prg_id;
201  }
+ Here is the caller graph for this function:

◆ getStatus()

ilStudyProgrammeProgress::getStatus ( )

Get the status the user has on this node.

Returns
int - one of ilStudyProgrammeProgress::STATUS_*

Definition at line 283 of file class.ilStudyProgrammeProgress.php.

References $status.

Referenced by ilStudyProgrammeProgressDBRepository\update().

283  : int
284  {
285  return $this->status;
286  }
+ Here is the caller graph for this function:

◆ getUserId()

ilStudyProgrammeProgress::getUserId ( )

Get the id of the user this progress is for.

Definition at line 210 of file class.ilStudyProgrammeProgress.php.

References $usr_id.

Referenced by ilStudyProgrammeProgressDBRepository\update().

210  : int
211  {
212  return $this->usr_id;
213  }
+ Here is the caller graph for this function:

◆ getValidityOfQualification()

ilStudyProgrammeProgress::getValidityOfQualification ( )

Get the limited validity of qualification date.

Definition at line 468 of file class.ilStudyProgrammeProgress.php.

References $vq_date.

Referenced by ilStudyProgrammeProgressDBRepository\update().

+ Here is the caller graph for this function:

◆ invalidate()

ilStudyProgrammeProgress::invalidate ( )

Toggle invalidated.

Definition at line 476 of file class.ilStudyProgrammeProgress.php.

Referenced by ilStudyProgrammeProgressDBRepository\buildByRow().

477  {
478  if (!$this->vq_date || $this->vq_date->format('Y-m-d') > date('Y-m-d')) {
479  throw new ilException("may not invalidate non-expired progress");
480  }
481  $this->invalidated = true;
482  return $this;
483  }
Class ilStudyProgrammeProgress.
+ Here is the caller graph for this function:

◆ isInvalidated()

ilStudyProgrammeProgress::isInvalidated ( )

Definition at line 485 of file class.ilStudyProgrammeProgress.php.

References $invalidated.

Referenced by ilStudyProgrammeProgressDBRepository\update().

485  : bool
486  {
487  return $this->invalidated;
488  }
+ Here is the caller graph for this function:

◆ setAmountOfPoints()

ilStudyProgrammeProgress::setAmountOfPoints ( int  $a_points)

Get the amount of points the user needs to achieve on the subnodes of this node.

Also the amount of points, this node yields for the progress on the nodes above.

Throws when amount of points is smaller then zero.

Definition at line 237 of file class.ilStudyProgrammeProgress.php.

References updateLastChange().

238  {
239  if ($a_points < 0) {
240  throw new ilException("ilStudyProgrammeProgress::setAmountOfPoints: "
241  . "Expected a number >= 0 as argument, got '$a_points'");
242  }
243 
244  $this->points = $a_points;
245 
246  $this->updateLastChange();
247  return $this;
248  }
updateLastChange()
Update the last change timestamp to the current time.
Class ilStudyProgrammeProgress.
+ Here is the call graph for this function:

◆ setAssignmentDate()

ilStudyProgrammeProgress::setAssignmentDate ( DateTime  $assignment_date)

Set the date of assignment.

Definition at line 400 of file class.ilStudyProgrammeProgress.php.

References $assignment_date.

401  {
402  $this->assignment_date = $assignment_date;
403  return $this;
404  }
Class ilStudyProgrammeProgress.

◆ setAssignmentId()

ilStudyProgrammeProgress::setAssignmentId ( int  $a_id)

Definition at line 190 of file class.ilStudyProgrammeProgress.php.

191  {
192  $this->assignment_id = $a_id;
193  return $this;
194  }
Class ilStudyProgrammeProgress.

◆ setCompletionBy()

ilStudyProgrammeProgress::setCompletionBy ( int  $a_id = null)

Set the completion_by field.

Parameters
$a_idint | null
Returns
$this

Definition at line 311 of file class.ilStudyProgrammeProgress.php.

References updateLastChange().

312  {
313  $this->completion_by = $a_id;
314  $this->updateLastChange();
315  return $this;
316  }
updateLastChange()
Update the last change timestamp to the current time.
Class ilStudyProgrammeProgress.
+ Here is the call graph for this function:

◆ setCompletionDate()

ilStudyProgrammeProgress::setCompletionDate ( DateTime  $completion_date = null)

Set the timestamp of the complition of this progress.

Definition at line 417 of file class.ilStudyProgrammeProgress.php.

References $completion_date.

418  {
419  $this->completion_date = $completion_date;
420  return $this;
421  }
Class ilStudyProgrammeProgress.

◆ setCurrentAmountOfPoints()

ilStudyProgrammeProgress::setCurrentAmountOfPoints ( int  $a_points)

Set the amount of points the user currently has achieved on this node.

Throw when amount of points is smaller then zero.

Exceptions
ilException
Returns
$this

Definition at line 266 of file class.ilStudyProgrammeProgress.php.

References updateLastChange().

267  {
268  if ($a_points < 0) {
269  throw new ilException("ilStudyProgrammeProgress::setCurrentAmountOfPoints: "
270  . "Expected a number >= 0 as argument, got '$a_points'.");
271  }
272 
273  $this->points_cur = $a_points;
274  $this->updateLastChange();
275  return $this;
276  }
updateLastChange()
Update the last change timestamp to the current time.
Class ilStudyProgrammeProgress.
+ Here is the call graph for this function:

◆ setDeadline()

ilStudyProgrammeProgress::setDeadline ( DateTime  $deadline = null)

Set the deadline of this progress.

Parameters
DateTime  |  null$deadline
Returns
$this

Definition at line 450 of file class.ilStudyProgrammeProgress.php.

References $deadline.

Referenced by ilStudyProgrammeUserProgress\setDeadline().

451  {
452  $this->deadline = $deadline;
453  return $this;
454  }
Class ilStudyProgrammeProgress.
+ Here is the caller graph for this function:

◆ setLastChange()

ilStudyProgrammeProgress::setLastChange ( DateTime  $a_timestamp)

Set the last change timestamp to the given time.

Throws when given time is smaller then current timestamp since that is logically impossible.

Exceptions
ilException
Returns
$this

Definition at line 391 of file class.ilStudyProgrammeProgress.php.

Referenced by updateLastChange().

392  {
393  $this->last_change = $a_timestamp->format(self::DATE_TIME_FORMAT);
394  return $this;
395  }
Class ilStudyProgrammeProgress.
+ Here is the caller graph for this function:

◆ setLastChangeBy()

ilStudyProgrammeProgress::setLastChangeBy ( int  $a_usr_id = null)

Set the id of the user who did the last change on this progress.

Throws when $a_usr_id is not the id of a user.

Exceptions
ilException
Returns
$this

Definition at line 346 of file class.ilStudyProgrammeProgress.php.

347  {
348  if (is_null($a_usr_id) || $a_usr_id < 0) {
349  throw new ilException("ilStudyProgrammeProgress::setLastChangeBy: '$a_usr_id' "
350  . "is no id of a user.");
351  }
352  $this->last_change_by = $a_usr_id;
353  return $this;
354  }
Class ilStudyProgrammeProgress.

◆ setNodeId()

ilStudyProgrammeProgress::setNodeId ( int  $a_id)

Definition at line 202 of file class.ilStudyProgrammeProgress.php.

203  {
204  $this->prg_id = $a_id;
205  return $this;
206  }
Class ilStudyProgrammeProgress.

◆ setStatus()

ilStudyProgrammeProgress::setStatus ( int  $a_status)

Set the status of this node.

Throws when status is none of ilStudyProgrammeProgress::STATUS_*.

Definition at line 293 of file class.ilStudyProgrammeProgress.php.

References updateLastChange().

294  {
295  if (!in_array($a_status, self::$STATUS)) {
296  throw new ilException("ilStudyProgrammeProgress::setStatus: No status: "
297  . "'$a_status'");
298  }
299 
300  $this->status = $a_status;
301  $this->updateLastChange();
302  return $this;
303  }
updateLastChange()
Update the last change timestamp to the current time.
Class ilStudyProgrammeProgress.
+ Here is the call graph for this function:

◆ setUserId()

ilStudyProgrammeProgress::setUserId ( int  $a_id)

Definition at line 214 of file class.ilStudyProgrammeProgress.php.

215  {
216  $this->usr_id = $a_id;
217  return $this;
218  }
Class ilStudyProgrammeProgress.

◆ setValidityOfQualification()

ilStudyProgrammeProgress::setValidityOfQualification ( DateTime  $date = null)

Set limited validity of qualification date.

Definition at line 459 of file class.ilStudyProgrammeProgress.php.

460  {
461  $this->vq_date = $date;
462  return $this;
463  }
Class ilStudyProgrammeProgress.

◆ updateLastChange()

ilStudyProgrammeProgress::updateLastChange ( )

Update the last change timestamp to the current time.

TODO: I'm not quite sure how the semantics of the last change field should be. Should this record every change or only changes done by a user manually. The answer to this question will also tell whether this method should be called in other setters or not.

Returns
$this

Definition at line 376 of file class.ilStudyProgrammeProgress.php.

References setLastChange().

Referenced by setAmountOfPoints(), setCompletionBy(), setCurrentAmountOfPoints(), and setStatus().

377  {
378  $this->setLastChange(new DateTime());
379  return $this;
380  }
setLastChange(DateTime $a_timestamp)
Set the last change timestamp to the given time.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Field Documentation

◆ $assignment_date

ilStudyProgrammeProgress::$assignment_date
protected

Definition at line 138 of file class.ilStudyProgrammeProgress.php.

Referenced by getAssignmentDate(), and setAssignmentDate().

◆ $assignment_id

ilStudyProgrammeProgress::$assignment_id
protected

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

Referenced by getAssignmentId().

◆ $completion_by

ilStudyProgrammeProgress::$completion_by
protected

Definition at line 115 of file class.ilStudyProgrammeProgress.php.

Referenced by getCompletionBy().

◆ $completion_date

ilStudyProgrammeProgress::$completion_date
protected

Definition at line 145 of file class.ilStudyProgrammeProgress.php.

Referenced by getCompletionDate(), and setCompletionDate().

◆ $deadline

ilStudyProgrammeProgress::$deadline
protected

Definition at line 152 of file class.ilStudyProgrammeProgress.php.

Referenced by getDeadline(), and setDeadline().

◆ $id

ilStudyProgrammeProgress::$id
protected

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

Referenced by __construct(), and getId().

◆ $invalidated

ilStudyProgrammeProgress::$invalidated = false
protected

Definition at line 167 of file class.ilStudyProgrammeProgress.php.

Referenced by isInvalidated().

◆ $last_change

ilStudyProgrammeProgress::$last_change
protected

Definition at line 124 of file class.ilStudyProgrammeProgress.php.

◆ $last_change_by

ilStudyProgrammeProgress::$last_change_by
protected

Definition at line 131 of file class.ilStudyProgrammeProgress.php.

Referenced by getLastChangeBy().

◆ $points

ilStudyProgrammeProgress::$points
protected

Definition at line 91 of file class.ilStudyProgrammeProgress.php.

Referenced by getAmountOfPoints().

◆ $points_cur

ilStudyProgrammeProgress::$points_cur
protected

Definition at line 98 of file class.ilStudyProgrammeProgress.php.

Referenced by getCurrentAmountOfPoints().

◆ $prg_id

ilStudyProgrammeProgress::$prg_id
protected

Definition at line 75 of file class.ilStudyProgrammeProgress.php.

Referenced by getNodeId().

◆ $STATUS

ilStudyProgrammeProgress::$STATUS
static
Initial value:
= array( self::STATUS_IN_PROGRESS
, self::STATUS_COMPLETED
, self::STATUS_ACCREDITED
, self::STATUS_NOT_RELEVANT
, self::STATUS_FAILED
)

Definition at line 40 of file class.ilStudyProgrammeProgress.php.

◆ $status

ilStudyProgrammeProgress::$status
protected

Definition at line 105 of file class.ilStudyProgrammeProgress.php.

Referenced by getStatus().

◆ $usr_id

ilStudyProgrammeProgress::$usr_id
protected

Definition at line 83 of file class.ilStudyProgrammeProgress.php.

Referenced by getUserId().

◆ $vq_date

ilStudyProgrammeProgress::$vq_date
protected

Definition at line 159 of file class.ilStudyProgrammeProgress.php.

Referenced by getValidityOfQualification().

◆ DATE_FORMAT

◆ DATE_TIME_FORMAT

const ilStudyProgrammeProgress::DATE_TIME_FORMAT = 'Y-m-d H:i:s'

◆ STATUS_ACCREDITED

const ilStudyProgrammeProgress::STATUS_ACCREDITED = 3

Definition at line 34 of file class.ilStudyProgrammeProgress.php.

Referenced by ilStudyProgrammeChangeExpireDateGUI\buildFormElements(), ilObjStudyProgrammeAccess\checkCondition(), ilStudyProgrammeMembersTableGUI\fetchData(), ilStudyProgrammeDashboardViewGUI\findValidationValues(), ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect(), ilStudyProgrammeUserProgress\getPossibleActions(), ilStudyProgrammeMembersTableGUI\getStatusOptions(), ilStudyProgrammeUserProgress\hasSuccessStatus(), ilStudyProgrammeUserProgress\invalidate(), ilStudyProgrammeUserProgress\isAccredited(), ilStudyProgrammeDashboardViewGUI\isCompleted(), ilStudyProgrammeUserProgress\isSuccessful(), ilStudyProgrammeProgressDBRepository\loadExpiredSuccessful(), ilStudyProgrammeProgressDBRepository\loadPassedDeadline(), ilStudyProgrammeProgressDBRepository\loadRiskyToFailInstance(), ilStudyProgrammeUserProgress\markAccredited(), ilStudyProgrammeUserProgress\markFailed(), ilObjStudyProgrammeMembersGUI\markRelevantMulti(), ilStudyProgrammeProgressTest\status(), ilStudyProgrammeUserProgressDB\statusToRepr(), ilStudyProgrammeMailTemplateContext\statusToRepr(), ilStudyProgrammeProgressRepositoryTest\test_query_ByIds(), ilStudyProgrammeProgressRepositoryTest\test_query_past_succsessful_1(), ilStudyProgrammeProgressRepositoryTest\test_query_past_succsessful_2(), ilPrgInvalidateExpiredProgressesCronJobTest\test_run(), ilStudyProgrammeProgressRepositoryTest\test_save_and_load(), ilStudyProgrammeUserProgressTest\testMarkAccredited(), ilStudyProgrammeUserProgressTest\testPossibleActions(), ilStudyProgrammeProgressCalculationTest\testProgress2(), ilStudyProgrammeUserProgress\unmarkAccredited(), ilObjStudyProgrammeMembersGUI\unmarkAccreditedMulti(), ilObjStudyProgrammeIndividualPlanGUI\updateStatus(), and ilStudyProgrammeUserProgress\updateStatus().

◆ STATUS_COMPLETED

const ilStudyProgrammeProgress::STATUS_COMPLETED = 2

Definition at line 31 of file class.ilStudyProgrammeProgress.php.

Referenced by ilStudyProgrammeChangeExpireDateGUI\buildFormElements(), ilObjStudyProgrammeAccess\checkCondition(), ilStudyProgrammeMembersTableGUI\fetchData(), ilStudyProgrammeDashboardViewGUI\findValidationValues(), ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect(), ilStudyProgrammeMembersTableGUI\getStatusOptions(), ilStudyProgrammeUserProgress\hasSuccessStatus(), ilStudyProgrammeUserProgress\invalidate(), ilStudyProgrammeDashboardViewGUI\isCompleted(), ilStudyProgrammeUserProgress\isSuccessful(), ilStudyProgrammeProgressDBRepository\loadExpiredSuccessful(), ilStudyProgrammeProgressDBRepository\loadRiskyToFailInstance(), ilStudyProgrammeUserProgress\markFailed(), ilStudyProgrammeUserProgress\setLPCompleted(), ilStudyProgrammeProgressTest\status(), ilStudyProgrammeUserProgressDB\statusToRepr(), ilStudyProgrammeMailTemplateContext\statusToRepr(), ilStudyProgrammeProgressRepositoryTest\test_query_past_succsessful_1(), ilPrgInvalidateExpiredProgressesCronJobTest\test_run(), ilStudyProgrammeProgressCalculationTest\testInitialProgressOnOptionalNodes(), ilStudyProgrammeUserProgressTest\testMarkAccredited(), ilStudyProgrammeProgressCalculationTest\testProgress1(), ilStudyProgrammeProgressCalculationTest\testProgress2(), ilStudyProgrammeProgressCalculationTest\testProgress3(), ilStudyProgrammeProgressCalculationTest\testProgress4(), ilStudyProgrammeUserProgress\updateFromProgramNode(), and ilStudyProgrammeUserProgress\updateStatus().

◆ STATUS_FAILED

◆ STATUS_IN_PROGRESS

const ilStudyProgrammeProgress::STATUS_IN_PROGRESS = 1

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

Referenced by ilStudyProgrammeProgressDBRepository\createFor(), ilStudyProgrammeUserProgress\getPossibleActions(), ilStudyProgrammeIndividualPlanTableGUI\getRequiredPointsInput(), ilStudyProgrammeMembersTableGUI\getStatusOptions(), ilStudyProgrammeDashboardViewGUI\isInProgress(), ilStudyProgrammeProgressDBRepository\loadPassedDeadline(), ilStudyProgrammeUserProgress\markNotFailed(), ilStudyProgrammeUserProgress\markRelevant(), ilObjStudyProgrammeMembersGUI\markRelevantMulti(), ilStudyProgrammeUserProgress\recalculateFailedToDeadline(), ilObjStudyProgramme\removeMemberFromProgrammes(), ilPrgUpdateProgressCronJob\run(), ilStudyProgrammeProgressTest\status(), ilStudyProgrammeUserProgressDB\statusToRepr(), ilStudyProgrammeMailTemplateContext\statusToRepr(), ilStudyProgrammeProgressRepositoryTest\test_create(), ilStudyProgrammeProgressRepositoryTest\test_save_and_load(), ilStudyProgrammeUserProgressTest\testInitialProgressActive(), ilStudyProgrammeUserProgressTest\testInitialProgressDraft(), ilStudyProgrammeProgressCalculationTest\testInitialProgressOnOptionalNodes(), ilStudyProgrammeUserProgressTest\testInitialProgressOutdated(), ilStudyProgrammeUserProgressTest\testMarkAccredited(), ilStudyProgrammeUserProgressTest\testMarkFailed(), ilStudyProgrammeUserProgressTest\testMarkNotFailed(), ilStudyProgrammeUserProgressTest\testMarkNotRelevant(), ilStudyProgrammeUserProgressTest\testPossibleActions(), ilStudyProgrammeProgressCalculationTest\testProgress4(), ilStudyProgrammeUserAssignmentTest\testRstartAssignment(), ilStudyProgrammeUserProgressTest\testUnmarkAccredited(), ilStudyProgrammeUserProgress\unmarkAccredited(), ilStudyProgrammeUserProgress\updateFromProgramNode(), ilObjStudyProgrammeIndividualPlanGUI\updateRequiredPoints(), ilObjStudyProgrammeIndividualPlanGUI\updateStatus(), and ilStudyProgrammeUserProgress\updateStatus().

◆ STATUS_NOT_RELEVANT


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