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/ApplicationInstance.php

    r263 r274  
    167167
    168168        }
     169
     170    public static function create($obj) {
     171        return new ApplicationInstance($obj->uid, $obj->application,
     172                $obj->starttime, $obj->endtime, $obj->open, $obj->playerresults,
     173                $obj->groupresults, $obj->periodicresults);
     174    }
    169175}
    170176?>
Note: See TracChangeset for help on using the changeset viewer.