OutcomeLink
in package
OutcomeLink represents the relationship between an outcome and a group.
This is a read-only object that does not extend AbstractBaseApi.
Tags
Table of Contents
Properties
- $assessed : bool|null
- $canUnlink : bool|null
- $contextId : int|null
- $contextType : string|null
- $outcome : Outcome|null
- $outcomeGroup : OutcomeGroup|null
- $url : string|null
Methods
- __construct() : mixed
- Constructor to hydrate the object from API response.
- canBeUnlinked() : bool
- Check if this outcome link can be unlinked.
- getOutcomeGroupId() : int|null
- Get the outcome group ID if available.
- getOutcomeId() : int|null
- Get the outcome ID if available.
- isAssessed() : bool
- Check if this outcome has been assessed.
Properties
$assessed
public
bool|null
$assessed
= null
$canUnlink
public
bool|null
$canUnlink
= null
$contextId
public
int|null
$contextId
= null
$contextType
public
string|null
$contextType
= null
$outcome
public
Outcome|null
$outcome
= null
$outcomeGroup
public
OutcomeGroup|null
$outcomeGroup
= null
$url
public
string|null
$url
= null
Methods
__construct()
Constructor to hydrate the object from API response.
public
__construct([array<string, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string, mixed> = []
canBeUnlinked()
Check if this outcome link can be unlinked.
public
canBeUnlinked() : bool
Return values
boolgetOutcomeGroupId()
Get the outcome group ID if available.
public
getOutcomeGroupId() : int|null
Return values
int|nullgetOutcomeId()
Get the outcome ID if available.
public
getOutcomeId() : int|null
Return values
int|nullisAssessed()
Check if this outcome has been assessed.
public
isAssessed() : bool