Gentics Portal.Node PHP API
 All Classes Namespaces Functions Variables Pages
ResultsWidget.php
1 <div class="vote-widgets-results-widget">
2  <?php if(Yii::app()->getModule('vote')->debug): ?>
3  <div>Debug info:</div>
4  <div>In percents: <?php echo $this->inPercents ? 'true' : 'false' ?></div>
5  <div>Precision: <?php echo $this->precision ?></div>
6  <div>Show for unvoted: <?php echo $this->unvotedShow ? 'true' : 'false' ?></div>
7  <br/>
8  <?php endif ?>
9 <?php $this->widget('vote.widgets.ChartWidget', array(
10  'title' => $question->text,
11  'rows' => $statistics,
12  'units' => $this->inPercents ? '%' : '',
13  )) ?>
14 
15 </div>