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/SurveyDatabaseInterface.php

    r31 r40  
    11<?php
    2 // Survey class as intermediate for storing data from the site to the RDF database
     2// Survey database interface class as intermediate for storing data from the site to the RDF database
    33require 'rdfConstants.php';
    44
     
    1515 
    1616
    17     public function __construct($surveyID=null)
     17    public function __construct($surveyID)
    1818    {
    1919                if($surveyID == null)
     
    104104                        while (false !== ($file = readdir($handle))) {
    105105                                if(strstr($file, 'survey_'))
    106                                         $surveyIDs[] = substr($file,0,strlen($file)-4);
     106                                        $surveyIDs[] = substr($file,7,strlen($file)-11);
    107107                        }
    108108                }
     
    116116                return $surveys;
    117117        }
     118       
    118119}
    119120?>
Note: See TracChangeset for help on using the changeset viewer.