3 declare(strict_types=1);
32 $this->db = $DIC->database();
38 if (!self::$instance) {
39 self::$instance =
new self();
41 return self::$instance;
51 $ilDB = $DIC->database();
52 if (!$a_component_id) {
56 $query =
'SELECT * FROM log_components ' .
57 'WHERE component_id = ' .
$ilDB->quote($a_component_id,
'text');
59 if (!
$res->numRows()) {
60 $query =
'INSERT INTO log_components (component_id) ' .
62 $ilDB->quote($a_component_id,
'text') .
64 $ilDB->manipulate($query);
78 public function read(): void
80 $query =
'SELECT * FROM log_components ';
81 $res = $this->db->query($query);
static updateFromXML($a_component_id)
individual log levels for components
individual log levels for components
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getLogComponents()
Get component levels.
static ilLogComponentLevels $instance