- 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/Question.php
r256 r268 68 68 $model->add(new Statement($resourceQuestion,$predicateUid,$questionUid)); 69 69 70 $questionQCode = new Literal($this-> uid);70 $questionQCode = new Literal($this->code); 71 71 $predicateQCode = new Resource(QCODE); 72 72 $model->add(new Statement($resourceQuestion,$predicateQCode,$questionQCode)); … … 124 124 predicates:question_category ?category ; 125 125 '. ResearchToolObject::createArguments($arguments) . ' 126 }';126 }'; 127 127 128 128 129 129 //Create the querystring 130 130 $results = $model->sparqlQuery($querystring); 131 132 131 133 132 $questions = array(); … … 144 143 145 144 /** 146 * Gets the answers belonging to the given uid.145 * Gets the preset answers belonging to the given uid. 147 146 * @param type $uid : The uid of the Question in question (haha, pun). 148 147 */
Note: See TracChangeset
for help on using the changeset viewer.