-
Notifications
You must be signed in to change notification settings - Fork 3
Application Stub Calls
joemelt101 edited this page Apr 18, 2016
·
3 revisions
##Landing Page None – this is a static webpage with links
User login(string email, string password)
User getLoggedInUserOrFail()
User getLoggedInUserOrFail()
User createAccount(string email1, string email2, string username, string password1, string password2)
User getLoggedInUserOrFail()
User
+ User[] search(string searchString, SearchType searchType)
+ string getAlias()
+ string getStatus()
+ Location getLocation()
+ Game[] getGames()
User getLoggedInUserOrFail()
User
+ string getAlias()
+ bool setAlias(string alias)
+ string getUsername()
+ string getStatus()
+ bool setStatus(Status newStatus)
+ string getEmail()
+ bool setEmail(string newEmail)
+ Location getLocation()
+ bool setLocation(string city, string state, string zipcode)
+ Game[] getGames()
+ bool setGames(Game[] games)
+ bool addGame(Game game)
+ bool removeGame(Game game)
User getLoggedInUserOrFail()
User
+ int getUserID()
+ string getAlias()
+ string getUsername()
+ string getStatus()
+ string getEmail()
+ Location getLocation()
+ User[] getFriends()
+ Game[] getGames()
+ User[] search(string searchString, SearchType searchType)
Needs: $_POST['id'] ==> The id to load for the dashboard, if none supplied, will assume user from getLoggedInUserOrFail()
User getLoggedInUserOrFail()
User
+ int getUserID()
+ string getAlias()
+ string getUsername()
+ string getStatus()
+ string getEmail()
+ Location getLocation()
+ User[] getFriends()
+ Game[] getGames()
+ User[] search(string searchString, SearchType searchType)