| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Inheritance diagram for ilTestRandomQuestionSetConfig:
 Collaboration diagram for ilTestRandomQuestionSetConfig:Data Fields | |
| const | QUESTION_AMOUNT_CONFIG_MODE_PER_TEST = 'TEST' | 
| const | QUESTION_AMOUNT_CONFIG_MODE_PER_POOL = 'POOL' | 
Private Member Functions | |
| dbRecordExists (int $test_id) | |
| updateDbRecord (int $test_id) | |
| insertDbRecord (int $test_id) | |
| registerClonedSourcePoolDefinitionIdMapping (ilObjTest $cloneTestOBJ, array $definitionIdMap) | |
| buildSourcePoolDefinitionList (ilObjTest $test_obj) | |
| buildStagingPoolBuilder (ilObjTest $test_obj) | |
Private Attributes | |
| bool | $requirePoolsWithHomogeneousScoredQuestions = null | 
| string | $questionAmountConfigurationMode = null | 
| int | $questionAmountPerTest = null | 
| int | $lastQuestionSyncTimestamp = null | 
| array | $buildableMessages = [] | 
Definition at line 29 of file class.ilTestRandomQuestionSetConfig.php.
| ilTestRandomQuestionSetConfig::arePoolsWithHomogeneousScoredQuestionsRequired | ( | ) | 
Definition at line 45 of file class.ilTestRandomQuestionSetConfig.php.
References $requirePoolsWithHomogeneousScoredQuestions.
Referenced by getSelectableQuestionPools(), insertDbRecord(), and updateDbRecord().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 325 of file class.ilTestRandomQuestionSetConfig.php.
Referenced by cloneQuestionSetRelatedData(), doesQuestionSetRelatedDataExist(), getCommaSeparatedSourceQuestionPoolLinks(), hasSourcePoolDefinitions(), isQuestionAmountConfigComplete(), isQuestionSetBuildable(), and removeQuestionSetRelatedData().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 337 of file class.ilTestRandomQuestionSetConfig.php.
References ILIAS\Repository\logger().
Referenced by cloneQuestionSetRelatedData().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::cloneQuestionSetRelatedData | ( | ilObjTest | $clone_test_obj | ) | 
Definition at line 289 of file class.ilTestRandomQuestionSetConfig.php.
References buildSourcePoolDefinitionList(), buildStagingPoolBuilder(), cloneToDbForTestId(), ilObjTest\getTestId(), loadFromDb(), registerClonedSourcePoolDefinitionIdMapping(), and updateLastQuestionSyncTimestampForTestId().
 Here is the call graph for this function:| ilTestRandomQuestionSetConfig::cloneToDbForTestId | ( | int | $test_id | ) | 
Definition at line 147 of file class.ilTestRandomQuestionSetConfig.php.
References insertDbRecord().
Referenced by cloneQuestionSetRelatedData().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 161 of file class.ilTestRandomQuestionSetConfig.php.
References $res.
Referenced by doesQuestionSetRelatedDataExist(), and saveToDb().
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::deleteFromDb | ( | ) | 
Definition at line 152 of file class.ilTestRandomQuestionSetConfig.php.
Referenced by removeQuestionSetRelatedData().
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::doesQuestionSetRelatedDataExist | ( | ) | 
Definition at line 259 of file class.ilTestRandomQuestionSetConfig.php.
References buildSourcePoolDefinitionList(), and dbRecordExists().
 Here is the call graph for this function:| ilTestRandomQuestionSetConfig::doesSelectableQuestionPoolsExist | ( | ) | 
Definition at line 373 of file class.ilTestRandomQuestionSetConfig.php.
References getSelectableQuestionPools().
 Here is the call graph for this function:| ilTestRandomQuestionSetConfig::getBuildableMessages | ( | ) | 
Definition at line 102 of file class.ilTestRandomQuestionSetConfig.php.
References $buildableMessages.
| ilTestRandomQuestionSetConfig::getCommaSeparatedSourceQuestionPoolLinks | ( | ) | 
Definition at line 378 of file class.ilTestRandomQuestionSetConfig.php.
References $refId, ilObject\_getAllReferences(), and buildSourcePoolDefinitionList().
 Here is the call graph for this function:| ilTestRandomQuestionSetConfig::getLastQuestionSyncTimestamp | ( | ) | 
