Last change
on this file since 41 was
40,
checked in by basvannuland, 14 years ago
|
added database readers and writers for application info and facilitator info
possible to store survey application and creator info
|
File size:
675 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | // Survey class as intermediate for storing data from the site to the RDF database
|
---|
4 | require 'rdfConstants.php';
|
---|
5 |
|
---|
6 | // Include RAP Library to write RDF files
|
---|
7 | define("RDFAPI_INCLUDE_DIR", "rdfapi/");
|
---|
8 | include(RDFAPI_INCLUDE_DIR . "RDFAPI.php");
|
---|
9 |
|
---|
10 |
|
---|
11 |
|
---|
12 | class SurveyAnswerDatabaseInterface
|
---|
13 | {
|
---|
14 | protected $surveyAnswerRDFWriter;
|
---|
15 | protected $surveyAnswerRDFReader;
|
---|
16 |
|
---|
17 |
|
---|
18 | public function __construct($surveyID,$userID)
|
---|
19 | {
|
---|
20 | $this->surveyAnswerRDFWriter = new SurveyAnswerRDFWriter($surveyUID,$userID);
|
---|
21 | $this->surveyAnswerRDFReader = new SurveyAnswerRDFReader($surveyUID);
|
---|
22 | }
|
---|
23 |
|
---|
24 | public function setSurveyAnswerInfo($surveyInfo)
|
---|
25 | {
|
---|
26 |
|
---|
27 | }
|
---|
28 | }
|
---|
29 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.