ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Test\Results\Data\AttemptSolutions Class Reference
+ Collaboration diagram for ILIAS\Test\Results\Data\AttemptSolutions:

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 AttemptSolutions.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Test\Results\Data\AttemptSolutions::__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 AttemptSolutions.php.

32 {
33 }

Member Function Documentation

◆ getActiveId()

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

Definition at line 35 of file AttemptSolutions.php.

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

◆ getAttempt()

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

Definition at line 40 of file AttemptSolutions.php.

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

◆ getQuestionResults()

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

Definition at line 48 of file AttemptSolutions.php.

48 : array
49 {
50 return $this->question_results;
51 }

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

+ Here is the caller graph for this function:

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