Ignore:
Timestamp:
07/22/11 17:28:23 (14 years ago)
Author:
basvannuland
Message:

added database readers and writers for application info and facilitator info

possible to store survey application and creator info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/classes/SurveyAnswerDatabaseInterface.php

    r33 r40  
    1616 
    1717
    18     public function __construct($surveyID=null)
    19     {
    20                 if($surveyID == null)
    21                         $surveyUID = md5( uniqid(rand(), true) );
    22                 else
    23                         $surveyUID = $surveyID;
    24                                        
    25                 $this->surveyAnswerRDFWriter = new SurveyAnswerRDFWriter($surveyUID);
     18    public function __construct($surveyID,$userID)
     19    {                                   
     20                $this->surveyAnswerRDFWriter = new SurveyAnswerRDFWriter($surveyUID,$userID);
    2621                $this->surveyAnswerRDFReader = new SurveyAnswerRDFReader($surveyUID);
    2722    }
    2823       
    29        
     24        public function setSurveyAnswerInfo($surveyInfo)
     25        {
     26
     27        }       
    3028}
    3129?>
Note: See TracChangeset for help on using the changeset viewer.