source: Dev/trunk/classes_old/Application.php @ 188

Last change on this file since 188 was 136, checked in by jkraaijeveld, 14 years ago

Added old classes

File size: 689 bytes
Line 
1<?php
2
3/**
4 * Description of Application
5 *
6 * @author fpvanagthoven
7 */
8class Application {
9   
10    public $id;
11    public $title;
12    public $description;
13    public $style;
14
15    public function __construct($id = null, $title = null, $description = null, $style = null)
16    {
17        $this->id = $id;
18        $this->title = $title;
19        $this->description = $description;
20        $this->style = $style;
21    }
22   
23    public static function getApplication($info)
24    {
25        return new Application(
26                $info['applicationID'],
27                $info['applicationTitle'],
28                $info['applicationDescription'],
29                $info['applicationStyle']);
30    }
31
32}
33?>
Note: See TracBrowser for help on using the repository browser.