| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Collaboration diagram for ilTestRandomQuestionSetPoolDeriver:Public Member Functions | |
| __construct (private readonly ilDBInterface $db, private readonly ilComponentRepository $component_repository, private readonly ilObjTest $test_obj, private readonly ilTestRandomQuestionSetSourcePoolDefinitionList $source_pool_definition_list, private int $owner_id, private int $target_container_ref) | |
| derive (ilTestRandomQuestionSetNonAvailablePool $non_available_pool) | |
Private Member Functions | |
| getQuestionsForPool (ilTestRandomQuestionSetNonAvailablePool $non_available_pool) | |
| createNewPool (ilTestRandomQuestionSetNonAvailablePool $non_available_pool) | |
| copyQuestionsToPool (ilObjQuestionPool $pool, array $questions) | |
| updateTestQuestionStage (array $pool_qid_by_test_qid_map) | |
| filterForQuestionRelatedTaxonomies (array $taxonomy_ids, array $related_question_ids) | |
| duplicateTaxonomies (array $pool_qid_by_test_qid_map, ilObjQuestionPool $pool) | |
| buildOriginalTaxonomyFilterForDerivedPool (ilQuestionPoolDuplicatedTaxonomiesKeysMap $tax_keys_map, array $mapped_taxonomy_filter) | |
| updateRelatedSourcePoolDefinitions (ilQuestionPoolDuplicatedTaxonomiesKeysMap $tax_keys_map, int $derived_pool_id, int $non_available_pool_id) | |
Private Attributes | |
| ilQuestionPoolFactory | $pool_factory | 
Definition at line 27 of file class.ilTestRandomQuestionSetPoolDeriver.php.
| ilTestRandomQuestionSetPoolDeriver::__construct | ( | private readonly ilDBInterface | $db, | 
| private readonly ilComponentRepository | $component_repository, | ||
| private readonly ilObjTest | $test_obj, | ||
| private readonly ilTestRandomQuestionSetSourcePoolDefinitionList | $source_pool_definition_list, | ||
| private int | $owner_id, | ||
| private int | $target_container_ref | ||
| ) | 
Definition at line 31 of file class.ilTestRandomQuestionSetPoolDeriver.php.
      
  | 
  private | 
Definition at line 157 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References ilQuestionPoolDuplicatedTaxonomiesKeysMap\getMappedTaxNodeId(), and ilQuestionPoolDuplicatedTaxonomiesKeysMap\getMappedTaxonomyId().
Referenced by updateRelatedSourcePoolDefinitions().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 92 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References ilObject\getId().
Referenced by derive().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 79 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References ilTestRandomQuestionSetNonAvailablePool\getTitle().
Referenced by derive().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestRandomQuestionSetPoolDeriver::derive | ( | ilTestRandomQuestionSetNonAvailablePool | $non_available_pool | ) | 
Definition at line 42 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References copyQuestionsToPool(), createNewPool(), duplicateTaxonomies(), ilTestRandomQuestionSetNonAvailablePool\getId(), getQuestionsForPool(), updateRelatedSourcePoolDefinitions(), and updateTestQuestionStage().
Referenced by ilTestRandomQuestionSetConfigGUI\deriveNewPoolsCmd().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 138 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References filterForQuestionRelatedTaxonomies(), ilObject\getId(), and ilObject\getType().
Referenced by derive().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 114 of file class.ilTestRandomQuestionSetPoolDeriver.php.
Referenced by duplicateTaxonomies().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 59 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References ilTestRandomQuestionSetNonAvailablePool\getId(), and assQuestion\instantiateQuestion().
Referenced by derive().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 180 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References buildOriginalTaxonomyFilterForDerivedPool().
Referenced by derive().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 105 of file class.ilTestRandomQuestionSetPoolDeriver.php.
References assQuestion\resetOriginalId(), and assQuestion\saveOriginalId().
Referenced by derive().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 29 of file class.ilTestRandomQuestionSetPoolDeriver.php.