File: version.php

package info (click to toggle)
flyspray 0.9.8-10
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 2,444 kB
  • ctags: 3,031
  • sloc: php: 17,634; sh: 301; makefile: 12
file content (69 lines) | stat: -rw-r--r-- 2,316 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<?php
// +----------------------------------------------------------------------
// | PHP Source                                                           
// +----------------------------------------------------------------------
// | Copyright (C) 2005 by Jeffery Fernandez <developer@jefferyfernandez.id.au>
// +----------------------------------------------------------------------
// |
// | Copyright: See COPYING file that comes with this distribution
// +----------------------------------------------------------------------
//

if (!defined('VALID_FLYSPRAY')) die('Sorry you cannot access this file directly');

/**
 * Class to store information about Version and release
 * information of Helptickets.
 */
class Version
{
  /** @var string Product */
  var $mProductName;
  /** @var string Project unix name */
  var $mUnixName;
  /** @var int Main Release Level */
  var $mRelease;
  /** @var string Development Status */
  var $mDevStatus;
  /** @var int Sub Release Level */
  var $mDevLevel;
  /** @var string Release Codename */
  var $mCodename;
  /** @var string Release Date */
  var $mRelDate;
  /** @var string Release Time */
  var $mRelTime;
  /** @var string Timezone */
  var $mRelTimeZone;
  /** @var string Copyright Text */
  var $mCopyright;
  /** @var string Author */
  var $mAuthor;
  /** @var string mUrl */
  var $mUrl;

  var $mVersion = '';

  /**
   * Constructor for the class. Initialises Project version related info.
   */
  function Version()
  {
    // initialise values
    $this->mProductName = 'Flyspray';
    $this->mUnixName = 'flyspray';
    $this->mRelease = '0.9';
    $this->mDevStatus = 'devel';
    $this->mDevLevel = '8';
    $this->mCodename = 'Karate Kid';
    $this->mRelDate = '23/10/2005';
    $this->mRelTime = '10:00';
    $this->mRelTimeZone = 'GMT +10';
    $this->mCopyright = 'Copyright 2005 &copy; Tony Collins.  All rights reserved.';
    $this->mAuthor = 'Tony Collins';
    $this->mUrl = '<a href="http://flyspray.rocks.cc/" title="Flyspray home page">Flyspray</a> is Free Software released under the GNU/GPL License.';
    $this->mVersion = $this->mProductName . " " . $this->mRelease . ".". $this->mDevLevel . " " . $this->mDevStatus . " [".$this->mCodename ."] " . $this->mRelDate . " " . $this->mRelTime . " " . $this->mRelTimeZone;
  }

}
?>