whos_online::num_users (public)

 whos_online::num_users

Defined in packages/acs-tcl/tcl/whos-online-procs.tcl

Get the number of registered users currently online, and not invisible

Partial Call Graph (max 5 caller/called nodes):
%3 test_whos_online__check_online_visibility whos_online__check_online_visibility (test acs-tcl) whos_online::num_users whos_online::num_users test_whos_online__check_online_visibility->whos_online::num_users whos_online::user_ids whos_online::user_ids (public) whos_online::num_users->whos_online::user_ids packages/acs-subsite/www/group-master.tcl packages/acs-subsite/ www/group-master.tcl packages/acs-subsite/www/group-master.tcl->whos_online::num_users packages/openacs-default-theme/lib/plain-master.tcl packages/openacs-default-theme/ lib/plain-master.tcl packages/openacs-default-theme/lib/plain-master.tcl->whos_online::num_users packages/openacs-default-theme/lib/plain-streaming-head.tcl packages/openacs-default-theme/ lib/plain-streaming-head.tcl packages/openacs-default-theme/lib/plain-streaming-head.tcl->whos_online::num_users

Testcases:
whos_online__check_online_visibility
Source code:
    # We might want to optimize this, but for now, let's just do it this way:
    return [llength [whos_online::user_ids]]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: