ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Public Member Functions | |
__construct (ilDBInterface $db, ilObjTest $testOBJ, ilTestRandomQuestionSetSourcePoolDefinitionFactory $sourcePoolDefinitionFactory) | |
Constructor. More... | |
addDefinition (ilTestRandomQuestionSetSourcePoolDefinition $sourcePoolDefinition) | |
isLostPool ($poolId) | |
hasLostPool () | |
getLostPools () | |
getLostPool ($poolId) | |
isTrashedPool ($poolId) | |
hasTrashedPool () | |
getTrashedPools () | |
setTrashedPools ($trashedPools) | |
hasDefinition ($sourcePoolDefinitionId) | |
getDefinition ($sourcePoolDefinitionId) | |
getDefinitionBySourcePoolId ($sourcePoolId) | |
getDefinitionIds () | |
getDefinitionCount () | |
loadDefinitions () | |
deleteDefinitions () | |
getNextPosition () | |
savedDefinitionsExist () | |
areAllUsedPoolsAvailable () | |
rewind () | |
current () | |
key () | |
next () | |
valid () | |
getNonAvailablePools () | |
Protected Member Functions | |
addLostPool (ilTestRandomQuestionSetNonAvailablePool $lostPool) | |
Protected Attributes | |
$db = null | |
$testOBJ = null | |
$lostPools = array() | |
$trashedPools = array() | |
Private Attributes | |
$sourcePoolDefinitions = array() | |
$sourcePoolDefinitionFactory = null | |
Definition at line 11 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::__construct | ( | ilDBInterface | $db, |
ilObjTest | $testOBJ, | ||
ilTestRandomQuestionSetSourcePoolDefinitionFactory | $sourcePoolDefinitionFactory | ||
) |
Constructor.
ilDBInterface | $db | |
ilObjTest | $testOBJ |
Definition at line 53 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References $db, $sourcePoolDefinitionFactory, and $testOBJ.
ilTestRandomQuestionSetSourcePoolDefinitionList::addDefinition | ( | ilTestRandomQuestionSetSourcePoolDefinition | $sourcePoolDefinition | ) |
Definition at line 60 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References ilTestRandomQuestionSetSourcePoolDefinition\getId().
Referenced by loadDefinitions().
|
protected |
Definition at line 65 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References ilTestRandomQuestionSetNonAvailablePool\getId().
Referenced by loadDefinitions().
ilTestRandomQuestionSetSourcePoolDefinitionList::areAllUsedPoolsAvailable | ( | ) |
Definition at line 350 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References hasLostPool(), and hasTrashedPool().
ilTestRandomQuestionSetSourcePoolDefinitionList::current | ( | ) |
Definition at line 376 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::deleteDefinitions | ( | ) |
Definition at line 261 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::getDefinition | ( | $sourcePoolDefinitionId | ) |
Definition at line 128 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by hasDefinition().
ilTestRandomQuestionSetSourcePoolDefinitionList::getDefinitionBySourcePoolId | ( | $sourcePoolId | ) |
Definition at line 138 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::getDefinitionCount | ( | ) |
Definition at line 158 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::getDefinitionIds | ( | ) |
Definition at line 153 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::getLostPool | ( | $poolId | ) |
Definition at line 85 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References isLostPool().
ilTestRandomQuestionSetSourcePoolDefinitionList::getLostPools | ( | ) |
Definition at line 80 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References $lostPools.
Referenced by getNonAvailablePools().
ilTestRandomQuestionSetSourcePoolDefinitionList::getNextPosition | ( | ) |
Definition at line 292 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References array.
ilTestRandomQuestionSetSourcePoolDefinitionList::getNonAvailablePools | ( | ) |
Definition at line 405 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References getLostPools(), and getTrashedPools().
Referenced by ilTestRandomQuestionSetNonAvailablePoolsTableGUI\addColumns().
ilTestRandomQuestionSetSourcePoolDefinitionList::getTrashedPools | ( | ) |
Definition at line 108 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References $trashedPools.
Referenced by getNonAvailablePools().
ilTestRandomQuestionSetSourcePoolDefinitionList::hasDefinition | ( | $sourcePoolDefinitionId | ) |
Definition at line 123 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References getDefinition().
ilTestRandomQuestionSetSourcePoolDefinitionList::hasLostPool | ( | ) |
Definition at line 75 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by areAllUsedPoolsAvailable().
ilTestRandomQuestionSetSourcePoolDefinitionList::hasTrashedPool | ( | ) |
Definition at line 100 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by areAllUsedPoolsAvailable().
ilTestRandomQuestionSetSourcePoolDefinitionList::isLostPool | ( | $poolId | ) |
Definition at line 70 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by getLostPool(), and loadDefinitions().
ilTestRandomQuestionSetSourcePoolDefinitionList::isTrashedPool | ( | $poolId | ) |
Definition at line 95 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::key | ( | ) |
Definition at line 384 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by valid().
ilTestRandomQuestionSetSourcePoolDefinitionList::loadDefinitions | ( | ) |
Definition at line 164 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References $query, $res, $row, $trashedPools, addDefinition(), addLostPool(), array, isLostPool(), setTrashedPools(), ilTestRandomQuestionSetNonAvailablePool\UNAVAILABILITY_STATUS_LOST, and ilTestRandomQuestionSetNonAvailablePool\UNAVAILABILITY_STATUS_TRASHED.
ilTestRandomQuestionSetSourcePoolDefinitionList::next | ( | ) |
Definition at line 392 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::rewind | ( | ) |
Definition at line 368 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
ilTestRandomQuestionSetSourcePoolDefinitionList::savedDefinitionsExist | ( | ) |
ilTestRandomQuestionSetSourcePoolDefinitionList::setTrashedPools | ( | $trashedPools | ) |
array | $trashedPools |
Definition at line 116 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References $trashedPools.
Referenced by loadDefinitions().
ilTestRandomQuestionSetSourcePoolDefinitionList::valid | ( | ) |
Definition at line 400 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
References key().
|
protected |
Definition at line 18 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by __construct().
|
protected |
Definition at line 40 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by getLostPools().
|
private |
Definition at line 35 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by __construct().
|
private |
Definition at line 30 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
|
protected |
Definition at line 25 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by __construct().
|
protected |
Definition at line 45 of file class.ilTestRandomQuestionSetSourcePoolDefinitionList.php.
Referenced by getTrashedPools(), loadDefinitions(), and setTrashedPools().