Quantcast
Channel: DOCU - Foren
Viewing all articles
Browse latest Browse all 6576

Plugins and Add-ons: get test results

$
0
0
Hello,

I have a php script that fills a table for a jasperreport server.
The script looks up all users for tests and the passed the test.

Problem:
To get the users of a course I use this method:

$obj = new ilObjTest($doTestID,false);
$info = $obj->getUnfilteredEvaluationData();
$n = count($info->getParticipantIds());
$obj = new ilObjTest($doTestID,false);
$info = $obj->getUnfilteredEvaluationData();
foreach ($info->getParticipantIds() as $id) {
// use the result to insert into a table if user->passed == trued
}

But when I set a user manuall as passed (course -> members) it does not appier in getParticipants.

Is there a method that does recognized this change too?

Thanks for your help


Viewing all articles
Browse latest Browse all 6576

Trending Articles