Function __global->get_members_viewing

Definitions

sources/users2.php

  • Get a map of members viewing the specified software location.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: array

Parameters

Name Type Default Set Range Description
$page ?ID_TEXT Null N/A N/A The page they need to be viewing (null: environment current) (blank: don't care)
$type ?ID_TEXT Null N/A N/A The page-type they need to be viewing (null: environment current) (blank: don't care)
$id ?SHORT_TEXT Null N/A N/A The type-id they need to be viewing (null: environment current) (blank: don't care)
$forum_layer boolean False N/A N/A Whether this has to be done over the forum driver (multi site network)

Return

  • A map of member-IDs to rows about them (except for guest, which is a count) (null: Too many / disabled)
  • Type: ?array
  • Set: N/A
  • Range: N/A