source: Dev/trunk/classes/SurveyAnswerDatabaseInterface.php @ 40

Last change on this file since 40 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
4require 'rdfConstants.php';
5
6// Include RAP Library to write RDF files
7define("RDFAPI_INCLUDE_DIR", "rdfapi/");
8include(RDFAPI_INCLUDE_DIR . "RDFAPI.php");
9
10
11
12class 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.