Ignore:
Timestamp:
07/25/11 15:11:23 (14 years ago)
Author:
basvannuland
Message:

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

File:
1 edited

Legend:

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

    r44 r45  
    66       
    77        protected $surveyUID;
     8        protected $filePath;
    89       
    910    public function __construct($surveyUID)
     
    1415               
    1516                $this->surveyUID = $surveyUID;
     17                $this->filePath = 'data/surveys/survey_'.$this->surveyUID.'.rdf';
    1618        }
    1719       
    1820        public function loadSurvey()
    1921        {
    20                 $this->model->load('surveys/survey_'.$this->surveyUID.'.rdf');
     22                $this->model->load($this->filePath);
    2123        }
    2224       
     
    155157                $factory = new ModelFactory();
    156158                $tempmodel= $factory->getDefaultModel();
    157                 $tempmodel->load('surveys/survey_'.$surveyID.'.rdf');
     159                $tempmodel->load('data/surveys/survey_'.$surveyID.'.rdf');
    158160               
    159161                $querystring = '
Note: See TracChangeset for help on using the changeset viewer.