Class to represent an outcome. More...
Public Member Functions | |
| __construct ($value=null, $pointsPossible=1, $activityProgress='Completed', $gradingProgress='FullyGraded') | |
| Class constructor. | |
| getValue () | |
| Get the outcome value. | |
| setValue ($value) | |
| Set the outcome value. | |
| getPointsPossible () | |
| Get the points possible value. | |
| setPointsPossible ($pointsPossible) | |
| Set the points possible value. | |
Data Fields | |
| const | ALLOWED_ACTIVITY_PROGRESS |
| Allowed values for Activity Progress. | |
| const | ALLOWED_GRADING_PROGRESS |
| Allowed values for Grading Progress. | |
| $language = null | |
| Language value. | |
| $status = null | |
| Outcome status value. | |
| $date = null | |
| Outcome date value. | |
| $type = null | |
| Outcome type value. | |
| $activityProgress = null | |
| Activity progress. | |
| $gradingProgress = null | |
| Grading progress. | |
| $comment = null | |
| Comment. | |
| $dataSource = null | |
| Outcome data source value. | |
Class to represent an outcome.
Definition at line 12 of file Outcome.php.
| __construct | ( | $value = null, |
|
$pointsPossible = 1, |
|||
$activityProgress = 'Completed', |
|||
$gradingProgress = 'FullyGraded' |
|||
| ) |
Class constructor.
| mixed | $value | Outcome value (optional, default is none) |
| int | $pointsPossible | Points possible value (optional, default is none) |
| string | $activityProgress | Activity progress (optional, default is 'Completed') |
| string | $gradingProgress | Grading progress (optional, default is 'FullyGraded') |
Definition at line 115 of file Outcome.php.
References Outcome\$activityProgress, and Outcome\$gradingProgress.
| getPointsPossible | ( | ) |
Get the points possible value.
Definition at line 161 of file Outcome.php.
| getValue | ( | ) |
| setPointsPossible | ( | $pointsPossible | ) |
Set the points possible value.
| int | null | $pointsPossible | Points possible value |
Definition at line 171 of file Outcome.php.
| setValue | ( | $value | ) |
Set the outcome value.
| string | null | $value | Outcome value |
Definition at line 151 of file Outcome.php.
| string null $activityProgress = null |
| string null $comment = null |
Comment.
Definition at line 84 of file Outcome.php.
| string null $dataSource = null |
Outcome data source value.
Definition at line 91 of file Outcome.php.
| string null $date = null |
Outcome date value.
Definition at line 56 of file Outcome.php.
| string null $gradingProgress = null |
| string null $language = null |
Language value.
Definition at line 42 of file Outcome.php.
| string null $status = null |
Outcome status value.
Definition at line 49 of file Outcome.php.
| string null $type = null |
Outcome type value.
Definition at line 63 of file Outcome.php.
| const ALLOWED_ACTIVITY_PROGRESS |
Allowed values for Activity Progress.
Definition at line 18 of file Outcome.php.
| const ALLOWED_GRADING_PROGRESS |
Allowed values for Grading Progress.
Definition at line 29 of file Outcome.php.