Last change
on this file since 144 was
144,
checked in by fpvanagthoven, 13 years ago
|
Fixed mkdir call in ApplicationConnector?.php, now actually makes a directory instead of errors.
Cleaning up of pipeline Sequencer, smaller icons, etc. Trying to get non-db version of editor working properly, then integrate db calls.
|
File size:
750 bytes
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | /* |
---|
4 | * To change this template, choose Tools | Templates |
---|
5 | * and open the template in the editor. |
---|
6 | */ |
---|
7 | |
---|
8 | /** |
---|
9 | * Placeholder class, for testing of pipelineEditor.php only. |
---|
10 | * Will eventually be replaced by functioning Questionnaire, Notice, Dashboard and Application objects in array steps[]. |
---|
11 | * |
---|
12 | * @author Thijs Schipper |
---|
13 | */ |
---|
14 | class Step { |
---|
15 | |
---|
16 | public $type; |
---|
17 | public $name; |
---|
18 | public $id; |
---|
19 | |
---|
20 | public function __construct($t, $n, $i) { |
---|
21 | |
---|
22 | if (strtolower($t) == "application" || strtolower($t) == "dashboard" || strtolower($t) == "questionnaire") { |
---|
23 | $this->name = $n; |
---|
24 | $this->type = $t; |
---|
25 | $this->id = $i; |
---|
26 | } |
---|
27 | else { |
---|
28 | die("Invalid type given: ".$t."\n $n $i"); |
---|
29 | } |
---|
30 | } |
---|
31 | |
---|
32 | } |
---|
33 | |
---|
34 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.