◆ __construct()
◆ destroy()
Delete online information for a user
- Parameters
-
- Returns
- bool TRUE on success
◆ gc()
Garbage Collection
Delete all online information that has not been updated for a certain time
- Parameters
-
int | $expire | Expiration time in seconds |
◆ getAll()
Get an array of online information
- Parameters
-
- Returns
- array Array of associative arrays of online information
◆ getCount()
Count the number of online users
- Parameters
-
- Returns
- bool
◆ write()
write |
( |
|
$uid, |
|
|
|
$uname, |
|
|
|
$time, |
|
|
|
$module, |
|
|
|
$ip |
|
) |
| |
Write online information to the database
- Parameters
-
int | $uid | UID of the active user |
string | $uname | Username |
int | $time | Timestamp |
int | $module | Current module id |
string | $ip | User's IP address |
◆ $db
◆ $table
The documentation for this class was generated from the following file: