Class to represent an assessment control action. More...
Public Member Functions | |
__construct ($action, $date, $severity) | |
Class constructor. | |
getAction () | |
Get the action. | |
getDate () | |
Get the incident date. | |
getSeverity () | |
Get the severity. | |
Data Fields | |
const | ACTION_PAUSE = 'pause' |
Pause action. | |
const | ACTION_RESUME = 'resume' |
Pause action. | |
const | ACTION_TERMINATE = 'terminate' |
Pause action. | |
const | ACTION_UPDATE = 'update' |
Pause action. | |
const | ACTION_FLAG = 'flag' |
Pause action. | |
$extraTime = null | |
Extra time. | |
$code = null | |
Reason code. | |
$message = null | |
Reason message. | |
Class to represent an assessment control action.
Definition at line 14 of file AssessmentControlAction.php.
__construct | ( | $action, | |
$date, | |||
$severity | |||
) |
Class constructor.
string | $action | Action |
DateTime | $date | Date/time of incident |
float | $severity | Severity of incident |
Definition at line 91 of file AssessmentControlAction.php.
getAction | ( | ) |
Get the action.
Definition at line 103 of file AssessmentControlAction.php.
getDate | ( | ) |
Get the incident date.
Definition at line 113 of file AssessmentControlAction.php.
getSeverity | ( | ) |
Get the severity.
Definition at line 123 of file AssessmentControlAction.php.
string null $code = null |
Reason code.
Definition at line 54 of file AssessmentControlAction.php.
int null $extraTime = null |
Extra time.
Definition at line 47 of file AssessmentControlAction.php.
string null $message = null |
Reason message.
Definition at line 61 of file AssessmentControlAction.php.
const ACTION_FLAG = 'flag' |
Pause action.
Definition at line 40 of file AssessmentControlAction.php.
const ACTION_PAUSE = 'pause' |
Pause action.
Definition at line 20 of file AssessmentControlAction.php.
const ACTION_RESUME = 'resume' |
Pause action.
Definition at line 25 of file AssessmentControlAction.php.
const ACTION_TERMINATE = 'terminate' |
Pause action.
Definition at line 30 of file AssessmentControlAction.php.
const ACTION_UPDATE = 'update' |
Pause action.
Definition at line 35 of file AssessmentControlAction.php.