Last change
on this file since 133 was
131,
checked in by jkraaijeveld, 14 years ago
|
Deleted previous database classes
Submitted (partial) new database connection
|
File size:
520 bytes
|
Rev | Line | |
---|
[56] | 1 | <?php |
---|
| 2 | |
---|
| 3 | /** |
---|
| 4 | * Description of Application |
---|
| 5 | * |
---|
| 6 | * @author fpvanagthoven |
---|
| 7 | */ |
---|
[131] | 8 | class Application extends ResearchToolObject{ |
---|
[78] | 9 | |
---|
[75] | 10 | public $title; |
---|
| 11 | public $description; |
---|
| 12 | public $style; |
---|
[56] | 13 | |
---|
[131] | 14 | public function __construct($uid = null, $title = null, $description = null, $style = null) |
---|
[78] | 15 | { |
---|
[131] | 16 | if(!isset ($uid)) |
---|
| 17 | { |
---|
| 18 | $uid = md5(uniqid(rand(), true)); |
---|
| 19 | } |
---|
| 20 | $this->uid = $uid; |
---|
[75] | 21 | $this->title = $title; |
---|
[78] | 22 | $this->description = $description; |
---|
| 23 | $this->style = $style; |
---|
[56] | 24 | } |
---|
| 25 | |
---|
| 26 | } |
---|
| 27 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.