131 int $pointsPossible = 1,
132 string $activityProgress =
'Completed',
133 string $gradingProgress =
'FullyGraded' 138 $this->date = gmdate(
'Y-m-d\TH:i:s\Z', time());
139 $this->type =
'decimal';
140 if (in_array($activityProgress, self::ALLOWED_ACTIVITY_PROGRESS)) {
143 $this->activityProgress =
'Completed';
145 if (in_array($gradingProgress, self::ALLOWED_GRADING_PROGRESS)) {
148 $this->gradingProgress =
'FullyGraded';