Stud.IP
5.4
|
Variables | |
$options = $vote->questiondata['options'] | |
$numTaskAnswers = count($vote->answers) | |
$results = array_fill(0, $numTaskAnswers, 0) | |
$results_users = array_fill(0, $numTaskAnswers, []) | |
if($numTaskAnswers > 0) | $ordered_results = $results |
$ordered_answer_options = [] | |
$ordered_users = [] | |
if(count($vote->answers) > 0 &&$numTaskAnswers > 0) | opacity = formatReady($vote->questiondata['description']) |
id | |
endif $countAnswersforeach($options as $key=> $answer)($countAnswers &&isset($results[$key]))?round((int) $results[$key]/$countAnswers *100) background | size = $vote->questionnaire->countAnswers() |
background | position |
background | image |
background | repeat |
widthif($filtered!==null &&$filtered==$key)('Zeige wieder alle Ergebnisse ohne Filterung an.')?>" onclick | else = $countAnswers |
widthif($filtered!==null &&$filtered==$key)('Zeige wieder alle Ergebnisse ohne Filterung an.')?>" onclick return | false |
$numTaskAnswers = count($vote->answers) |
$options = $vote->questiondata['options'] |
$ordered_answer_options = [] |
if ($numTaskAnswers > 0) $ordered_results = $results |
$ordered_users = [] |
$results = array_fill(0, $numTaskAnswers, 0) |
$results_users = array_fill(0, $numTaskAnswers, []) |
widthif ($filtered !== null && $filtered == $key) ('Zeige wieder alle Ergebnisse ohne Filterung an.') ?>" onclick else = $countAnswers |
widthif ($filtered !== null && $filtered == $key) ('Zeige wieder alle Ergebnisse ohne Filterung an.') ?>" onclick return false |
id |
background image |
if (count($vote->answers) > 0 &&$numTaskAnswers > 0) opacity = formatReady($vote->questiondata['description']) |
background position |
background repeat |
endif $countAnswersforeach ($options as $key => $answer) ($countAnswers &&isset($results[$key]))?round((int) $results[$key]/$countAnswers *100) background size = $vote->questionnaire->countAnswers() |