Class Noodle.User.Model
Object
|
+--Noodle.Model
|
+--Noodle.User.Model
- class
Noodle.User.Model
- extends Noodle.Model
Base noodle user model methods.
Defined in user.js
Method Summary |
<static> Object
|
getProfile(<string> name)
Returns the profile attributes of this user.
|
<static> void
|
initialize()
Initialize noodle user model.
|
<static> void
|
onUpdateProfile(<event> event)
Handle update-profile events for this user.
|
<static> void
|
setProfile(<string> name, <object> value)
Sets the profile attributes of this user.
|
Noodle.User.Model
Noodle.User.Model()
getProfile
<static> Object getProfile(<string> name)
Returns the profile attributes of this user.
Parameters:
name
- Name of profile attribute to get.
Returns:
Individual profile property, if name specified; all profile attributes, if name not specified.
initialize
<static> void initialize()
Initialize noodle user model.
onUpdateProfile
<static> void onUpdateProfile(<event> event)
Handle update-profile events for this user.
setProfile
<static> void setProfile(<string> name, <object> value)
Sets the profile attributes of this user.
Parameters:
name
- Name of profile attribute to set.
value
- New value of the profile attribute.
Documentation generated by
JSDoc on Sun Sep 15 20:21:23 2019