98 private $value =
null;
105 private $pointsPossible = 1;
118 $this->value = $value;
119 $this->pointsPossible = $pointsPossible;
120 $this->language =
'en-US';
121 $this->date = gmdate(
'Y-m-d\TH:i:s\Z', time());
122 $this->type =
'decimal';
126 $this->activityProgress =
'Completed';
131 $this->gradingProgress =
'FullyGraded';
153 $this->value = $value;
163 return $this->pointsPossible;
173 $this->pointsPossible = $pointsPossible;
Class to represent an outcome.
getPointsPossible()
Get the points possible value.
__construct($value=null, $pointsPossible=1, $activityProgress='Completed', $gradingProgress='FullyGraded')
Class constructor.
$gradingProgress
Grading progress.
$status
Outcome status value.
setPointsPossible($pointsPossible)
Set the points possible value.
const ALLOWED_ACTIVITY_PROGRESS
Allowed values for Activity Progress.
setValue($value)
Set the outcome value.
$activityProgress
Activity progress.
getValue()
Get the outcome value.
const ALLOWED_GRADING_PROGRESS
Allowed values for Grading Progress.
$dataSource
Outcome data source value.