he Who's Online Module displays the number of Anonymous Users (e.g. Guests) and Registered Users (ones logged-in) that are currently accessing the website.
It has two options:
The helper file has two functions:
public static function getOnlineCount()
It returns an array with the number of Users and Guests online. This information is stored in Joomla session table.
public static function getOnlineUserNames($params)
It returns an array with the names of the online users. This information is stored in Joomla session table.
Based on the display mode, the default layout file contains the output.