Definition at line 97 of file class.ilTestRandomQuestionSetConfig.php.
References $lastQuestionSyncTimestamp.
Referenced by insertDbRecord(), isQuestionSetConfigured(), and updateDbRecord().
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::getQuestionAmountConfigurationMode | ( | ) | 
Definition at line 55 of file class.ilTestRandomQuestionSetConfig.php.
References $questionAmountConfigurationMode.
Referenced by ilTestRandomQuestionSetGeneralConfigFormGUI\fetchValidQuestionAmountConfigModeWithFallbackModePerTest(), insertDbRecord(), isQuestionAmountConfigurationModePerPool(), isQuestionAmountConfigurationModePerTest(), and updateDbRecord().
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::getQuestionAmountPerTest | ( | ) | 
Definition at line 87 of file class.ilTestRandomQuestionSetConfig.php.
References $questionAmountPerTest.
Referenced by insertDbRecord(), isQuestionAmountConfigComplete(), and updateDbRecord().
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::getSelectableQuestionPools | ( | ) | 
Definition at line 362 of file class.ilTestRandomQuestionSetConfig.php.
References arePoolsWithHomogeneousScoredQuestionsRequired().
Referenced by doesSelectableQuestionPoolsExist().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::hasSourcePoolDefinitions | ( | ) | 
Definition at line 231 of file class.ilTestRandomQuestionSetConfig.php.
References buildSourcePoolDefinitionList().
Referenced by isQuestionSetConfigured().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::initFromArray | ( | array | $data_array | ) | 
Definition at line 107 of file class.ilTestRandomQuestionSetConfig.php.
References setLastQuestionSyncTimestamp(), setPoolsWithHomogeneousScoredQuestionsRequired(), setQuestionAmountConfigurationMode(), and setQuestionAmountPerTest().
Referenced by loadFromDb().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 190 of file class.ilTestRandomQuestionSetConfig.php.
References arePoolsWithHomogeneousScoredQuestionsRequired(), getLastQuestionSyncTimestamp(), getQuestionAmountConfigurationMode(), and getQuestionAmountPerTest().
Referenced by cloneToDbForTestId(), and saveToDb().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::isQuestionAmountConfigComplete | ( | ) | 
Definition at line 212 of file class.ilTestRandomQuestionSetConfig.php.
References buildSourcePoolDefinitionList(), getQuestionAmountPerTest(), and isQuestionAmountConfigurationModePerPool().
Referenced by isQuestionSetConfigured().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::isQuestionAmountConfigurationModePerPool | ( | ) | 
Definition at line 60 of file class.ilTestRandomQuestionSetConfig.php.
References getQuestionAmountConfigurationMode().
Referenced by ilTestRandomQuestionSetBuilder\getInstance(), and isQuestionAmountConfigComplete().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::isQuestionAmountConfigurationModePerTest | ( | ) | 
Definition at line 65 of file class.ilTestRandomQuestionSetConfig.php.
References getQuestionAmountConfigurationMode().
 Here is the call graph for this function:| ilTestRandomQuestionSetConfig::isQuestionSetBuildable | ( | ) | 
Definition at line 237 of file class.ilTestRandomQuestionSetConfig.php.
References buildSourcePoolDefinitionList(), ilTestRandomQuestionSetBuilder\getInstance(), ILIAS\Repository\lng(), and ILIAS\Repository\logger().
Referenced by isQuestionSetConfigured().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::isQuestionSetConfigured | ( | ) | 
Definition at line 204 of file class.ilTestRandomQuestionSetConfig.php.
References getLastQuestionSyncTimestamp(), hasSourcePoolDefinitions(), isQuestionAmountConfigComplete(), and isQuestionSetBuildable().
 Here is the call graph for this function:| ilTestRandomQuestionSetConfig::isResultTaxonomyFilterSupported | ( | ) | 
Definition at line 357 of file class.ilTestRandomQuestionSetConfig.php.
| ilTestRandomQuestionSetConfig::isValidQuestionAmountConfigurationMode | ( | string | $amountMode | ) | 
Definition at line 70 of file class.ilTestRandomQuestionSetConfig.php.
| ilTestRandomQuestionSetConfig::loadFromDb | ( | ) | 
Definition at line 123 of file class.ilTestRandomQuestionSetConfig.php.
References $res, and initFromArray().
Referenced by cloneQuestionSetRelatedData().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 313 of file class.ilTestRandomQuestionSetConfig.php.
References ilCopyWizardOptions\_getInstance(), ilObject\getRefId(), ilObjTest\getTmpCopyWizardCopyId(), and ILIAS\Repository\logger().
Referenced by cloneQuestionSetRelatedData().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::removeQuestionSetRelatedData | ( | ) | 
Definition at line 274 of file class.ilTestRandomQuestionSetConfig.php.
References buildSourcePoolDefinitionList(), deleteFromDb(), and ILIAS\Repository\logger().
 Here is the call graph for this function:| ilTestRandomQuestionSetConfig::saveToDb | ( | ) | 
