LTI Integration Library 4.10.3
PHP class library for building LTI integrations
 
Loading...
Searching...
No Matches
AssessmentControlAction Class Reference

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.
 

Detailed Description

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
Licence: http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License, version 3

Definition at line 14 of file AssessmentControlAction.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $action,
  $date,
  $severity 
)

Class constructor.

Parameters
string$actionAction
DateTime$dateDate/time of incident
float$severitySeverity of incident

Definition at line 91 of file AssessmentControlAction.php.

Member Function Documentation

◆ getAction()

getAction ( )

Get the action.

Returns
string Action value

Definition at line 103 of file AssessmentControlAction.php.

◆ getDate()

getDate ( )

Get the incident date.

Returns
DateTime Incident date value

Definition at line 113 of file AssessmentControlAction.php.

◆ getSeverity()

getSeverity ( )

Get the severity.

Returns
float Severity value

Definition at line 123 of file AssessmentControlAction.php.

Field Documentation

◆ $code

string null $code = null

Reason code.

Definition at line 54 of file AssessmentControlAction.php.

◆ $extraTime

int null $extraTime = null

Extra time.

Definition at line 47 of file AssessmentControlAction.php.

◆ $message

string null $message = null

Reason message.

Definition at line 61 of file AssessmentControlAction.php.

◆ ACTION_FLAG

const ACTION_FLAG = 'flag'

Pause action.

Definition at line 40 of file AssessmentControlAction.php.

◆ ACTION_PAUSE

const ACTION_PAUSE = 'pause'

Pause action.

Definition at line 20 of file AssessmentControlAction.php.

◆ ACTION_RESUME

const ACTION_RESUME = 'resume'

Pause action.

Definition at line 25 of file AssessmentControlAction.php.

◆ ACTION_TERMINATE

const ACTION_TERMINATE = 'terminate'

Pause action.

Definition at line 30 of file AssessmentControlAction.php.

◆ ACTION_UPDATE

const ACTION_UPDATE = 'update'

Pause action.

Definition at line 35 of file AssessmentControlAction.php.


The documentation for this class was generated from the following file: