RubricCriterion
in package
RubricCriterion Object
Represents a single criterion within a rubric. Each criterion defines a specific aspect of performance to be evaluated, along with its possible ratings and point values.
This is a read-only object returned as part of Rubric responses. It does not have its own API endpoints.
Table of Contents
Properties
- $createdAt : string|null
- Creation timestamp
- $criterionId : string|null
- Alternative criterion ID (sometimes returned as criterion_id)
- $criterionUseRange : bool|null
- Whether to use the criterion range for scoring
- $description : string|null
- Short description of the criterion
- $id : string|null
- The unique identifier for this criterion
- $learningOutcomeId : string|null
- Learning outcome ID if linked
- $longDescription : string|null
- Detailed description of the criterion
- $points : float|null
- Maximum points possible for this criterion
- $position : int|null
- Position of this criterion in the rubric
- $ratings : array<int, RubricRating>|null
- The possible ratings for this criterion
- $updatedAt : string|null
- Last update timestamp
Methods
- __construct() : mixed
- Constructor
- toArray() : array<string, mixed>
- Convert to array for DTO operations
Properties
$createdAt
Creation timestamp
public
string|null
$createdAt
= null
$criterionId
Alternative criterion ID (sometimes returned as criterion_id)
public
string|null
$criterionId
= null
$criterionUseRange
Whether to use the criterion range for scoring
public
bool|null
$criterionUseRange
= null
$description
Short description of the criterion
public
string|null
$description
= null
$id
The unique identifier for this criterion
public
string|null
$id
= null
$learningOutcomeId
Learning outcome ID if linked
public
string|null
$learningOutcomeId
= null
$longDescription
Detailed description of the criterion
public
string|null
$longDescription
= null
$points
Maximum points possible for this criterion
public
float|null
$points
= null
$position
Position of this criterion in the rubric
public
int|null
$position
= null
$ratings
The possible ratings for this criterion
public
array<int, RubricRating>|null
$ratings
= null
$updatedAt
Last update timestamp
public
string|null
$updatedAt
= null
Methods
__construct()
Constructor
public
__construct([array<string, mixed> $data = [] ]) : mixed
Parameters
- $data : array<string, mixed> = []
toArray()
Convert to array for DTO operations
public
toArray() : array<string, mixed>