Class to represent an assessment control action.
More...
|
| __construct (string $action, DateTime $date, float $severity) |
| Class constructor.
|
|
string | getAction () |
| Get the action.
|
|
DateTime | getDate () |
| Get the incident date.
|
|
float | getSeverity () |
| Get the severity.
|
|
Class to represent an assessment control action.
- Author
- Stephen P Vickers steph.nosp@m.en@s.nosp@m.pvsof.nosp@m.twar.nosp@m.eprod.nosp@m.ucts.nosp@m..com
- Copyright
- SPV Software Products
- Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3
◆ __construct()
ceLTIc\LTI\AssessmentControlAction::__construct |
( |
string | $action, |
|
|
DateTime | $date, |
|
|
float | $severity ) |
Class constructor.
- Parameters
-
string | $action | Action |
DateTime | $date | Date/time of incident |
float | $severity | Severity of incident |
◆ getAction()
string ceLTIc\LTI\AssessmentControlAction::getAction |
( |
| ) |
|
Get the action.
- Returns
- string Action value
◆ getDate()
DateTime ceLTIc\LTI\AssessmentControlAction::getDate |
( |
| ) |
|
Get the incident date.
- Returns
- DateTime Incident date value
◆ getSeverity()
float ceLTIc\LTI\AssessmentControlAction::getSeverity |
( |
| ) |
|
Get the severity.
- Returns
- float Severity value
◆ $code
string ceLTIc\LTI\AssessmentControlAction::$code = null |
◆ $extraTime
int ceLTIc\LTI\AssessmentControlAction::$extraTime = null |
◆ $message
string ceLTIc\LTI\AssessmentControlAction::$message = null |
◆ ACTION_FLAG
const ceLTIc\LTI\AssessmentControlAction::ACTION_FLAG = 'flag' |
◆ ACTION_PAUSE
const ceLTIc\LTI\AssessmentControlAction::ACTION_PAUSE = 'pause' |
◆ ACTION_RESUME
const ceLTIc\LTI\AssessmentControlAction::ACTION_RESUME = 'resume' |
◆ ACTION_TERMINATE
const ceLTIc\LTI\AssessmentControlAction::ACTION_TERMINATE = 'terminate' |
◆ ACTION_UPDATE
const ceLTIc\LTI\AssessmentControlAction::ACTION_UPDATE = 'update' |