Function __global->get_users_online

Definitions

sources/users2.php

  • Get database rows of all the online members.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$longer_time boolean required parameter N/A N/A Whether to use a longer online-time -- the session expiry-time
$filter ?MEMBER required parameter N/A N/A We really only need to make sure we get the status for this user, although at this functions discretion more may be returned and the row won't be there if the user is not online (null: no filter). May not be the guest ID
$count integer required parameter N/A N/A The total online members, returned by reference

Return

  • Database rows (null: too many)
  • Type: ?array
  • Set: N/A
  • Range: N/A