CommentPagerTest::testCommentNewPageIndicator in core/modules/comment/tests/comment.test
Tests comment_new_page_count().
CommentPagerTest::testCommentOrderingThreading in core/modules/comment/tests/comment.test
Tests comment ordering and threading.
CommentPagerTest::testCommentPaging in core/modules/comment/tests/comment.test
Confirms comment paging works correctly with flat and threaded comments.
comment_get_display_ordinal in core/modules/comment/comment.module
Gets the display ordinal for a comment, starting from 0.
comment_get_thread in core/modules/comment/comment.module
Retrieves comments for a thread.
comment_new_page_count in core/modules/comment/comment.module
Calculates the page number for the first new comment.
_comment_get_modes in core/modules/comment/comment.module
Returns an array of viewing modes for comment listings.