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