- Timestamp:
- 10/24/11 16:46:44 (14 years ago)
- Location:
- Dev/branches/jos-branch/classes
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/jos-branch/classes/DatabaseInterface.php
r138 r140 21 21 private $userConnector; 22 22 private $surveyConnector; 23 private $respondentConnector; 23 24 24 25 /** … … 31 32 $this->userConnector = new UserConnector(); 32 33 $this->surveyConnector = new SurveyConnector(); 34 $this->respondentConnector = new RespondentConnector(); 33 35 } 34 36 … … 54 56 case "survey": 55 57 return $this->surveyConnector->get($arguments); 58 case "respondent": 59 return $this->respondentConnector->get($arguments); 56 60 } 57 61 } … … 76 80 case "Survey": 77 81 $this->surveyConnector->set($rToolObject); 82 case "Respondent": 83 $this->respondentConnector->set($rToolObject); 78 84 } 79 85 } -
Dev/branches/jos-branch/classes/UserConnector.php
r138 r140 16 16 17 17 /** 18 * Constructor for ApplicationConnector.18 * Constructor for RespondentConnector. 19 19 */ 20 20 public function __construct() … … 50 50 * Gets the array of User objects belonging to arguments supplied. 51 51 * @param type $arguments : An array containing zero or more of the following keys: 52 * 'uid', 'name', 'password' , 'style'52 * 'uid', 'name', 'password' 53 53 */ 54 54 public function get($arguments) {
Note: See TracChangeset
for help on using the changeset viewer.