ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
BucketContainer.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\BackgroundTasks\Implementation\Persistence
;
4
5
require_once(
"./Services/ActiveRecord/class.ActiveRecord.php"
);
6
7
class
BucketContainer
extends
\ActiveRecord
8
{
9
public
static
function
returnDbTableName
()
10
{
11
return
"il_bt_bucket"
;
12
}
13
14
25
protected
$id
;
33
protected
$user_id
;
41
protected
$root_task_id
= 0;
49
protected
$current_task_id
= 0;
57
protected
$state
;
65
protected
$total_number_of_tasks
;
73
protected
$percentage
= 0;
81
protected
$title
;
89
protected
$description
;
96
protected
$last_heartbeat
;
97
98
102
public
function
getId
()
103
{
104
return
$this->id
;
105
}
106
107
111
public
function
setId
(
$id
)
112
{
113
$this->
id
=
$id
;
114
}
115
116
120
public
function
getUserId
()
121
{
122
return
$this->user_id
;
123
}
124
125
129
public
function
setUserId
(
$user_id
)
130
{
131
$this->user_id =
$user_id
;
132
}
133
134
138
public
function
getRootTaskid
()
139
{
140
return
$this->root_task_id
;
141
}
142
143
147
public
function
setRootTaskid
(
$root_task_id
)
148
{
149
$this->root_task_id =
$root_task_id
;
150
}
151
152
156
public
function
getCurrentTaskid
()
157
{
158
return
$this->current_task_id
;
159
}
160
161
165
public
function
setCurrentTaskid
(
$current_task_id
)
166
{
167
$this->current_task_id =
$current_task_id
;
168
}
169
170
174
public
function
getState
()
175
{
176
return
$this->state
;
177
}
178
179
183
public
function
setState
(
$state
)
184
{
185
$this->state =
$state
;
186
}
187
188
192
public
function
getTotalNumberoftasks
()
193
{
194
return
$this->total_number_of_tasks
;
195
}
196
197
201
public
function
setTotalNumberoftasks
(
$total_number_of_tasks
)
202
{
203
$this->total_number_of_tasks =
$total_number_of_tasks
;
204
}
205
206
210
public
function
getPercentage
()
211
{
212
return
$this->percentage
;
213
}
214
215
219
public
function
setPercentage
(
$percentage
)
220
{
221
$this->percentage =
$percentage
;
222
}
223
224
228
public
function
getTitle
()
229
{
230
return
$this->title
;
231
}
232
233
237
public
function
setTitle
(
$title
)
238
{
239
$this->title =
$title
;
240
}
241
242
246
public
function
getDescription
()
247
{
248
return
$this->description
;
249
}
250
251
255
public
function
setDescription
(
$description
)
256
{
257
$this->description =
$description
;
258
}
259
260
264
public
function
getLastHeartbeat
()
265
{
266
return
$this->last_heartbeat
;
267
}
268
269
273
public
function
setLastHeartbeat
(
$last_heartbeat
)
274
{
275
$this->last_heartbeat =
$last_heartbeat
;
276
}
277
}
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getPercentage
getPercentage()
Definition:
BucketContainer.php:210
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getTotalNumberoftasks
getTotalNumberoftasks()
Definition:
BucketContainer.php:192
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$last_heartbeat
$last_heartbeat
Definition:
BucketContainer.php:96
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$description
$description
Definition:
BucketContainer.php:89
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer
Definition:
BucketContainer.php:7
ILIAS\BackgroundTasks\Implementation\Persistence
Definition:
BasicPersistence.php:3
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getCurrentTaskid
getCurrentTaskid()
Definition:
BucketContainer.php:156
ActiveRecord
Class ActiveRecord.
Definition:
class.ActiveRecord.php:24
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getTitle
getTitle()
Definition:
BucketContainer.php:228
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$current_task_id
$current_task_id
Definition:
BucketContainer.php:49
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$total_number_of_tasks
$total_number_of_tasks
Definition:
BucketContainer.php:65
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getDescription
getDescription()
Definition:
BucketContainer.php:246
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$percentage
$percentage
Definition:
BucketContainer.php:73
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\returnDbTableName
static returnDbTableName()
Definition:
BucketContainer.php:9
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setId
setId($id)
Definition:
BucketContainer.php:111
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$user_id
$user_id
Definition:
BucketContainer.php:33
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getRootTaskid
getRootTaskid()
Definition:
BucketContainer.php:138
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setPercentage
setPercentage($percentage)
Definition:
BucketContainer.php:219
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setUserId
setUserId($user_id)
Definition:
BucketContainer.php:129
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setTotalNumberoftasks
setTotalNumberoftasks($total_number_of_tasks)
Definition:
BucketContainer.php:201
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$title
$title
Definition:
BucketContainer.php:81
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setDescription
setDescription($description)
Definition:
BucketContainer.php:255
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setState
setState($state)
Definition:
BucketContainer.php:183
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$root_task_id
$root_task_id
Definition:
BucketContainer.php:41
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$state
$state
Definition:
BucketContainer.php:57
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getUserId
getUserId()
Definition:
BucketContainer.php:120
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setCurrentTaskid
setCurrentTaskid($current_task_id)
Definition:
BucketContainer.php:165
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getLastHeartbeat
getLastHeartbeat()
Definition:
BucketContainer.php:264
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\$id
$id
Definition:
BucketContainer.php:25
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getState
getState()
Definition:
BucketContainer.php:174
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setTitle
setTitle($title)
Definition:
BucketContainer.php:237
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setRootTaskid
setRootTaskid($root_task_id)
Definition:
BucketContainer.php:147
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\getId
getId()
Definition:
BucketContainer.php:102
ILIAS\BackgroundTasks\Implementation\Persistence\BucketContainer\setLastHeartbeat
setLastHeartbeat($last_heartbeat)
Definition:
BucketContainer.php:273
src
BackgroundTasks
Implementation
Persistence
BucketContainer.php
Generated on Sat Jan 18 2025 19:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)