Changeset 40 for Dev/trunk/classes/SurveyDatabaseInterface.php
- Timestamp:
- 07/22/11 17:28:23 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/classes/SurveyDatabaseInterface.php
r31 r40 1 1 <?php 2 // Survey class as intermediate for storing data from the site to the RDF database2 // Survey database interface class as intermediate for storing data from the site to the RDF database 3 3 require 'rdfConstants.php'; 4 4 … … 15 15 16 16 17 public function __construct($surveyID =null)17 public function __construct($surveyID) 18 18 { 19 19 if($surveyID == null) … … 104 104 while (false !== ($file = readdir($handle))) { 105 105 if(strstr($file, 'survey_')) 106 $surveyIDs[] = substr($file, 0,strlen($file)-4);106 $surveyIDs[] = substr($file,7,strlen($file)-11); 107 107 } 108 108 } … … 116 116 return $surveys; 117 117 } 118 118 119 } 119 120 ?>
Note: See TracChangeset
for help on using the changeset viewer.