source: Dev/branches/Cartis/classes/dbDataSelectionWidget.php @ 227

Last change on this file since 227 was 227, checked in by cartis, 13 years ago
File size: 862 bytes
Line 
1<?php
2
3/*
4 * To change this template, choose Tools | Templates
5 * and open the template in the editor.
6 */
7
8/**
9 * Description of dbDataSelectionWidget
10 *
11 * @author CPS
12 */
13class dbDataSelectionWidget {
14
15    //Properties
16   
17    public $sessions;
18    public $gamedata;
19   
20    // toegevoegd questions
21    public $questions;
22   
23
24    public function __construct() {
25        $dbi = new DatabaseInterface();
26       
27        $this->sessions = $dbi->get("Session", array());
28        $this->gamedata = $dbi->get("Application", array());
29       
30// toegevoegd questions
31        $this->questions = $dbi->get("Question", array());
32    }
33
34    public function Javascript() {
35        ?>
36        <script type='text/javascript' src="js/generalScripts.js"></script>
37        <script type='text/javascript' src="js/dashboardScripts.js"></script>
38        <?php
39
40    }
41
42}
43?>
Note: See TracBrowser for help on using the repository browser.