Stud.IP  5.4
likert_evaluation.php File Reference

Variables

 $options = $vote->questiondata['options']
 
if(count($answers) > 0) foreach($options as $option_index=> $option) $names = []
 
foreach($answers as $answer) if($option_index===0 &&count($answers)) Ø<?=htmlReady(str_replace('.', ',',(string) round( $average, 2)+1)) ?></div ><? endif ?><? $bubble_width=70;$font_size=2.5;if( $countAnswers===1) { $bubble_width/=3;$font_size/=3;} elseif( $countAnswers===2) { $bubble_width/=2;$font_size/=2;} elseif( $countAnswers===3) { $bubble_width/=1.5;$font_size/=1.5;} ?><? if(count( $answers) > return false = count($names) > 0 ? 'title="'.htmlReady(implode(', ', $names)).'"' : ''
 
title else = round(100 * $hits / $countAnswers)
 
title _ = _("gespeichert")
 

Variable Documentation

◆ $names

if (count( $answers) > 0) foreach ( $options as $option_index=> $option) $names = []

◆ $options

$options = $vote->questiondata['options']

◆ _

< div class="progress"></div >< div class="progresstext"></div ></div ></div >< label style="cursor: pointer">< input type="file" id="fileupload" multiple onChange="STUDIP.Messages.upload_from_input(this)" style="display: none"><?=Icon::create( 'upload', 'clickable', [ 'title'=> _ = _("gespeichert")

◆ else

title else = round(100 * $hits / $countAnswers)

◆ false

return false = count($names) > 0 ? 'title="'.htmlReady(implode(', ', $names)).'"' : ''