Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
widgets
online_users
content.php
Go to the documentation of this file.
1
<?php
6
$num_display
=
sanitize_int
(
$vars
[
'entity'
]->num_display,
false
);
7
// set default value for display number
8
if
(!
$num_display
) {
9
$num_display
= 8;
10
}
11
12
echo
get_online_users
(array(
13
'pagination'
=>
false
,
14
'limit'
=>
$num_display
15
));
get_online_users
get_online_users(array $options=array())
Render a list of currently online users.
Definition:
statistics.php:103
echo
elgg echo
Translates a string.
Definition:
languages.js:43
$num_display
$num_display
Banned users admin widget.
Definition:
content.php:6
$vars
$vars['title']
Definition:
content.php:19
sanitize_int
sanitize_int($int, $signed=true)
Sanitizes an integer for database use.
Definition:
database.php:161
Generated on Sat Dec 21 2024 00:00:36 for Elgg by
1.8.11