ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (ilDBInterface $db, ilObjTest $test_obj, ilTestRandomQuestionSetSourcePoolDefinitionFactory $source_pool_definition_factory) | |
addDefinition (ilTestRandomQuestionSetSourcePoolDefinition $source_pool_definition) | |
isLostPool (?int $pool_id) | |
hasLostPool () | |
getLostPools () | |
getLostPool (int $pool_id) | |
isTrashedPool (int $pool_id) | |
hasTrashedPool () | |
getTrashedPools () | |
setTrashedPools (array $trashed_pools) | |
hasDefinition (int $source_pool_definition_id) | |
getDefinition (int $source_pool_definition_id) | |
getDefinitionBySourcePoolId (int $source_pool_id) | |
getDefinitionIds () | |
getDefinitionCount () | |
loadDefinitions () | |
saveDefinitions () | |
deleteDefinitions () | |
getNextPosition () | |
getInvolvedSourcePoolIds () | |
getQuestionAmount () | |
savedDefinitionsExist () | |
hasTaxonomyFilters () | |
hasTypeFilters () | |
areAllUsedPoolsAvailable () | |
rewind () | |
current () | |
key () | |
next () | |
valid () | |
getNonAvailablePools () | |
Protected Member Functions | |
addLostPool (ilTestRandomQuestionSetNonAvailablePool $lost_pool) | |
Protected Attributes | |
ilDBInterface | $db |
ilObjTest | $test_obj |
array | $lost_pools = [] |
array | $trashed_pools = [] |
Private Attributes | |
array | $source_pool_definitions = [] |
ilTestRandomQuestionSetSourcePoolDefinitionFactory | $source_pool_definition_factory |
Definition at line 27 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::__construct | ( | ilDBInterface | $db, |
ilObjTest | $test_obj, | ||
ilTestRandomQuestionSetSourcePoolDefinitionFactory | $source_pool_definition_factory | ||
) |
Definition at line 36 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References $db, $source_pool_definition_factory, and $test_obj.
ilTestRandomQuestionSetSourcePoolDefinitionList::addDefinition | ( | ilTestRandomQuestionSetSourcePoolDefinition | $source_pool_definition | ) |
Definition at line 43 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId().
Referenced by loadDefinitions().
|
protected |
Definition at line 48 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References ilTestRandomQuestionSetNonAvailablePool\getId().
Referenced by loadDefinitions().
ilTestRandomQuestionSetSourcePoolDefinitionList::areAllUsedPoolsAvailable | ( | ) |
Definition at line 319 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References hasLostPool(), and hasTrashedPool().
ilTestRandomQuestionSetSourcePoolDefinitionList::current | ( | ) |
Definition at line 337 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References null.
ilTestRandomQuestionSetSourcePoolDefinitionList::deleteDefinitions | ( | ) |
Definition at line 230 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::getDefinition | ( | int | $source_pool_definition_id | ) |
Definition at line 104 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References null.
Referenced by hasDefinition().
ilTestRandomQuestionSetSourcePoolDefinitionList::getDefinitionBySourcePoolId | ( | int | $source_pool_id | ) |
Definition at line 113 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::getDefinitionCount | ( | ) |
Definition at line 131 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::getDefinitionIds | ( | ) |
Definition at line 126 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::getInvolvedSourcePoolIds | ( | ) |
Definition at line 263 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by ilTestRandomQuestionSetStagingPoolBuilder\build().
ilTestRandomQuestionSetSourcePoolDefinitionList::getLostPool | ( | int | $pool_id | ) |
Definition at line 68 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References isLostPool(), and null.
ilTestRandomQuestionSetSourcePoolDefinitionList::getLostPools | ( | ) |
Definition at line 63 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References $lost_pools.
Referenced by getNonAvailablePools().
ilTestRandomQuestionSetSourcePoolDefinitionList::getNextPosition | ( | ) |
Definition at line 258 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::getNonAvailablePools | ( | ) |
Definition at line 358 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References getLostPools(), and getTrashedPools().
ilTestRandomQuestionSetSourcePoolDefinitionList::getQuestionAmount | ( | ) |
Definition at line 274 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::getTrashedPools | ( | ) |
Definition at line 87 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References $trashed_pools.
Referenced by getNonAvailablePools().
ilTestRandomQuestionSetSourcePoolDefinitionList::hasDefinition | ( | int | $source_pool_definition_id | ) |
Definition at line 99 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References getDefinition(), and null.
ilTestRandomQuestionSetSourcePoolDefinitionList::hasLostPool | ( | ) |
Definition at line 58 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by areAllUsedPoolsAvailable().
ilTestRandomQuestionSetSourcePoolDefinitionList::hasTaxonomyFilters | ( | ) |
Definition at line 298 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::hasTrashedPool | ( | ) |
Definition at line 82 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by areAllUsedPoolsAvailable().
ilTestRandomQuestionSetSourcePoolDefinitionList::hasTypeFilters | ( | ) |
Definition at line 309 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::isLostPool | ( | ?int | $pool_id | ) |
Definition at line 53 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by getLostPool(), and loadDefinitions().
ilTestRandomQuestionSetSourcePoolDefinitionList::isTrashedPool | ( | int | $pool_id | ) |
Definition at line 77 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::key | ( | ) |
Definition at line 343 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by valid().
ilTestRandomQuestionSetSourcePoolDefinitionList::loadDefinitions | ( | ) |
Definition at line 137 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References $res, addDefinition(), addLostPool(), isLostPool(), setTrashedPools(), ilTestRandomQuestionSetNonAvailablePool\UNAVAILABILITY_STATUS_LOST, and ilTestRandomQuestionSetNonAvailablePool\UNAVAILABILITY_STATUS_TRASHED.
ilTestRandomQuestionSetSourcePoolDefinitionList::next | ( | ) |
Definition at line 348 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::rewind | ( | ) |
Definition at line 332 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::savedDefinitionsExist | ( | ) |
Definition at line 288 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References $res.
ilTestRandomQuestionSetSourcePoolDefinitionList::saveDefinitions | ( | ) |
Definition at line 206 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::setTrashedPools | ( | array | $trashed_pools | ) |
Definition at line 92 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References $trashed_pools.
Referenced by loadDefinitions().
ilTestRandomQuestionSetSourcePoolDefinitionList::valid | ( | ) |
Definition at line 353 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
|
protected |
Definition at line 29 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by __construct().
|
protected |
Definition at line 33 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by getLostPools().
|
private |
Definition at line 32 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by __construct().
|
private |
Definition at line 31 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
|
protected |
Definition at line 30 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by __construct().
|
protected |
Definition at line 34 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by getTrashedPools(), and setTrashedPools().