Description of class.
More...
◆ __construct()
ilSCGroups::__construct |
( |
| ) |
|
|
private |
◆ getGroups()
ilSCGroups::getGroups |
( |
| ) |
|
◆ getInstance()
static ilSCGroups::getInstance |
( |
| ) |
|
|
static |
◆ lookupGroupByComponentId()
ilSCGroups::lookupGroupByComponentId |
( |
string |
$a_component_id | ) |
|
◆ read()
Definition at line 79 of file class.ilSCGroups.php.
79 : void
80 {
81 $query = 'SELECT id FROM sysc_groups ' .
82 'ORDER BY id ';
83 $res = $this->db->query($query);
84
85 $this->groups = array();
87 $this->groups[] =
new ilSCGroup((
int) $row->id);
88 }
89 }
Defines a system check group including different tasks of a component.
References $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
◆ updateFromComponentDefinition()
ilSCGroups::updateFromComponentDefinition |
( |
string |
$a_component_id | ) |
|
Definition at line 45 of file class.ilSCGroups.php.
45 : int
46 {
48 if ($group->getComponentId() === $a_component_id) {
49 return $group->getId();
50 }
51 }
52
54 $component_group->setComponentId($a_component_id);
55 $component_group->create();
56
57 return $component_group->getId();
58 }
References getGroups().
◆ $db
◆ $groups
array ilSCGroups::$groups = array() |
|
private |
◆ $instance
The documentation for this class was generated from the following file: