new UserList()
A List of the users
- Source:
- User/UserList.js, line 34
- See:
Properties:
Name | Type | Description |
---|---|---|
users |
Array | Array of users. |
Example
Load customers
var userList = new UserList();
userList.load({
onSuccess:function(){
alert('List Loaded! '+userList.users.length+' users on list');
}
});
Methods
-
loadPreset()
-
Overrides Resource's loadPreset method.
- Source:
- User/UserList.js, line 47
- See:
-
loadSet(rObject)
-
Overrides Resource's loadSet method to set local variables after request.
Parameters:
Name Type Description rObject
json JSON representation of the loaded data. - Source:
- User/UserList.js, line 65
- See: