ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
BucketContainer.php
Go to the documentation of this file.
1 <?php
2 
4 
5 require_once("./Services/ActiveRecord/class.ActiveRecord.php");
6 
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;
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 
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  {
195  }
196 
197 
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 
274  {
275  $this->last_heartbeat = $last_heartbeat;
276  }
277 }
Class ActiveRecord.