16 $ilDB = $DIC->database();
18 $query =
"SELECT * FROM skl_tree_node WHERE obj_id = " .
19 $ilDB->quote($a_id,
"integer");
21 $obj_rec =
$ilDB->fetchAssoc($obj_set);
24 switch ($obj_rec[
"type"]) {
27 $obj->setId($obj_rec[
"obj_id"]);
28 $obj->setDataRecord($obj_rec);
34 $obj->setId($obj_rec[
"obj_id"]);
35 $obj->setDataRecord($obj_rec);
41 $obj->setId($obj_rec[
"obj_id"]);
42 $obj->setDataRecord($obj_rec);
48 $obj->setId($obj_rec[
"obj_id"]);
49 $obj->setDataRecord($obj_rec);
55 $obj->setId($obj_rec[
"obj_id"]);
56 $obj->setDataRecord($obj_rec);
62 $obj->setId($obj_rec[
"obj_id"]);
63 $obj->setDataRecord($obj_rec);
Skill Template Reference.
Factory for skill tree nodes.
static getInstance($a_id=0)