ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
BucketContainer.php
Go to the documentation of this file.
1<?php
2
20
22
24{
25 public static function returnDbTableName(): string
26 {
27 return "il_bt_bucket";
28 }
29
38 protected ?int $id = null;
44 protected int $user_id = 0;
50 protected int $root_task_id = 0;
56 protected int $current_task_id = 0;
62 protected int $state = State::ERROR;
68 protected int $total_number_of_tasks = 0;
74 protected int $percentage = 0;
80 protected string $title = '';
86 protected string $description = '';
91 protected ?int $last_heartbeat = 0;
92
93 public function getId(): ?int
94 {
95 return $this->id;
96 }
97
98 public function setId(int $id): void
99 {
100 $this->id = $id;
101 }
102
103 public function getUserId(): int
104 {
105 return $this->user_id;
106 }
107
108 public function setUserId(int $user_id): void
109 {
110 $this->user_id = $user_id;
111 }
112
113 public function getRootTaskid(): int
114 {
115 return $this->root_task_id;
116 }
117
118 public function setRootTaskid(int $root_task_id): void
119 {
120 $this->root_task_id = $root_task_id;
121 }
122
123 public function getCurrentTaskid(): int
124 {
126 }
127
128 public function setCurrentTaskid(int $current_task_id): void
129 {
130 $this->current_task_id = $current_task_id;
131 }
132
133 public function getState(): int
134 {
135 return $this->state;
136 }
137
138 public function setState(int $state): void
139 {
140 $this->state = $state;
141 }
142
143 public function getTotalNumberoftasks(): int
144 {
146 }
147
149 {
150 $this->total_number_of_tasks = $total_number_of_tasks;
151 }
152
153 public function getPercentage(): int
154 {
155 return $this->percentage;
156 }
157
158 public function setPercentage(int $percentage): void
159 {
160 $this->percentage = $percentage;
161 }
162
163 public function getTitle(): string
164 {
165 return $this->title;
166 }
167
168 public function setTitle(string $title): void
169 {
170 $this->title = $title;
171 }
172
173 public function getDescription(): string
174 {
175 return $this->description;
176 }
177
178 public function setDescription(string $description): void
179 {
180 $this->description = $description;
181 }
182
183 public function getLastHeartbeat(): int
184 {
186 }
187
188 public function setLastHeartbeat(int $last_heartbeat): void
189 {
190 $this->last_heartbeat = $last_heartbeat;
191 }
192}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
int $state
@con_has_field true @con_fieldtype integer @con_length 2
string $title
@con_has_field true @con_fieldtype text @con_length 255
int $root_task_id
@con_has_field true @con_fieldtype integer @con_length 8
string $description
@con_has_field true @con_fieldtype text @con_length 255
int $last_heartbeat
@con_has_field true @con_fieldtype timestamp
int $total_number_of_tasks
@con_has_field true @con_fieldtype integer @con_length 4
int $id
@con_is_primary true @con_is_unique true @con_has_field true @con_sequence true @con_fieldtype intege...
int $percentage
@con_has_field true @con_fieldtype integer @con_length 2
int $user_id
@con_has_field true @con_fieldtype integer @con_length 8
int $current_task_id
@con_has_field true @con_fieldtype integer @con_length 8
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...