3 include_once
'./Services/Calendar/classes/class.ilDateTime.php';
41 $query =
'SELECT component FROM sysc_groups '.
42 'WHERE id = '.$ilDB->quote($a_id,
'integer');
46 return (
string)
$row->component;
59 $this->component_id = $a_comp;
74 $this->last_update = $a_update;
83 if(!$this->last_update)
92 $this->status = $a_status;
116 $query =
'SELECT * FROM sysc_groups '.
117 'WHERE id = '.$ilDB->quote($this->
getId(),
'integer');
135 $this->
id = $ilDB->nextId(
'sysc_groups');
137 $query =
'INSERT INTO sysc_groups (id,component,status) '.
139 $ilDB->quote($this->
getId(),
'integer').
', '.
141 $ilDB->quote($this->
getStatus(),
'integer').
' '.
143 $ilDB->manipulate(
$query);
144 return $this->
getId();
getComponentId()
Get component.
getLastUpdate()
Get last update date.
create()
Create new group.
static lookupComponent($a_id)
lookup component by id type $ilDB
setLastUpdate(ilDateTime $a_update)
__construct($a_id=0)
Constructor.
Defines a system check group including different tasks of a component.