Elgg  Version master
Public Member Functions | List of all members
Elgg\Controllers\CommentEntityRedirector Class Reference

Redirect a comment url to the full view of the entity being commented on with the correct offset to show the (top) comment. More...

Public Member Functions

 __invoke (Request $request)
 Redirect to the comment in context of the containing page. More...
 

Detailed Description

Redirect a comment url to the full view of the entity being commented on with the correct offset to show the (top) comment.

Since
4.0

Definition at line 16 of file CommentEntityRedirector.php.

Member Function Documentation

Elgg\Controllers\CommentEntityRedirector::__invoke ( Request  $request)

Redirect to the comment in context of the containing page.

Parameters
Request$requestthe Elgg request
Returns
ResponseBuilder
Exceptions
EntityNotFoundException

Definition at line 26 of file CommentEntityRedirector.php.


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