Stud.IP
5.4
|
Variables | |
$answers = $vote->questiondata['options'] | |
$indexMap = count($answers) ? range(0, count($answers) - 1) : [] | |
if($vote->questiondata['randomize']) | $response = $vote->getMyAnswer() |
$responseData = $response['answerdata'] ? $response['answerdata']->getArrayCopy() : [] | |
$answers = $vote->questiondata['options'] |
if ( $vote->questiondata[ 'randomize']) $response = $vote->getMyAnswer() |
$responseData = $response['answerdata'] ? $response['answerdata']->getArrayCopy() : [] |