5include_once 
'./Services/SystemCheck/classes/class.ilSCTask.php';
 
   28        $this->grp_id = $a_grp_id;
 
   38        if (!array_key_exists($a_group_id, self::$instances)) {
 
   39            return self::$instances[$a_group_id] = 
new self($a_group_id);
 
   41        return self::$instances[$a_group_id];
 
   51        foreach ($this->
getTasks() as $task) {
 
   52            if ($task->getIdentifier() == $a_identifier) {
 
   59        $task->setIdentifier($a_identifier);
 
   62        return $task->getId();
 
   77        $query = 
'SELECT grp_id FROM sysc_tasks ' .
 
   78                'WHERE id = ' . 
$ilDB->quote($a_task_id, 
'integer');
 
   94        $query = 
'SELECT count(id) num FROM sysc_tasks ' .
 
   96                'AND grp_id = ' . 
$ilDB->quote($a_grp_id, 
'integer');
 
  112        $query = 
'SELECT count(id) num FROM sysc_tasks ' .
 
  114                'AND grp_id = ' . 
$ilDB->quote($a_grp_id, 
'integer');
 
  132        $query = 
'SELECT MAX(last_update) last_update FROM sysc_tasks ' .
 
  134                'AND grp_id = ' . 
$ilDB->quote($a_grp_id, 
'integer');
 
  164        $query = 
'SELECT id FROM sysc_tasks ' .
 
  168        $this->tasks = array();
 
An exception for terminatinating execution or to throw for unit testing.
@classDescription Date and time handling
Defines a system check task.
static getInstanceByGroupId($a_group_id)
Get singleton instance.
static lookupFailed($a_grp_id)
@global type $ilDB
static lookupCompleted($a_grp_id)
@global type $ilDB
static lookupGroupId($a_task_id)
Lookup group id by task id @global type $ilDB.
static lookupLastUpdate($a_grp_id)
Lookup last update of group tasks @global type $ilDB.
__construct($a_grp_id)
Singleton constructor.
updateFromComponentDefinition($a_identifier)
Update from module/service reader.
foreach($_POST as $key=> $value) $res