19 declare(strict_types=1);
61 protected int $usr_id,
62 protected int $node_obj_id,
63 protected bool $is_root_progress,
66 $this->
id =
new PRGProgressId($ass_id, $usr_id, $node_obj_id);
83 return $this->node_obj_id;
87 return $this->is_root_progress;
92 return $this->user_information;
96 return $this->user_information->getUserData($field_id);
101 $clone = clone $this;
111 $clone = clone $this;
122 $clone = clone $this;
133 $clone = clone $this;
149 $clone = clone $this;
160 $clone = clone $this;
171 $clone = clone $this;
182 $clone = clone $this;
192 $clone = clone $this;
203 $clone = clone $this;
214 $clone = clone $this;
228 $clone = clone $this;
229 $clone->completion_by_obj_ids = $obj_ids;
243 $clone = clone $this;
253 $clone = clone $this;
263 $clone = clone $this;
273 $clone = clone $this;
284 $clone = clone $this;
295 $clone = clone $this;
306 $clone = clone $this;
317 $clone = clone $this;
328 $clone = clone $this;
339 $clone = clone $this;
350 $clone = clone $this;
362 throw new \LogicException(
'Invalid status: ' . $lifecycle_status);
364 $clone = clone $this;
376 $clone = clone $this;
389 'prgrs_id' => (string) $this->
getId(),
414 foreach ($this->user_information->getAvailableUserFields() as $user_field) {
415 if (! array_key_exists($user_field, $ret)) {
416 $ret[$user_field] = $this->
getUserData($user_field);
ilStudyProgrammeUserTable provides a flattened list of progresses at a programme-node.
__construct(protected int $ass_id, protected int $usr_id, protected int $node_obj_id, protected bool $is_root_progress, protected ilPRGUserInformation $user_information)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withLastname(string $lastname)
withNodeLifecycleStatus(int $lifecycle_status)
withUserActive(string $active)
getCertificateRelevance()
withPointsCurrent(string $points_current)
withBelongsTo(string $belongs_to)
array $completion_by_obj_ids
withPointsRequired(string $points_required)
withPointsReachable(string $points_reachable)
withRestartDate(string $restart_date)
withUserActiveRaw(bool $active_raw)
withCertificateRelevance(bool $cert_relevance)
withCustomPlan(string $custom_plan)
withStatusRaw(int $status_raw)
withAssignmentBy(string $assigned_by)
withCompletionDate(string $completion_date)
withGender(string $gender)
withStatus(string $status)
withExpiryDate(string $expiry_date)
withDeadline(string $deadline)
getUserData(string $field_id)
withCompletionBy(string $completion_by)
withCompletionByObjIds(?array $obj_ids)
withValidity(string $validity)
withFirstname(string $firstname)
withAssignmentDate(string $assign_date)