\QuizzesShuffleComponent

QuizzesShuffleComponent

Summary

Methods
Properties
Constants
shufflePage()
getNextPage()
shuffleChoice()
clear()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

shufflePage()

shufflePage(  $quiz) : void

shufflePage shuffled pages and write into session

Parameters

$quiz

getNextPage()

getNextPage(array  $quiz, integer  $nowPageSeq) : void

getNextPage get next page from shuffled pages

Parameters

array $quiz

小テスト

integer $nowPageSeq

現在のページ順番

shuffleChoice()

shuffleChoice(  $quiz) : void

shuffleChoice shuffled choices and write into session

Parameters

$quiz

clear()

clear(string  $quizKey = '') : void

clear

Parameters

string $quizKey

quiz key