ThreadedCommentAuthorCollection

ThreadedCommentAuthorCollection class

Represents all persons who .

new ThreadedCommentAuthorCollection()

Methods

NameDescription
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.

ParameterTypeDescription
nameStringThe name of the person.
userIdString
providerIdStringThe 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.

ParameterTypeDescription
indexNumberThe index

Returns: ThreadedCommentAuthor — ThreadedCommentAuthor

get(name)

Gets the person who create threaded comments.

ParameterTypeDescription
nameStringThe 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

ParameterTypeDescription
authorThreadedCommentAuthorThe 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.