$view
$view : object
The View on which this Element is drawn
Used to draw the admin screen on which users can create groups, delete groups and add and delete users and roles to a group
Elements are classes are used to render portions of a web page which might be common to several views like a view there is supposed to minimal php code in an element
renderGroupStatistics(array $data)
Draws group statistics related to number of users, popular threads and wiki pages.
array | $data | from the admin controller with a 'CURRENT_GROUP' field providing information about the current group as well as info about the current CSRF_TOKEN |
renderGraphStats(array $data)
Draws chart of the group statistics in terms of number of views in different time periods.
array | $data | from the social component controller containing statistical information of specific group item including time period, number of views, update timestamp |