ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct () | |
getSeed () | |
setSeed ($seed) | |
buildRandomSeed () | |
buildSeedFromString ($string) | |
shuffle ($array) | |
Protected Attributes | |
$seed | |
Private Member Functions | |
initSeed ($seed) | |
shuffleArray ($array) | |
mtShuffle ($orderedArray) | |
isMtRandomizerAvailable () | |
Definition at line 11 of file class.ilArrayElementShuffler.php.
ilArrayElementShuffler::__construct | ( | ) |
Definition at line 20 of file class.ilArrayElementShuffler.php.
References buildRandomSeed(), and setSeed().
ilArrayElementShuffler::buildRandomSeed | ( | ) |
Definition at line 44 of file class.ilArrayElementShuffler.php.
Referenced by __construct(), and shuffle().
ilArrayElementShuffler::buildSeedFromString | ( | $string | ) |
string | $string |
Definition at line 54 of file class.ilArrayElementShuffler.php.
ilArrayElementShuffler::getSeed | ( | ) |
Definition at line 28 of file class.ilArrayElementShuffler.php.
References $seed.
Referenced by shuffle().
|
private |
integer | $seed |
Definition at line 74 of file class.ilArrayElementShuffler.php.
References $seed, and isMtRandomizerAvailable().
Referenced by shuffle().
|
private |
Definition at line 119 of file class.ilArrayElementShuffler.php.
Referenced by initSeed(), and shuffleArray().
|
private |
array | $orderedArray |
Definition at line 103 of file class.ilArrayElementShuffler.php.
Referenced by shuffleArray().
ilArrayElementShuffler::setSeed | ( | $seed | ) |
integer | $seed |
Definition at line 36 of file class.ilArrayElementShuffler.php.
References $seed.
Referenced by __construct().
ilArrayElementShuffler::shuffle | ( | $array | ) |
array | $array |
Definition at line 63 of file class.ilArrayElementShuffler.php.
References buildRandomSeed(), getSeed(), initSeed(), and shuffleArray().
Referenced by assClozeGap\getItems(), and shuffleArray().
|
private |
array | $array |
Definition at line 89 of file class.ilArrayElementShuffler.php.
References isMtRandomizerAvailable(), mtShuffle(), and shuffle().
Referenced by shuffle().
|
protected |
Definition at line 16 of file class.ilArrayElementShuffler.php.
Referenced by getSeed(), initSeed(), and setSeed().