◆ __construct()
◆ destroy()
Delete online information for a user
- Paramètres
-
- Renvoie
- bool TRUE on success
◆ gc()
Garbage Collection
Delete all online information that has not been updated for a certain time
- Paramètres
-
int | $expire | Expiration time in seconds |
◆ getAll()
Get an array of online information
- Paramètres
-
- Renvoie
- array Array of associative arrays of online information
◆ getCount()
Count the number of online users
- Paramètres
-
- Renvoie
- bool
◆ write()
write |
( |
|
$uid, |
|
|
|
$uname, |
|
|
|
$time, |
|
|
|
$module, |
|
|
|
$ip |
|
) |
| |
Write online information to the database
- Paramètres
-
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
La documentation de cette classe a été générée à partir du fichier suivant :