source: Dev/branches/jos-branch/classes/Application.php @ 128

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

Finished ApplicationConnector?

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