Changeset 45 for Dev/trunk/classes/SurveyRDFReader.php
- Timestamp:
- 07/25/11 15:11:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/classes/SurveyRDFReader.php
r44 r45 6 6 7 7 protected $surveyUID; 8 protected $filePath; 8 9 9 10 public function __construct($surveyUID) … … 14 15 15 16 $this->surveyUID = $surveyUID; 17 $this->filePath = 'data/surveys/survey_'.$this->surveyUID.'.rdf'; 16 18 } 17 19 18 20 public function loadSurvey() 19 21 { 20 $this->model->load( 'surveys/survey_'.$this->surveyUID.'.rdf');22 $this->model->load($this->filePath); 21 23 } 22 24 … … 155 157 $factory = new ModelFactory(); 156 158 $tempmodel= $factory->getDefaultModel(); 157 $tempmodel->load(' surveys/survey_'.$surveyID.'.rdf');159 $tempmodel->load('data/surveys/survey_'.$surveyID.'.rdf'); 158 160 159 161 $querystring = '
Note: See TracChangeset
for help on using the changeset viewer.