Changeset 268 for Dev/branches/jos-branch/server/classes/models/Answer.php
- Timestamp:
- 02/17/12 13:21:55 (13 years ago)
- Location:
- Dev/branches/jos-branch/server
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/jos-branch/server
-
Property
svn:ignore
set to
.testpage.php.swp
.rdfConstants.php.swp
-
Property
svn:ignore
set to
-
Dev/branches/jos-branch/server/classes/models
-
Property
svn:ignore
set to
.SurveyInstance.php.swp
.ApplicationInstance.php.swp
.AnswerSet.php.swp
.Answer.php.swp
.Question.php.swp
-
Property
svn:ignore
set to
-
Dev/branches/jos-branch/server/classes/models/Answer.php
r263 r268 40 40 if(is_string($this->question)) 41 41 { 42 $result = Question::get(array(" code" => $this->question));42 $result = Question::get(array("uid" => $this->question)); 43 43 if(!isset($result[0])) 44 44 return false; … … 73 73 //Query the model 74 74 $results = $model->sparqlQuery($querystring); 75 75 //An answer can have multiple values, get all these values for the answer instances found. 76 76 $answers = array(); 77 77 if(!empty($results))
Note: See TracChangeset
for help on using the changeset viewer.