5 include_once
'./Services/Tracking/classes/class.ilLPStatus.php';
30 include_once
'./Modules/Test/classes/class.ilObjTestAccess.php';
32 $query =
"SELECT DISTINCT(user_fi) FROM tst_active ".
33 " WHERE tries = ".$ilDB->quote(0,
"integer").
39 $user_ids[] =
$row->user_fi;
41 return $user_ids ? $user_ids : array();
49 include_once
'./Modules/Test/classes/class.ilObjTestAccess.php';
51 $query =
"SELECT DISTINCT(user_fi) FROM tst_active ".
52 " WHERE tries > ".$ilDB->quote(0,
"integer").
58 $user_ids[] =
$row->user_fi;
60 return $user_ids ? $user_ids : array();
73 include_once
'./Modules/Test/classes/class.ilObjTestAccess.php';
75 $res = $ilDB->query(
"SELECT DISTINCT user_fi FROM tst_active".
79 while($rec = $ilDB->fetchAssoc(
$res))
81 $user_ids[] = $rec[
"user_fi"];
101 include_once
'./Modules/Test/classes/class.ilObjTestAccess.php';
103 $res = $ilDB->query(
"SELECT tries FROM tst_active".
104 " WHERE user_fi = ".$ilDB->quote($a_user_id,
"integer").
107 if ($rec = $ilDB->fetchAssoc(
$res))
109 if ($rec[
"tries"] == 0)
113 else if ($rec[
"tries"] > 0)