Changeset 286 for Dev/branches/jos-branch
- Timestamp:
- 02/24/12 10:10:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/branches/jos-branch/server/classes/models/SurveyInstance.php
r285 r286 242 242 } 243 243 244 /** 245 * Creates a new SurveyInstance object out of the given object. 246 */ 247 public static function create($obj) 248 { 249 return new Survey($obj->uid, $obj->survey, $obj->starttime, $obj->endtime, $obj->open, $obj->presetanswers, $obj->answersets); 250 } 251 244 252 } 245 253
Note: See TracChangeset
for help on using the changeset viewer.