ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilOrgUnitOperation.php
Go to the documentation of this file.
1<?php
2
24{
25 public const OP_READ_LEARNING_PROGRESS = 'read_learning_progress';
26 public const OP_WRITE_LEARNING_PROGRESS = 'write_learning_progress';
27 public const OP_EDIT_SUBMISSION_GRADES = 'edit_submissions_grades';
28 public const OP_ACCESS_RESULTS = 'access_results';
29 public const OP_MANAGE_MEMBERS = 'manage_members';
30 public const OP_ACCESS_ENROLMENTS = 'access_enrolments';
31 public const OP_MANAGE_PARTICIPANTS = 'manage_participants';
32 public const OP_SCORE_PARTICIPANTS = 'score_participants';
33 public const OP_VIEW_CERTIFICATES = 'view_certificates';
34 public const OP_VIEW_COMPETENCES = 'view_competences';
35 public const OP_EDIT_USER_ACCOUNTS = 'edit_user_accounts';
36 public const OP_VIEW_MEMBERS = 'view_members';
37 public const OP_VIEW_INDIVIDUAL_PLAN = 'view_individual_plan';
38 public const OP_EDIT_INDIVIDUAL_PLAN = 'edit_individual_plan';
39 public const OP_READ_EMPLOYEE_TALK = 'read_employee_talk';
40 public const OP_CREATE_EMPLOYEE_TALK = 'create_employee_talk';
41 public const OP_EDIT_EMPLOYEE_TALK = 'edit_employee_talk';
42
43 protected int $operation_id = 0;
44 protected string $operation_string = '';
45 protected string $description = '';
46 protected int $list_order = 0;
47 protected int $context_id = 0;
48
49 public function __construct($operation_id = 0)
50 {
51 $this->operation_id = $operation_id;
52 }
53
54 public function getOperationId(): ?int
55 {
57 }
58
59 public function getOperationString(): string
60 {
62 }
63
64 public function withOperationString(string $operation_string): self
65 {
66 $clone = clone $this;
67 $clone->operation_string = $operation_string;
68 return $clone;
69 }
70
71 public function getDescription(): string
72 {
73 return $this->description;
74 }
75
76 public function withDescription(string $description): self
77 {
78 $clone = clone $this;
79 $clone->description = $description;
80 return $clone;
81 }
82
83 public function getListOrder(): int
84 {
85 return $this->list_order;
86 }
87
88 public function withListOrder(int $list_order): self
89 {
90 $clone = clone $this;
91 $clone->list_order = $list_order;
92 return $clone;
93 }
94
95 public function getContextId(): int
96 {
97 return $this->context_id;
98 }
99
100 public function withContextId(int $context_id): self
101 {
102 $clone = clone $this;
103 $clone->context_id = $context_id;
104 return $clone;
105 }
106}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withListOrder(int $list_order)
withDescription(string $description)
withOperationString(string $operation_string)