root / drupal7 / sites / all / modules / webform / templates / webform-analysis-component.tpl.php @ feca1e4a
1 |
<?php
|
---|---|
2 |
|
3 |
/**
|
4 |
* @file
|
5 |
* Template for rendering an individual component's analysis data.
|
6 |
*
|
7 |
* Available variables:
|
8 |
* - $component: The component whose analysis is being rendered.
|
9 |
* - $component_analysis: A renderable containing this components analysis.
|
10 |
* - $data: An array of array containing the analysis data. Contains the keys:
|
11 |
* - table_header: If this table has more than a single column, an array
|
12 |
* of header labels.
|
13 |
* - table_rows: If this component has a table that should be rendered, an
|
14 |
* array of values.
|
15 |
*/
|
16 |
?>
|
17 |
<div class="<?php print $classes; ?>"> |
18 |
<div class="webform-analysis-component-inner"> |
19 |
<h3><?php print check_plain($component['name']); ?></h3> |
20 |
<?php print drupal_render_children($component_analysis); ?> |
21 |
</div>
|
22 |
</div>
|