Definition at line 137 of file class.ilTestRandomQuestionSetConfig.php.
References dbRecordExists(), insertDbRecord(), and updateDbRecord().
 Here is the call graph for this function:| ilTestRandomQuestionSetConfig::setLastQuestionSyncTimestamp | ( | int | $lastQuestionSyncTimestamp | ) | 
Definition at line 92 of file class.ilTestRandomQuestionSetConfig.php.
References $lastQuestionSyncTimestamp.
Referenced by initFromArray().
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::setPoolsWithHomogeneousScoredQuestionsRequired | ( | bool | $requirePoolsWithHomogeneousScoredQuestions | ) | 
Definition at line 40 of file class.ilTestRandomQuestionSetConfig.php.
References $requirePoolsWithHomogeneousScoredQuestions.
Referenced by initFromArray().
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::setQuestionAmountConfigurationMode | ( | ?string | $questionAmountConfigurationMode | ) | 
Definition at line 50 of file class.ilTestRandomQuestionSetConfig.php.
References $questionAmountConfigurationMode.
Referenced by initFromArray().
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::setQuestionAmountPerTest | ( | ?int | $questionAmountPerTest | ) | 
Definition at line 82 of file class.ilTestRandomQuestionSetConfig.php.
References $questionAmountPerTest.
Referenced by initFromArray().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 174 of file class.ilTestRandomQuestionSetConfig.php.
References arePoolsWithHomogeneousScoredQuestionsRequired(), getLastQuestionSyncTimestamp(), getQuestionAmountConfigurationMode(), and getQuestionAmountPerTest().
Referenced by saveToDb().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTestRandomQuestionSetConfig::updateLastQuestionSyncTimestampForTestId | ( | int | $test_id, | 
| int | $timestamp | ||
| ) | 
Definition at line 344 of file class.ilTestRandomQuestionSetConfig.php.
Referenced by cloneQuestionSetRelatedData().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 38 of file class.ilTestRandomQuestionSetConfig.php.
Referenced by getBuildableMessages().
      
  | 
  private | 
Definition at line 37 of file class.ilTestRandomQuestionSetConfig.php.
Referenced by getLastQuestionSyncTimestamp(), and setLastQuestionSyncTimestamp().
      
  | 
  private | 
Definition at line 35 of file class.ilTestRandomQuestionSetConfig.php.
Referenced by getQuestionAmountConfigurationMode(), and setQuestionAmountConfigurationMode().
      
  | 
  private | 
Definition at line 36 of file class.ilTestRandomQuestionSetConfig.php.
Referenced by getQuestionAmountPerTest(), and setQuestionAmountPerTest().
      
  | 
  private | 
Definition at line 34 of file class.ilTestRandomQuestionSetConfig.php.
Referenced by arePoolsWithHomogeneousScoredQuestionsRequired(), and setPoolsWithHomogeneousScoredQuestionsRequired().
| const ilTestRandomQuestionSetConfig::QUESTION_AMOUNT_CONFIG_MODE_PER_POOL = 'POOL' | 
Definition at line 32 of file class.ilTestRandomQuestionSetConfig.php.
Referenced by ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilTestRandomQuestionSetGeneralConfigFormGUI\fetchValidQuestionAmountConfigModeWithFallbackModePerTest(), ilTestRandomQuestionSetConfigTest\testIsValidQuestionAmountConfigurationMode(), ilTestRandomQuestionSetConfigTest\testQuestionAmountConfigurationModePerPool(), and ilTestRandomQuestionSetConfigTest\testQuestionAmountConfigurationModePerTest().
| const ilTestRandomQuestionSetConfig::QUESTION_AMOUNT_CONFIG_MODE_PER_TEST = 'TEST' | 
Definition at line 31 of file class.ilTestRandomQuestionSetConfig.php.
Referenced by ilTestRandomQuestionSetGeneralConfigFormGUI\build(), ilTestRandomQuestionSetGeneralConfigFormGUI\fetchValidQuestionAmountConfigModeWithFallbackModePerTest(), ilTestRandomQuestionSetConfigTest\testIsValidQuestionAmountConfigurationMode(), ilTestRandomQuestionSetConfigTest\testQuestionAmountConfigurationModePerPool(), and ilTestRandomQuestionSetConfigTest\testQuestionAmountConfigurationModePerTest().