Elgg  Version master
Public Member Functions | Protected Attributes | List of all members
Elgg\Comments\ThreadPreloaderService Class Reference

Comments thread preloader. More...

Public Member Functions

 preloadThreads (array $comments)
 Preload the comment threads for the given comments. More...
 
 getChildren (int $comment_guid)
 Get the children of a comment. More...
 

Protected Attributes

 $children
 

Detailed Description

Comments thread preloader.

Since
4.1

Definition at line 12 of file ThreadPreloaderService.php.

Member Function Documentation

Elgg\Comments\ThreadPreloaderService::getChildren ( int  $comment_guid)

Get the children of a comment.

Parameters
int$comment_guidthe parent comment
Returns
[]

Definition at line 71 of file ThreadPreloaderService.php.

Elgg\Comments\ThreadPreloaderService::preloadThreads ( array  $comments)

Preload the comment threads for the given comments.

Parameters

Definition at line 26 of file ThreadPreloaderService.php.

Member Data Documentation

Elgg\Comments\ThreadPreloaderService::$children
protected

Definition at line 17 of file ThreadPreloaderService.php.


The documentation for this class was generated from the following file: