Ignore:
Timestamp:
02/17/12 13:21:55 (13 years ago)
Author:
jkraaijeveld
Message:

Implemented SurveyInstance?

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
  • 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
  • Dev/branches/jos-branch/server/classes/models/Question.php

    r256 r268  
    6868        $model->add(new Statement($resourceQuestion,$predicateUid,$questionUid));
    6969       
    70         $questionQCode = new Literal($this->uid);
     70        $questionQCode = new Literal($this->code);
    7171        $predicateQCode = new Resource(QCODE);
    7272        $model->add(new Statement($resourceQuestion,$predicateQCode,$questionQCode));
     
    124124                predicates:question_category ?category ;
    125125                                '. ResearchToolObject::createArguments($arguments) . '
    126         }';
     126                        }';
    127127
    128128               
    129129        //Create the querystring
    130130        $results = $model->sparqlQuery($querystring);
    131 
    132131       
    133132        $questions = array();
     
    144143   
    145144    /**
    146      * Gets the answers belonging to the given uid.
     145     * Gets the preset answers belonging to the given uid.
    147146     * @param type $uid : The uid of the Question in question (haha, pun).
    148147     */
Note: See TracChangeset for help on using the changeset viewer.