new ThreadedCommentAuthorCollection()

Methods

add(name, userId, providerId) → Number

Adds one thread comment person.

Parameters

Name Type Optional Description

name

String

 

The name of the person.

userId

String

 

providerId

String

 

The id of the provider

Returns

Number 

add()

Reserved for internal use.

clear()

contains()

Reserved for internal use.

get(index) → ThreadedCommentAuthor

Gets the person who create threaded comments.

Parameter

Name Type Optional Description

index

Number

 

The index

Returns

ThreadedCommentAuthor 

get(name) → ThreadedCommentAuthor

Gets the person who create threaded comments.

Parameter

Name Type Optional Description

name

String

 

The name of the author.

Returns

ThreadedCommentAuthor 

get()

Reserved for internal use.

getCount()

getCurrentPerson()

Gets and sets the current user.

indexOf(author) → Number

Gets the index of ThreadedCommentAuthor object

Parameter

Name Type Optional Description

author

ThreadedCommentAuthor

 

The ThreadedCommentAuthor object

Returns

Number The index in the ThreadedCommentAuthor collection

indexOf()

Reserved for internal use.

iterator()

removeAt()

setCurrentPerson()

Gets and sets the current user.