35     public static string $SCOPE = 
'https://purl.imsglobal.org/spec/lti-ags/scope/score';
    45         $this->scope = self::$SCOPE;
    46         $this->mediaType = 
'application/vnd.ims.lis.v1.score+json';
    57         $score = $ltiOutcome->getValue();
    58         if (!is_null($score)) {
    60                 'scoreGiven' => $score,
    61                 'scoreMaximum' => $ltiOutcome->getPointsPossible(),
    62                 'comment' => $ltiOutcome->comment,
    63                 'activityProgress' => $ltiOutcome->activityProgress,
    64                 'gradingProgress' => $ltiOutcome->gradingProgress
    68                 'activityProgress' => 
'Initialized',
    69                 'gradingProgress' => 
'NotReady'    72         $json[
'userId'] = $user->ltiUserId;
    73         $date = new \DateTime();
    74         $json[
'timestamp'] = date_format($date, 
'Y-m-d\TH:i:s.uP');
    75         $data = json_encode($json);
 
Class ChatMainBarProvider . 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...