Class AC.data.UserList
Represents a user list.
Defined in: Utility.js.
Constructor Attributes | Constructor Name and Description |
---|---|
AC.data.UserList(msg)
Creates a user list from the specified message.
|
Method Attributes | Method Name and Description |
---|---|
Gets the length of the user list.
|
|
getUser(index)
Gets the user from the user list based on the specified index.
|
Class Detail
AC.data.UserList(msg)
Creates a user list from the specified message.
- Parameters:
- msg
- a JSON message
Method Detail
getLength()
Gets the length of the user list.
- Returns:
- the length of the user list
getUser(index)
Gets the user from the user list based on the specified index.
- Parameters:
- {int} index
- the index to use in getting the user
- Returns:
- the user at the specified index