Ignore:
Timestamp:
02/20/12 16:27:19 (13 years ago)
Author:
hendrikvanantwerpen
Message:
  • [Client] Moved pages in subtree of rft/, allowing controllers next to them.
  • [Client] Created questions page, gives overview and allows adding.
  • [Client] Page controllers inherit from _Page, because the previous mechanism w

asn't working.

  • [Client] Added new user registration.
  • [Server] Changed user passwords to passwordHash/passwordSalt combination.
  • [Server] Added simple object marshalling and unmarshalling to preserve types.
  • [Server] Added ResearchToolObjectInterface? with static create() method. Implemented for all model classes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/server/classes/models/SurveyInstance.php

    r271 r274  
    242242        }
    243243
     244    public static function create($obj) {
     245        return new SurveyInstance($obj->uid, $obj->survey, $obj->starttime,
     246                $obj->endtime, $obj->open, $obj->presetanswers,
     247                $obj->answersets);
     248    }
     249
    244250}
    245251
Note: See TracChangeset for help on using the changeset viewer.