ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
assQuestionSuggestedSolutionRepoMock Class Reference

test the suggested solution immutable(s) More...

+ Inheritance diagram for assQuestionSuggestedSolutionRepoMock:
+ Collaboration diagram for assQuestionSuggestedSolutionRepoMock:

Public Member Functions

 __construct ()
 
 getSolution (int $id, int $question_id, string $internal_link, string $import_id, int $subquestion_index, string $type, string $value, \DateTimeImmutable $last_update)
 
- Public Member Functions inherited from ILIAS\TA\Questions\assQuestionSuggestedSolutionsDatabaseRepository
 __construct (\ilDBInterface $db)
 
 create (int $question_id, string $type)
 
 selectFor (int $question_id)
 return assQuestionSuggestedSolution[] More...
 
 update (array $suggested_solutions)
 
 delete (int $suggested_solution_id)
 
 deleteForQuestion (int $question_id)
 
 syncForQuestion (int $source_question_id, int $target_question_id)
 

Additional Inherited Members

- Data Fields inherited from ILIAS\TA\Questions\assQuestionSuggestedSolutionsDatabaseRepository
const TABLE_SUGGESTED_SOLUTIONS = 'qpl_sol_sug'
 
- Protected Member Functions inherited from ILIAS\TA\Questions\assQuestionSuggestedSolutionsDatabaseRepository
 buildSuggestedSolution (int $id, int $question_id, string $internal_link, string $import_id, int $subquestion_index, string $type, string $value, \DateTimeImmutable $last_update)
 
 getNow ()
 
 additionalOnDelete (int $question_id)
 
 additionalOnStore (assQuestionSuggestedSolution $solution)
 
- Protected Attributes inherited from ILIAS\TA\Questions\assQuestionSuggestedSolutionsDatabaseRepository
ilDBInterface $db
 

Detailed Description

test the suggested solution immutable(s)

Author
Nils Haagen nils..nosp@m.haag.nosp@m.en@co.nosp@m.ncep.nosp@m.ts-an.nosp@m.d-tr.nosp@m.ainin.nosp@m.g.de

Definition at line 33 of file assQuestionSuggestedSolutionTest.php.

Constructor & Destructor Documentation

◆ __construct()

assQuestionSuggestedSolutionRepoMock::__construct ( )

Definition at line 35 of file assQuestionSuggestedSolutionTest.php.

36  {
37  }

Member Function Documentation

◆ getSolution()

assQuestionSuggestedSolutionRepoMock::getSolution ( int  $id,
int  $question_id,
string  $internal_link,
string  $import_id,
int  $subquestion_index,
string  $type,
string  $value,
\DateTimeImmutable  $last_update 
)

Definition at line 38 of file assQuestionSuggestedSolutionTest.php.

References ILIAS\TA\Questions\assQuestionSuggestedSolutionsDatabaseRepository\buildSuggestedSolution().

48  return $this->buildSuggestedSolution(
49  $id,
50  $question_id,
51  $internal_link,
52  $import_id,
53  $subquestion_index,
54  $type,
55  $value,
56  $last_update
57  );
58  }
buildSuggestedSolution(int $id, int $question_id, string $internal_link, string $import_id, int $subquestion_index, string $type, string $value, \DateTimeImmutable $last_update)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23
+ Here is the call graph for this function:

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