19 declare(strict_types=1);
28 protected \ilDBInterface
$db;
35 $this->db = (
$db) ?: $DIC->database();
41 $this->db->manipulate(
"DELETE FROM svy_quest_skill " .
42 " WHERE base_skill_id = " . $this->db->quote($skill_node_id,
"integer"));
43 $this->db->manipulate(
"DELETE FROM svy_skill_threshold " .
44 " WHERE base_skill_id = " . $this->db->quote($skill_node_id,
"integer"));
46 $this->db->manipulate(
"DELETE FROM svy_quest_skill " .
47 " WHERE tref_id = " . $this->db->quote($skill_node_id,
"integer"));
48 $this->db->manipulate(
"DELETE FROM svy_skill_threshold " .
49 " WHERE tref_id = " . $this->db->quote($skill_node_id,
"integer"));
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
__construct(?\ilDBInterface $db=null)
removeForSkill(int $skill_node_id, bool $is_reference)