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

Last change on this file since 58 was 45, checked in by basvannuland, 14 years ago

new file structure. surveys/users/application DBs in data folder

File size: 638 bytes
RevLine 
[31]1<?php
2
3// Survey class as intermediate for storing data from the site to the RDF database
[45]4require_once 'rdfConstants.php';
[31]5
6// Include RAP Library to write RDF files
7include(RDFAPI_INCLUDE_DIR . "RDFAPI.php");
8
9
10
11class SurveyAnswerDatabaseInterface
12{               
13        protected $surveyAnswerRDFWriter;
14        protected $surveyAnswerRDFReader;
15 
16
[40]17    public function __construct($surveyID,$userID)
18    {                                   
19                $this->surveyAnswerRDFWriter = new SurveyAnswerRDFWriter($surveyUID,$userID);
[31]20                $this->surveyAnswerRDFReader = new SurveyAnswerRDFReader($surveyUID);
21    }
22       
[40]23        public function setSurveyAnswerInfo($surveyInfo)
24        {
25
26        }       
[33]27}
[31]28?>
Note: See TracBrowser for help on using the repository browser.