\QuizAnswerCorrectHelper

Quiz answer correct Helper

Add your application-wide methods in the class below, your helpers will inherit them.

Summary

Methods
Properties
Constants
getCorrect()
$helpers
No constants found
_getCorrect()
_getSingleSelectCorrect()
_getMultipleSelectCorrect()
_getWordCorrect()
_getMultipleWordCorrect()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$helpers

$helpers : array

Other helpers used by FormHelper

Type

array

Methods

getCorrect()

getCorrect(array  $question, array  $answer) : string

正解表示

Parameters

array $question

問題

array $answer

回答

Returns

string —

正解の文字列

_getCorrect()

_getCorrect(integer  $type, array  $corrects) : string

正解表示

Parameters

integer $type

問題タイプ

array $corrects

正解

Returns

string —

正解の文字列

_getSingleSelectCorrect()

_getSingleSelectCorrect(array  $correct) : string

択一選択正解表示

Parameters

array $correct

正解

Returns

string —

正解の文字列

_getMultipleSelectCorrect()

_getMultipleSelectCorrect(array  $correct) : string

複数選択正解表示

Parameters

array $correct

正解

Returns

string —

正解の文字列

_getWordCorrect()

_getWordCorrect(array  $correct) : string

単語正解表示

Parameters

array $correct

正解

Returns

string —

正解の文字列

_getMultipleWordCorrect()

_getMultipleWordCorrect(array  $corrects) : string

単語複数正解表示

Parameters

array $corrects

正解

Returns

string —

正解の文字列