3 declare(strict_types=1);
43 $this->db = $DIC->database();
55 $this->grp_id = $a_id;
65 $this->identifier = $a_ide;
75 $this->last_update = $a_update;
80 if (!$this->last_update) {
88 $this->status = $a_status;
103 if (!$this->
getId()) {
107 $query =
'SELECT * FROM sysc_tasks ' .
121 $this->
id = $this->db->nextId(
'sysc_tasks');
123 $query =
'INSERT INTO sysc_tasks (id,grp_id,status,identifier) ' .
130 $this->db->manipulate(
$query);
131 return $this->
getId();
136 $query =
'UPDATE sysc_tasks SET ' .
141 $this->db->manipulate(
$query);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setIdentifier(string $a_ide)
const STATUS_NOT_ATTEMPTED
setLastUpdate(ilDateTime $a_update)