CMS  Version 3.9
questionnaire_spreadsheet.inc
Go to the documentation of this file.
1 <?php
2 /*
3  * Show the results for one survey in the format:
4  *
5  * Company Name Question 1 Question 2...
6  * Acme Answer 1 Answer 2
7  *
8  */
9 
10 
11 Fakoli::using("questionnaire");
12 Fakoli::usingFeature("data_view");
13 
14 $questionnaire_id = checkNumeric($_GET["questionnaire_id"]);
15 
17  redirect("/index");
18 
20 $page->page_title = "Spreadsheet View of {$questionnaire->title}";
21 
23 
25 
27 
28 $script .= $view->writeScript();
29 $script .= $mgr->writeScript();
30 
31 $tabs->writeHTML();
32 ?>
33 <div id="questionnaire_tab_border">
34 <?php
35 $mgr->drawEditQuestionNamesButton();
36 
37 $view->drawView();
38 ?>
39 </div>
$page
Definition: help.inc:39
static usingFeature()
Uses the specified framework feature(s).
Definition: core.inc:388
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition: core.inc:116