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/Answer.php

    r263 r268  
    4040                if(is_string($this->question))
    4141                {
    42                         $result = Question::get(array("code" => $this->question));
     42                        $result = Question::get(array("uid" => $this->question));
    4343                        if(!isset($result[0]))
    4444                                return false;
     
    7373                //Query the model
    7474                $results = $model->sparqlQuery($querystring);   
    75                 //An answer can have multiple values, get all these values for the answer instances found.
     75        //An answer can have multiple values, get all these values for the answer instances found.
    7676                $answers = array();
    7777                if(!empty($results))
Note: See TracChangeset for help on using the changeset viewer.