Changeset 158 for Dev/trunk/classes/SessionConnector.php
- Timestamp:
- 11/18/11 11:07:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/classes/SessionConnector.php
r157 r158 47 47 48 48 /** 49 * Get the Sessions corresponding to the arguments 50 * @ param type $arguments 51 * Arguments can be one or more of the following: 52 * uid, title, datetime, applications, surveys, answersets 53 * Where applications, surveys and answersets are arrays containing ids 49 * function get() 50 * @param type $arguments : An array containing one or more of the following elements: 51 * 'uid', 'title', 'datetime', 'applications', 'surveys', 'answersets' 54 52 */ 55 53 public function get($arguments) … … 119 117 } 120 118 /** 121 * function getPipeline 122 * Get the application and survey objects of the Session in order119 * function getPipeline() 120 * param type $uid : The Session uid for which the pipeline should be retrieved. 123 121 */ 124 122 private function getPipeline($uid) … … 145 143 146 144 /** 147 * function getAnswerSets 148 * Get the answersets belonging to the given session145 * function getAnswerSets() 146 * @param type $uid : The Session uid for which the answerSets should be retrieved. 149 147 */ 150 148 private function getAnswerSets($uid) … … 163 161 164 162 /** 165 * Save the given Session object in the file.166 * @param type $rToolObjects 163 * function set() 164 * @param type $rToolObjects : The ResearchToolObject to be saved. 167 165 */ 168 166 public function set($rToolObject) … … 188 186 $sessionTimestamp = new Literal($rToolObject->datetime->getTimestamp()); 189 187 // $sessionTimestamp = new Literal($rToolObject->datetime); // Edit of above function, allows for creation of session, but still results in errors... 190 188 $predicateTimestamp = new Resource(DATETIME); 191 189 $this->model->add(new Statement($resourceSession, $predicateTimestamp, $sessionTimestamp)); 192 190
Note: See TracChangeset
for help on using the changeset viewer.