Changeset 157 for Dev/trunk/classes/AnswerConnector.php
- Timestamp:
- 11/18/11 09:33:18 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/classes/AnswerConnector.php
r149 r157 55 55 $this->load(); 56 56 $keys = array_keys($arguments); 57 $uid = " ?uid"; $question = "?question_code"; $value= "";57 $uid = ""; $question = ""; $value = ""; 58 58 if(in_array("uid", $keys)) 59 $uid = ' \''.$arguments["uid"].'\'';59 $uid = 'predicates:uid \''.$arguments["uid"].'\''; 60 60 if(in_array("question", $keys)) 61 $question = ' \''.$arguments["question"].'\'';61 $question = 'predicates:question_code \''.$arguments["question"].'\''; 62 62 if(in_array("values", $keys)) 63 63 { … … 77 77 78 78 predicates:uid ?uid ; 79 predicates:question_code ?question_code; 80 81 predicates:uid ' . $uid . ' 82 predicates:question_code ' . $question . ' 83 ' . $value . ' 79 predicates:question_code ?question_code ; 80 ' . $uid . $question . $value . ' 84 81 }'; 85 82
Note: See TracChangeset
for help on using the changeset viewer.