Class to represent an outcome. More...
Public Member Functions | |
| __construct ($value=null, $pointsPossible=1, $activityProgress='Completed', $gradingProgress='FullyGraded') | |
| Class constructor. | |
| string | getValue () |
| Get the outcome value. | |
| setValue ($value) | |
| Set the outcome value. | |
| int null | getPointsPossible () |
| Get the points possible value. | |
| setPointsPossible ($pointsPossible) | |
| Set the points possible value. | |
Public Attributes | |
| const | ALLOWED_ACTIVITY_PROGRESS |
| Allowed values for Activity Progress. | |
| const | ALLOWED_GRADING_PROGRESS |
| Allowed values for Grading Progress. | |
| string null | $language = null |
| Language value. | |
| string null | $status = null |
| Outcome status value. | |
| string null | $date = null |
| Outcome date value. | |
| string null | $type = null |
| Outcome type value. | |
| string null | $activityProgress = null |
| Activity progress. | |
| string null | $gradingProgress = null |
| Grading progress. | |
| string null | $comment = null |
| Comment. | |
| string null | $dataSource = null |
| Outcome data source value. | |
Class to represent an outcome.
| __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') |
References Outcome\$activityProgress, and Outcome\$gradingProgress.
| int null getPointsPossible | ( | ) |
Get the points possible value.
| string getValue | ( | ) |
Get the outcome value.
| setPointsPossible | ( | $pointsPossible | ) |
Set the points possible value.
| int | null | $pointsPossible | Points possible value |
| setValue | ( | $value | ) |
Set the outcome value.
| string | $value | Outcome value |
| string null $activityProgress = null |
| string null $comment = null |
Comment.
$comment
| string null $dataSource = null |
Outcome data source value.
$dataSource
| string null $date = null |
Outcome date value.
$date
| string null $gradingProgress = null |
| string null $language = null |
Language value.
$language
| string null $status = null |
Outcome status value.
$status
| string null $type = null |
Outcome type value.
$type
| const ALLOWED_ACTIVITY_PROGRESS |
Allowed values for Activity Progress.
| const ALLOWED_GRADING_PROGRESS |
Allowed values for Grading Progress.