ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilPRGProgress Class Reference

A Progress is the status of a user on a single node of an assignment; it is unique by assignment_id:usr_id:node_id. More...

+ Inheritance diagram for ilPRGProgress:
+ Collaboration diagram for ilPRGProgress:

Public Member Functions

 __construct (int $prg_obj_id, int $status=self::STATUS_NOT_RELEVANT)
 
 getNodeId ()
 
 getAmountOfPoints ()
 
 withAmountOfPoints (int $points)
 
 getCurrentAmountOfPoints ()
 
 withCurrentAmountOfPoints (int $points_cur)
 
 getStatus ()
 
 withStatus (int $status)
 
 isTransitionAllowedTo (int $new_status)
 
 getLastChangeBy ()
 
 getLastChange ()
 
 withLastChange (int $last_change_by, \DateTimeImmutable $last_change)
 
 getAssignmentDate ()
 
 withAssignmentDate (?\DateTimeImmutable $assignment_date)
 
 getCompletionDate ()
 
 getCompletionBy ()
 
 withCompletion (?int $usr_or_obj_id=null, ?\DateTimeImmutable $completion_date=null)
 
 getDeadline ()
 
 withDeadline (?\DateTimeImmutable $deadline=null)
 
 getValidityOfQualification ()
 
 withValidityOfQualification (?\DateTimeImmutable $date=null)
 
 hasIndividualModifications ()
 
 withIndividualModifications (bool $individual)
 
 isSuccessful ()
 
 hasValidQualification (\DateTimeImmutable $now)
 There may be no qualification at all (since the PRG is not passed), or the qualification is valid or invalid due to a date. More...
 
 isRelevant ()
 
 isFailed ()
 
 isAccredited ()
 
 isInProgress ()
 
 getAchievedPointsOfChildren ()
 
 getPossiblePointsOfRelevantChildren ()
 
 invalidate ()
 
 isInvalidated ()
 
 withInvalidated (bool $invalidated)
 
 markAccredited (\DateTimeImmutable $date, int $acting_usr_id)
 
 unmarkAccredited (\DateTimeImmutable $date, int $acting_usr_id)
 
 markFailed (\DateTimeImmutable $date, int $acting_usr_id)
 
 markNotFailed (\DateTimeImmutable $date, int $acting_usr_id)
 
 succeed (\DateTimeImmutable $date, int $triggering_obj_id)
 
 markNotRelevant (\DateTimeImmutable $date, int $acting_usr_id)
 
 markRelevant (\DateTimeImmutable $date, int $acting_usr_id)
 
- Public Member Functions inherited from ILIAS\StudyProgramme\Assignment\Node
 __construct ($id)
 
 setSubnodes (array $subnodes)
 
 withContainer (Node $node)
 this is only used internally - do not use apart from constructing the tree! More...
 
 withSubnode ($node)
 
 getSubnodes ()
 
 getSubnode (string $id)
 
 getPath ()
 
 findSubnodePath (string $id, ?Node $node=null)
 
 getId ()
 

Static Public Member Functions

static getAllowedTargetStatusFor (int $status_from)
 

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 COMPLETED_BY_SUBNODES = -2
 
const DATE_TIME_FORMAT = ilPRGAssignment::DATE_TIME_FORMAT
 
const DATE_FORMAT = ilPRGAssignment::DATE_FORMAT
 

Static Public Attributes

static $STATUS
 

Protected Attributes

int $prg_obj_id
 
int $points = 0
 
int $points_cur = 0
 
int $status = 4
 
int $completion_by = null
 
DateTimeImmutable $last_change
 
int $last_change_by = -1
 
DateTimeImmutable $assignment_date = null
 
DateTimeImmutable $completion_date = null
 
DateTimeImmutable $deadline = null
 
DateTimeImmutable $vq_date = null
 
bool $invalidated = false
 
bool $is_individual = false
 
- Protected Attributes inherited from ILIAS\StudyProgramme\Assignment\Node
array $subnodes = []
 
Node $container = null
 
string $id
 
int $current_points = 0
 

Additional Inherited Members

- Protected Member Functions inherited from ILIAS\StudyProgramme\Assignment\Node
 getContainer ()
 

Detailed Description

