ILIAS  trunk Revision v11.0_alpha-1831-g8615d53dadb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Test\Results\Data\AttemptResult Class Reference
+ Collaboration diagram for ILIAS\Test\Results\Data\AttemptResult:

Public Member Functions

 __construct (private readonly int $active_id, private readonly int $attempt_id, private readonly array $question_results)
 
 getActiveId ()
 
 getAttempt ()
 
 getQuestionResults ()
 

Detailed Description

Definition at line 23 of file AttemptResult.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Test\Results\Data\AttemptResult::__construct ( private readonly int  $active_id,
private readonly int  $attempt_id,
private readonly array  $question_results 
)
Parameters
array<QuestionResult>$question_results

Definition at line 28 of file AttemptResult.php.

32  {
33  }

Member Function Documentation

◆ getActiveId()

ILIAS\Test\Results\Data\AttemptResult::getActiveId ( )

Definition at line 35 of file AttemptResult.php.

35  : int
36  {
37  return $this->active_id;
38  }

◆ getAttempt()

ILIAS\Test\Results\Data\AttemptResult::getAttempt ( )

Definition at line 40 of file AttemptResult.php.

40  : int
41  {
42  return $this->attempt_id;
43  }

◆ getQuestionResults()

ILIAS\Test\Results\Data\AttemptResult::getQuestionResults ( )
Returns
array<QuestionResult>;

Definition at line 48 of file AttemptResult.php.

Referenced by ILIAS\Test\Results\Presentation\AttemptResultsTable\__construct().

48  : array
49  {
50  return $this->question_results;
51  }
+ Here is the caller graph for this function:

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