source: Dev/branches/jQueryUI/client/widgets_old/DbDataSelectionWidget.php @ 249

Last change on this file since 249 was 249, checked in by hendrikvanantwerpen, 13 years ago

This one's for Subversion, because it's so close...

First widget (stripped down sequencer).
Seperated client and server code in two direcotry trees.

File size: 709 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    public function __construct() {
21        $dbi = new DatabaseInterface();
22       
23        $this->sessions = $dbi->get("Session", array());
24        $this->gamedata = $dbi->get("Application", array());
25    }
26
27    public function Javascript() {
28        ?>
29        <script type='text/javascript' src="js/generalScripts.js"></script>
30        <script type='text/javascript' src="js/dashboardScripts.js"></script>
31        <?php
32
33    }
34
35}
36?>
Note: See TracBrowser for help on using the repository browser.