~dangarner/xibo/server-170alpha

« back to all changes in this revision

Viewing changes to server/install/upgradestep.class.php

  • Committer: Dan Garner
  • Date: 2014-08-17 12:38:20 UTC
  • Revision ID: dan@xibo.org.uk-20140817123820-bpw31pjac9z4h3w5
[cms] Theme for upgrade process.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/*
 
3
 * Xibo - Digital Signage - http://www.xibo.org.uk
 
4
 * Copyright (C) 2006-2014 Daniel Garner
 
5
 *
 
6
 * This file is part of Xibo.
 
7
 *
 
8
 * Xibo is free software: you can redistribute it and/or modify
 
9
 * it under the terms of the GNU Affero General Public License as published by
 
10
 * the Free Software Foundation, either version 3 of the License, or
 
11
 * any later version. 
 
12
 *
 
13
 * Xibo is distributed in the hope that it will be useful,
 
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
 * GNU Affero General Public License for more details.
 
17
 *
 
18
 * You should have received a copy of the GNU Affero General Public License
 
19
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
 
20
 */ 
 
21
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
 
22
 
 
23
class UpgradeStep 
 
24
{
 
25
        protected $db;
 
26
        protected $q;
 
27
        protected $a;
 
28
 
 
29
        public function __construct($db)
 
30
        {
 
31
                $this->db       =& $db;
 
32
                $this->q        = array();
 
33
                $this->a        = array();
 
34
        }
 
35
 
 
36
        public function Boot()
 
37
        {
 
38
 
 
39
        }
 
40
 
 
41
        public function Questions()
 
42
        {
 
43
                return array();
 
44
        }
 
45
 
 
46
        public function ValidateQuestion($questionNumber,$response)
 
47
        {
 
48
                return true;
 
49
        }
 
50
}
 
51
?>