A Progress is the status of a user on a single node of an assignment; it is unique by assignment_id:usr_id:node_id.

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

Constructor & Destructor Documentation

◆ __construct()

ilPRGProgress::__construct ( int  $prg_obj_id,
int  $status = self::STATUS_NOT_RELEVANT 
)

Definition at line 63 of file class.ilPRGProgress.php.

66 {
67 $this->prg_obj_id = $prg_obj_id;
68 $this->status = $status;
69 $this->last_change = new \DateTimeImmutable();
70 $this->assignment_date = new \DateTimeImmutable();
71 parent::__construct((string) $prg_obj_id, []);
72 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $prg_obj_id, $status, and ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ getAchievedPointsOfChildren()

ilPRGProgress::getAchievedPointsOfChildren ( )

Definition at line 316 of file class.ilPRGProgress.php.

316 : int
317 {
318 $sum = 0;
319 $children = $this->getSubnodes();
320 foreach ($children as $child_progress) {
321 if ($child_progress->isSuccessful()) {
322 $sum += $child_progress->getAmountOfPoints();
323 }
324 }
325 return $sum;
326 }

Referenced by unmarkAccredited().

+ Here is the caller graph for this function:

◆ getAllowedTargetStatusFor()

static ilPRGProgress::getAllowedTargetStatusFor ( int  $status_from)
static

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

145 : array
146 {
147 switch ($status_from) {
149 return [
154 ];
156 return [
161 ];
163 return [
164 self::STATUS_IN_PROGRESS, // deaccriditation of sub-progress might revert completion,
166 ];
168 return [
170 self::STATUS_COMPLETED, // with re-calculation of deadline, progress might directly be completed.
172 ];
174 return[
176 ];
177 }
178
179 return [];
180 }

References STATUS_ACCREDITED, STATUS_COMPLETED, STATUS_FAILED, STATUS_IN_PROGRESS, and STATUS_NOT_RELEVANT.

Referenced by ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect().

+ Here is the caller graph for this function:

◆ getAmountOfPoints()

◆ getAssignmentDate()

ilPRGProgress::getAssignmentDate ( )

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

202 : ?\DateTimeImmutable
203 {
205 }
DateTimeImmutable $assignment_date

Referenced by ilPRGAssignmentDBRepository\storeProgressRow(), and updateProgressDeadlineFromSettings().

+ Here is the caller graph for this function:

◆ getCompletionBy()

ilPRGProgress::getCompletionBy ( )

Definition at line 219 of file class.ilPRGProgress.php.

219 : ?int
220 {
222 }

Referenced by ilStudyProgrammeUserTable\completionByToCollection(), ilStudyProgrammeUserTable\completionByToRepresent(), and ilPRGAssignmentDBRepository\storeProgressRow().

+ Here is the caller graph for this function:

◆ getCompletionDate()

ilPRGProgress::getCompletionDate ( )

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

214 : ?\DateTimeImmutable
215 {
217 }
DateTimeImmutable $completion_date

Referenced by ilPRGAssignmentDBRepository\storeProgressRow().

+ Here is the caller graph for this function:

◆ getCurrentAmountOfPoints()

ilPRGProgress::getCurrentAmountOfPoints ( )

◆ getDeadline()

ilPRGProgress::getDeadline ( )

Definition at line 234 of file class.ilPRGProgress.php.

234 : ?\DateTimeImmutable
235 {
236 return $this->deadline;
237 }
DateTimeImmutable $deadline

Referenced by ilPRGAssignmentDBRepository\storeProgressRow().

+ Here is the caller graph for this function:

◆ getLastChange()

ilPRGProgress::getLastChange ( )

Definition at line 187 of file class.ilPRGProgress.php.

187 : \DateTimeImmutable
188 {
189 return $this->last_change;
190 }
DateTimeImmutable $last_change

References $last_change.

Referenced by ilPRGAssignmentDBRepository\storeProgressRow().

+ Here is the caller graph for this function:

◆ getLastChangeBy()

ilPRGProgress::getLastChangeBy ( )

Definition at line 182 of file class.ilPRGProgress.php.

182 : int
183 {
185 }

References $last_change_by.

Referenced by ilPRGAssignmentDBRepository\storeProgressRow().

+ Here is the caller graph for this function:

◆ getNodeId()

◆ getPossiblePointsOfRelevantChildren()

ilPRGProgress::getPossiblePointsOfRelevantChildren ( )

Definition at line 328 of file class.ilPRGProgress.php.

328 : int
329 {
330 $sum = 0;
331 $children = $this->getSubnodes();
332 foreach ($children as $child_progress) {
333 if ($child_progress->isRelevant()) {
334 $sum += $child_progress->getAmountOfPoints();
335 }
336 }
337 return $sum;
338 }

Referenced by ilStudyProgrammeProgressListGUI\buildProgressBar(), ilStudyProgrammeProgressListGUI\buildProgressStatus(), and ilObjStudyProgramme\canBeCompleted().

+ Here is the caller graph for this function:

◆ getStatus()

ilPRGProgress::getStatus ( )

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

114 : int
115 {
116 return $this->status;
117 }

References $status.

Referenced by markAccredited(), ilPRGAssignmentDBRepository\storeProgressRow(), unmarkAccredited(), and withStatus().

+ Here is the caller graph for this function:

◆ getValidityOfQualification()

ilPRGProgress::getValidityOfQualification ( )

Definition at line 246 of file class.ilPRGProgress.php.

246 : ?\DateTimeImmutable
247 {
248 return $this->vq_date;
249 }
DateTimeImmutable $vq_date

Referenced by markAccredited(), and ilPRGAssignmentDBRepository\storeProgressRow().

+ Here is the caller graph for this function:

◆ hasIndividualModifications()

ilPRGProgress::hasIndividualModifications ( )

Definition at line 258 of file class.ilPRGProgress.php.

258 : bool
259 {
261 }

Referenced by ilPRGAssignmentDBRepository\storeProgressRow().

+ Here is the caller graph for this function:

◆ hasValidQualification()

ilPRGProgress::hasValidQualification ( \DateTimeImmutable  $now)

There may be no qualification at all (since the PRG is not passed), or the qualification is valid or invalid due to a date.

Definition at line 285 of file class.ilPRGProgress.php.

285 : ?bool
286 {
287 if (!$this->isSuccessful()) {
288 return null;
289 }
290 return (
291 is_null($this->getValidityOfQualification()) ||
292 $this->getValidityOfQualification()->format(self::DATE_FORMAT) >= $now->format(self::DATE_FORMAT)
293 );
294 }

◆ invalidate()

ilPRGProgress::invalidate ( )

Definition at line 340 of file class.ilPRGProgress.php.

340 : self
341 {
342 if (!$this->vq_date) {
343 throw new ilException("may not invalidate non-expired progress (no invalidation date)");
344 }
345 if ($this->vq_date->format(self::DATE_FORMAT) > date(self::DATE_FORMAT)) {
346 $msg = $this->vq_date->format(self::DATE_FORMAT) . ' > ' . date(self::DATE_FORMAT);
347 throw new ilException("may not invalidate non-expired progress ($msg)");
348 }
349 return $this->withInvalidated(true);
350 }
Base class for ILIAS Exception handling.
withInvalidated(bool $invalidated)

◆ isAccredited()

ilPRGProgress::isAccredited ( )

Definition at line 306 of file class.ilPRGProgress.php.

306 : bool
307 {
308 return $this->getStatus() == self::STATUS_ACCREDITED;
309 }

◆ isFailed()

ilPRGProgress::isFailed ( )

Definition at line 301 of file class.ilPRGProgress.php.

301 : bool
302 {
303 return $this->getStatus() == self::STATUS_FAILED;
304 }

◆ isInProgress()

ilPRGProgress::isInProgress ( )

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

311 : bool
312 {
313 return $this->getStatus() == self::STATUS_IN_PROGRESS;
314 }

◆ isInvalidated()

ilPRGProgress::isInvalidated ( )

Definition at line 352 of file class.ilPRGProgress.php.

352 : bool
353 {
354 return $this->invalidated;
355 }

Referenced by ilPRGAssignmentDBRepository\storeProgressRow(), and ilStudyProgrammeUserTable\validToRepresent().

+ Here is the caller graph for this function:

◆ isRelevant()

ilPRGProgress::isRelevant ( )

Definition at line 296 of file class.ilPRGProgress.php.

296 : bool
297 {
298 return $this->getStatus() != self::STATUS_NOT_RELEVANT;
299 }

Referenced by markAccredited(), ilStudyProgrammeExpandableProgressListGUI\shouldShowSubProgress(), and unmarkAccredited().

+ Here is the caller graph for this function:

◆ isSuccessful()

ilPRGProgress::isSuccessful ( )

Definition at line 270 of file class.ilPRGProgress.php.

270 : bool
271 {
272 return in_array(
273 $this->getStatus(),
274 [
275 self::STATUS_COMPLETED,
276 self::STATUS_ACCREDITED
277 ]
278 );
279 }

Referenced by ilStudyProgrammeProgressListGUI\buildProgressBar(), ilStudyProgrammeIndividualPlanProgressListGUI\buildProgressStatus(), ilStudyProgrammeUserTable\completionByToCollection(), ilStudyProgrammeIndividualPlanTableGUI\fetchData(), and ilStudyProgrammeUserTable\validToRepresent().

+ Here is the caller graph for this function:

◆ isTransitionAllowedTo()

ilPRGProgress::isTransitionAllowedTo ( int  $new_status)

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

138 : bool
139 {
140 return is_null($this->status) ||
141 $this->status === $new_status ||
142 in_array($new_status, self::getAllowedTargetStatusFor($this->status));
143 }

Referenced by markAccredited(), unmarkAccredited(), and withStatus().

+ Here is the caller graph for this function:

◆ markAccredited()

ilPRGProgress::markAccredited ( \DateTimeImmutable  $date,
int  $acting_usr_id 
)

Definition at line 364 of file class.ilPRGProgress.php.

364 : self
365 {
366 return $this
367 ->withStatus(self::STATUS_ACCREDITED)
368 ->withCompletion($acting_usr_id, $date)
369 ->withLastChange($acting_usr_id, $date);
370 }

Referenced by markAccredited().

+ Here is the caller graph for this function:

◆ markFailed()

ilPRGProgress::markFailed ( \DateTimeImmutable  $date,
int  $acting_usr_id 
)

Definition at line 381 of file class.ilPRGProgress.php.

381 : self
382 {
383 return $this
384 ->withStatus(self::STATUS_FAILED)
385 ->withCompletion(null, null)
386 ->withLastChange($acting_usr_id, $date);
387 }

◆ markNotFailed()

ilPRGProgress::markNotFailed ( \DateTimeImmutable  $date,
int  $acting_usr_id 
)

Definition at line 389 of file class.ilPRGProgress.php.

389 : self
390 {
391 return $this
392 ->withStatus(self::STATUS_IN_PROGRESS)
393 ->withCompletion(null, null)
394 ->withLastChange($acting_usr_id, $date);
395 }

◆ markNotRelevant()

ilPRGProgress::markNotRelevant ( \DateTimeImmutable  $date,
int  $acting_usr_id 
)

Definition at line 405 of file class.ilPRGProgress.php.

405 : self
406 {
407 return $this
408 ->withStatus(self::STATUS_NOT_RELEVANT)
409 ->withLastChange($acting_usr_id, $date)
410 ->withValidityOfQualification(null)
411 ->withDeadline(null)
412 ->withCompletion(null, null)
413 ->withCurrentAmountOfPoints(0)
414 ->withIndividualModifications(true);
415 }

◆ markRelevant()

ilPRGProgress::markRelevant ( \DateTimeImmutable  $date,
int  $acting_usr_id 
)

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

417 : self
418 {
419 return $this
420 ->withStatus(self::STATUS_IN_PROGRESS)
421 ->withCompletion(null, null)
422 ->withLastChange($acting_usr_id, $date)
423 ->withIndividualModifications(true);
424 }

◆ succeed()

ilPRGProgress::succeed ( \DateTimeImmutable  $date,
int  $triggering_obj_id 
)

Definition at line 397 of file class.ilPRGProgress.php.

397 : self
398 {
399 return $this
400 ->withStatus(self::STATUS_COMPLETED)
401 ->withCompletion($triggering_obj_id, $date)
402 ->withLastChange($triggering_obj_id, $date);
403 }

◆ unmarkAccredited()

ilPRGProgress::unmarkAccredited ( \DateTimeImmutable  $date,
int  $acting_usr_id 
)

Definition at line 372 of file class.ilPRGProgress.php.

372 : self
373 {
374 return $this
375 ->withStatus(self::STATUS_IN_PROGRESS)
376 ->withCompletion(null, null)
377 ->withValidityOfQualification(null)
378 ->withLastChange($acting_usr_id, $date);
379 }

Referenced by unmarkAccredited().

+ Here is the caller graph for this function:

◆ withAmountOfPoints()

ilPRGProgress::withAmountOfPoints ( int  $points)

Definition at line 85 of file class.ilPRGProgress.php.

85 : self
86 {
87 if ($points < 0) {
88 throw new ilException("ilPRGProgress::setAmountOfPoints: "
89 . "Expected a number >= 0 as argument, got '$points'");
90 }
91
92 $clone = clone $this;
93 $clone->points = $points;
94 return $clone;
95 }

References $points.

Referenced by ilStudyProgrammeAssignmentActionsTest\getProgressesWithDefaultStatus().

+ Here is the caller graph for this function:

◆ withAssignmentDate()

ilPRGProgress::withAssignmentDate ( ?\DateTimeImmutable  $assignment_date)

Definition at line 207 of file class.ilPRGProgress.php.

207 : self
208 {
209 $clone = clone $this;
210 $clone->assignment_date = $assignment_date;
211 return $clone;
212 }

Referenced by initAssignmentDates().

+ Here is the caller graph for this function:

◆ withCompletion()

ilPRGProgress::withCompletion ( ?int  $usr_or_obj_id = null,
?\DateTimeImmutable  $completion_date = null 
)

Definition at line 224 of file class.ilPRGProgress.php.

227 : self {
228 $clone = clone $this;
229 $clone->completion_by = $usr_or_obj_id;
230 $clone->completion_date = $completion_date;
231 return $clone;
232 }

◆ withCurrentAmountOfPoints()

ilPRGProgress::withCurrentAmountOfPoints ( int  $points_cur)

Definition at line 102 of file class.ilPRGProgress.php.

102 : self
103 {
104 if ($points_cur < 0) {
105 throw new ilException("ilPRGProgress::setAmountOfPoints: "
106 . "Expected a number >= 0 as argument, got '$points'");
107 }
108
109 $clone = clone $this;
110 $clone->points_cur = $points_cur;
111 return $clone;
112 }

References $points_cur.

◆ withDeadline()

ilPRGProgress::withDeadline ( ?\DateTimeImmutable  $deadline = null)

Definition at line 239 of file class.ilPRGProgress.php.

239 : self
240 {
241 $clone = clone $this;
242 $clone->deadline = $deadline;
243 return $clone;
244 }

◆ withIndividualModifications()

ilPRGProgress::withIndividualModifications ( bool  $individual)

Definition at line 263 of file class.ilPRGProgress.php.

263 : self
264 {
265 $clone = clone $this;
266 $clone->is_individual = $individual;
267 return $clone;
268 }

◆ withInvalidated()

ilPRGProgress::withInvalidated ( bool  $invalidated)

Definition at line 357 of file class.ilPRGProgress.php.

357 : self
358 {
359 $clone = clone $this;
360 $clone->invalidated = $invalidated;
361 return $clone;
362 }

◆ withLastChange()

ilPRGProgress::withLastChange ( int  $last_change_by,
\DateTimeImmutable  $last_change 
)

Definition at line 192 of file class.ilPRGProgress.php.

195 : self {
196 $clone = clone $this;
197 $clone->last_change = $last_change;
198 $clone->last_change_by = $last_change_by;
199 return $clone;
200 }

◆ withStatus()

ilPRGProgress::withStatus ( int  $status)

Definition at line 119 of file class.ilPRGProgress.php.

119 : self
120 {
121 if (!in_array($status, self::$STATUS)) {
122 throw new ilException("No such status: " . "'$status'");
123 }
124
125 if (!$this->isTransitionAllowedTo($status)) {
126 throw new ilException(
127 "Changing progress with status " . $this->getStatus()
128 . " cannot change to status " . "'$status'"
129 . ' (progress_id: ' . $this->getId() . ')'
130 );
131 }
132
133 $clone = clone $this;
134 $clone->status = $status;
135 return $clone;
136 }
isTransitionAllowedTo(int $new_status)

References $status, ILIAS\StudyProgramme\Assignment\Node\getId(), getStatus(), and isTransitionAllowedTo().

Referenced by updateProgressRelevanceFromSettings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ withValidityOfQualification()

ilPRGProgress::withValidityOfQualification ( ?\DateTimeImmutable  $date = null)

Definition at line 251 of file class.ilPRGProgress.php.

251 : self
252 {
253 $clone = clone $this;
254 $clone->vq_date = $date;
255 return $clone;
256 }

Field Documentation

◆ $assignment_date

DateTimeImmutable ilPRGProgress::$assignment_date = null
protected

Definition at line 55 of file class.ilPRGProgress.php.

◆ $completion_by

int ilPRGProgress::$completion_by = null
protected

Definition at line 52 of file class.ilPRGProgress.php.

◆ $completion_date

DateTimeImmutable ilPRGProgress::$completion_date = null
protected

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

◆ $deadline

DateTimeImmutable ilPRGProgress::$deadline = null
protected

Definition at line 57 of file class.ilPRGProgress.php.

◆ $invalidated

bool ilPRGProgress::$invalidated = false
protected

Definition at line 59 of file class.ilPRGProgress.php.

◆ $is_individual

bool ilPRGProgress::$is_individual = false
protected

Definition at line 60 of file class.ilPRGProgress.php.

◆ $last_change

DateTimeImmutable ilPRGProgress::$last_change
protected

Definition at line 53 of file class.ilPRGProgress.php.

Referenced by getLastChange().

◆ $last_change_by

int ilPRGProgress::$last_change_by = -1
protected

Definition at line 54 of file class.ilPRGProgress.php.

Referenced by getLastChangeBy().

◆ $points

int ilPRGProgress::$points = 0
protected

Definition at line 49 of file class.ilPRGProgress.php.

Referenced by getAmountOfPoints(), and withAmountOfPoints().

◆ $points_cur

int ilPRGProgress::$points_cur = 0
protected

Definition at line 50 of file class.ilPRGProgress.php.

Referenced by getCurrentAmountOfPoints(), and withCurrentAmountOfPoints().

◆ $prg_obj_id

int ilPRGProgress::$prg_obj_id
protected

Definition at line 48 of file class.ilPRGProgress.php.

Referenced by __construct(), and getNodeId().

◆ $STATUS

◆ $status

int ilPRGProgress::$status = 4
protected

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

Referenced by __construct(), getStatus(), and withStatus().

◆ $vq_date

DateTimeImmutable ilPRGProgress::$vq_date = null
protected

Definition at line 58 of file class.ilPRGProgress.php.

◆ COMPLETED_BY_SUBNODES

◆ DATE_FORMAT

◆ DATE_TIME_FORMAT

◆ STATUS_ACCREDITED

◆ STATUS_COMPLETED

const ilPRGProgress::STATUS_COMPLETED = 2

Definition at line 30 of file class.ilPRGProgress.php.

Referenced by getAllowedTargetStatusFor(), ilPRGAssignmentDBRepository\getCertificateRelevantAssignmentIds(), ilPRGAssignmentDBRepository\getExpiredAndNotInvalidated(), ilPRGAssignmentFilter\getItemConfig(), ilStudyProgrammeProgressTest\ilPRGProgressStatus(), ilStudyProgrammeDashboardViewGUI\initData(), ilObjStudyProgramme\statusToRepr(), ilStudyProgrammeMailTemplateContext\statusToRepr(), ilStudyProgrammeUserTable\statusToRepresent(), ilStudyProgrammeCronAboutToExpireTest\testAboutToExpireEvents(), ilStudyProgrammeCronAboutToExpireTest\testAboutToExpireForRelevantProgrammes(), ilStudyProgrammeAssignmentActionsTest\testPRGAssignmentActionsMarkAccredited(), ilStudyProgrammeAssignmentActionsTest\testPRGAssignmentActionsSucceedAndDeadline(), ilStudyProgrammeProgressTest\testPRGProgressAllowedTransitionsForAccredited(), ilStudyProgrammeProgressTest\testPRGProgressAllowedTransitionsForCompleted(), ilStudyProgrammeProgressTest\testPRGProgressAllowedTransitionsForFailed(), ilStudyProgrammeProgressTest\testPRGProgressAllowedTransitionsForInProgress(), ilStudyProgrammeProgressTest\testPRGProgressHasValidQualification(), ilStudyProgrammeProgressTest\testPRGProgressInvalidation(), ilStudyProgrammeProgressTest\testPRGProgressInvalidInvalidation(), ilStudyProgrammeProgressTest\testPRGProgressPointsOfChildren(), ilStudyProgrammeProgressTest\testPRGProgressProperties(), ilStudyProgrammeProgressTest\testPRGProgressStatusActionsSucceed(), ilPrgRestartAssignmentsCronJobTest\testRestartAssignmentsEvents(), ilPrgRestartAssignmentsCronJobTest\testRestartAssignmentsForRelevantProgrammes(), ilStudyProgrammeCronRiskyToFailTest\testRiskyToFailEvents(), ilStudyProgrammeCronRiskyToFailTest\testRiskyToFailForRelevantProgrammes(), ilPRGAssignmentFilter\toConditions(), and unmarkAccredited().

◆ STATUS_FAILED

◆ STATUS_IN_PROGRESS

const ilPRGProgress::STATUS_IN_PROGRESS = 1

Definition at line 29 of file class.ilPRGProgress.php.

Referenced by getAllowedTargetStatusFor(), ilPRGAssignmentFilter\getItemConfig(), ilStudyProgrammeIndividualPlanTableGUI\getManualStatusSelect(), ilPRGAssignmentDBRepository\getPassedDeadline(), ilStudyProgrammeIndividualPlanTableGUI\getRequiredPointsInput(), ilStudyProgrammeProgressTest\ilPRGProgressStatus(), ilObjStudyProgramme\statusToRepr(), ilStudyProgrammeMailTemplateContext\statusToRepr(), ilStudyProgrammeUserTable\statusToRepresent(), ilStudyProgrammeAssignmentActionsTest\testPRGAssignmentActionsMarkAccredited(), ilStudyProgrammeAssignmentActionsTest\testPRGAssignmentActionsMarkRelevant(), ilStudyProgrammeAssignmentActionsTest\testPRGAssignmentActionsSucceedAndDeadline(), ilStudyProgrammeProgressTest\testPRGProgressAllowedTransitionsForAccredited(), ilStudyProgrammeProgressTest\testPRGProgressAllowedTransitionsForCompleted(), ilStudyProgrammeProgressTest\testPRGProgressAllowedTransitionsForFailed(), ilStudyProgrammeProgressTest\testPRGProgressAllowedTransitionsForInProgress(), ilStudyProgrammeProgressTest\testPRGProgressAllowedTransitionsForIrrelevant(), ilStudyProgrammeProgressTest\testPRGProgressHasValidQualification(), ilStudyProgrammeProgressTest\testPRGProgressInvalidation(), ilStudyProgrammeProgressTest\testPRGProgressPointsOfChildren(), ilStudyProgrammeProgressTest\testPRGProgressProperties(), ilStudyProgrammeProgressTest\testPRGProgressStatusActionsMarkAccredited(), ilStudyProgrammeProgressTest\testPRGProgressStatusActionsMarkFailed(), ilStudyProgrammeProgressTest\testPRGProgressStatusActionsMarkNotFailed(), ilStudyProgrammeProgressTest\testPRGProgressStatusActionsMarkNotRelevant(), ilStudyProgrammeProgressTest\testPRGProgressStatusActionsMarkRelevant(), ilStudyProgrammeProgressTest\testPRGProgressStatusActionsSucceed(), ilStudyProgrammeProgressTest\testPRGProgressStatusActionsUnmarkAccredited(), ilStudyProgrammeProgressTest\testPRGProgressStatusChecker(), unmarkAccredited(), updateProgressRelevanceFromSettings(), and ilObjStudyProgrammeIndividualPlanGUI\updateStatus().

◆ STATUS_NOT_RELEVANT


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