ThreadedCommentAuthorCollection
Contents
[
Hide
]ThreadedCommentAuthorCollection class
Represents all persons who .
new ThreadedCommentAuthorCollection()
Methods
| Name | Description |
|---|---|
| add(name, userId, providerId) | Adds one thread comment person. |
| add() | Reserved for internal use. |
| clear() | |
| contains() | Reserved for internal use. |
| get(index) | Gets the person who create threaded comments. |
| get(name) | Gets the person who create threaded comments. |
| get() | Reserved for internal use. |
| getCount() | |
| getCurrentPerson() | Gets and sets the current user. |
| indexOf(author) | Gets the index of ThreadedCommentAuthor object |
| indexOf() | Reserved for internal use. |
| iterator() | |
| removeAt() | |
| setCurrentPerson() | Gets and sets the current user. |
add(name, userId, providerId)
Adds one thread comment person.
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of the person. |
| userId | String | |
| providerId | String | The id of the provider |
Returns: Number — Number
add()
Reserved for internal use.
clear()
contains()
Reserved for internal use.
get(index)
Gets the person who create threaded comments.
| Parameter | Type | Description |
|---|---|---|
| index | Number | The index |
Returns: ThreadedCommentAuthor — ThreadedCommentAuthor
get(name)
Gets the person who create threaded comments.
| Parameter | Type | Description |
|---|---|---|
| name | String | The name of the author. |
Returns: ThreadedCommentAuthor — ThreadedCommentAuthor
get()
Reserved for internal use.
getCount()
getCurrentPerson()
Gets and sets the current user.
indexOf(author)
Gets the index of ThreadedCommentAuthor object
| Parameter | Type | Description |
|---|---|---|
| author | ThreadedCommentAuthor | The ThreadedCommentAuthor object |
Returns: Number — Number The index in the ThreadedCommentAuthor collection
indexOf()
Reserved for internal use.
iterator()
removeAt()
setCurrentPerson()
Gets and sets the current user.