Ignore:
Timestamp:
10/31/11 17:12:28 (14 years ago)
Author:
jkraaijeveld
Message:

Made lots of new connectors, stranded on Sessionconnector for now. Need to find a way to retain the order of applicaties and surveys of a pipeline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/jos-branch/classes/RespondentConnector.php

    r140 r143  
    7373            WHERE       
    7474            {
    75                     _user       predicates:resource_type        resources:user ;
     75                    _respondent predicates:resource_type        resources:respondent ;
    7676                                        predicates:uid ?uid ;
    7777                                        predicates:name ?name ;
    7878                                        predicates:password ?password ;
    79                                         predicates:uid ' . $uid . '
     79                                predicates:uid ' . $uid . '
    8080                                        predicates:name ' . $name . '
    8181                                        predicates:password ' . $password . '
    8282            }';
    83         echo $querystring;
    8483        //Query the model
    8584        $results = $this->model->sparqlQuery($querystring);
    86         $respondents = array();
     85                $respondents = array();
    8786        if(!empty($results))
    8887        {
     
    107106        $this->model->subtract($this->model->find($resourceRespondent, null, null));
    108107
     108                //Set the new values
    109109        $resourceRespondentType = new Resource(RESPONDENT);
    110110        $predicateRType = new Resource(RTYPE);
Note: See TracChangeset for help on using the changeset viewer.