Last change
on this file since 130 was
130,
checked in by jkraaijeveld, 14 years ago
|
Added support for questions and users
|
File size:
520 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | /** |
---|
4 | * Description of Application |
---|
5 | * |
---|
6 | * @author fpvanagthoven |
---|
7 | */ |
---|
8 | class 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 | if(!isset ($uid)) |
---|
17 | { |
---|
18 | $uid = md5(uniqid(rand(), true)); |
---|
19 | } |
---|
20 | $this->uid = $uid; |
---|
21 | $this->title = $title; |
---|
22 | $this->description = $description; |
---|
23 | $this->style = $style; |
---|
24 | } |
---|
25 | |
---|
26 | } |
---|
27 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.