RubricRating
in package
RubricRating Object
Represents a single rating level within a rubric criterion. Each rating defines a performance level with its associated description and point value.
This is a read-only object returned as part of RubricCriterion responses. It does not have its own API endpoints.
Table of Contents
Properties
- $createdAt : string|null
- Creation timestamp
- $criterionId : string|null
- The ID of the criterion this rating belongs to
- $description : string|null
- Short description of the rating level
- $id : string|null
- The unique identifier for this rating
- $longDescription : string|null
- Detailed description of the rating level
- $points : float|null
- Points awarded for this rating level
- $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
The ID of the criterion this rating belongs to
public
string|null
$criterionId
= null
$description
Short description of the rating level
public
string|null
$description
= null
$id
The unique identifier for this rating
public
string|null
$id
= null
$longDescription
Detailed description of the rating level
public
string|null
$longDescription
= null
$points
Points awarded for this rating level
public
float|null
$points
= 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>