Changeset 109 for Dev/trunk/classes/QuestionRDFReader.php
- Timestamp:
- 09/19/11 15:15:22 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/classes/QuestionRDFReader.php
r105 r109 16 16 if (!is_dir($this->filePath)) 17 17 mkdir($this->filePath); 18 18 19 } 19 20 … … 28 29 { 29 30 return false; 31 } 32 } 33 34 public function reloadQuestions() 35 { 36 // Create empty MemModel 37 $factory = new ModelFactory(); 38 $this->model = $factory->getDefaultModel(); 39 40 if(file_exists($this->filePath.'questions.rdf')) 41 { 42 $this->model->load($this->filePath.'questions.rdf'); 30 43 } 31 44 }
Note: See TracChangeset
for help on using the changeset viewer.