LTI Integration Library 5.1.4
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 (string $action, DateTime $date, float $severity)
 Class constructor.
 
string getAction ()
 Get the action.
 
DateTime getDate ()
 Get the incident date.
 
float getSeverity ()
 Get the severity.
 

Public Attributes

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.
 
int $extraTime = null
 Extra time.
 
string $code = null
 Reason code.
 
string $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

Constructor & Destructor Documentation

◆ __construct()

__construct ( string $action,
DateTime $date,
float $severity )

Class constructor.

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

Member Function Documentation

◆ getAction()

string getAction ( )

Get the action.

Returns
string Action value

◆ getDate()

DateTime getDate ( )

Get the incident date.

Returns
DateTime Incident date value

◆ getSeverity()

float getSeverity ( )

Get the severity.

Returns
float Severity value