A handler for "Who is Online?" information
Methods | ||||
---|---|---|---|---|
public
|
__construct(XoopsDatabase $db)
Constructor
Constructor Parameters
|
# | ||
public
|
destroy(int $uid): bool
Delete online information for a user
Delete online information for a user Parameters
ReturnsTRUE on success |
# | ||
public
|
gc(int $expire)
Garbage Collection
Garbage Collection Delete all online information that has not been updated for a certain time Parameters
|
# | ||
public
|
getAll(CriteriaElement|CriteriaCompo|null $criteria = null): array|false
Get an array of online information
Get an array of online information Parameters
ReturnsArray of associative arrays of online information |
# | ||
public
|
getCount(CriteriaElement|CriteriaCompo|null $criteria = null): int
Count the number of online users
Count the number of online users Parameters
|
# |
Properties | |||
---|---|---|---|
public
|
object
|
$db
|
# |
public
|
string
|
$table
table name
table name |
# |