GrouplistHelper
extends Helper
in package
This is a helper class is used to draw grouped view discussions for group feeds on a variety on elements such as ManageAccountElement, GroupfeedElement, ManagegroupElement.
Tags
Table of Contents
- __construct() : mixed
- The constructor at this point does nothing
- render() : mixed
- Method used to render grouped view discussions for group feeds on a variety on elements such as ManageAccountElement, GroupfeedElement, ManagegroupElement.
Methods
__construct()
The constructor at this point does nothing
public
__construct() : mixed
Return values
mixed —render()
Method used to render grouped view discussions for group feeds on a variety on elements such as ManageAccountElement, GroupfeedElement, ManagegroupElement.
public
render(array<string|int, mixed> $groups, string $token, object $icon_helper, string $controller[, string $context = "groups" ][, bool $is_exact_group_query = false ]) : mixed
Parameters
- $groups : array<string|int, mixed>
-
groups to draw infor about their discussion feeds
- $token : string
-
CSRF_TOKEN used for links
- $icon_helper : object
-
helper class for drawing buttons
- $controller : string
-
controller that view is being rendered on
- $context : string = "groups"
-
name of context element will be rendered in can be groups, manageaccount, admin, etc
- $is_exact_group_query : bool = false
-
whether being used to draw info arising from a search query looking for exactly one group (i.e., a query of form =group_name)