HOUSEKEEPING
in package
HOUSEKEEPING
Housekeeping tasks on startup
Table of Contents
Properties
Methods
- custom_session_gc() : mixed
- WIKINDX custom Garbage Collector
- statistics() : mixed
- Check if statistics need compiling and emailing out to registered users.
- tempStorage() : mixed
- Housekeeping: remove any rows in temp_storage older than 3 days
Properties
$db
object
private
mixed
$db
$session
object
private
mixed
$session
Methods
custom_session_gc()
WIKINDX custom Garbage Collector
private
custom_session_gc() : mixed
Call the session_gc() routine of PHP at the frequency defined by WIKINDX_SESSION_GC_FREQUENCY instead of the PHP default GC.
The custom session handler collects all expired sessions.
statistics()
Check if statistics need compiling and emailing out to registered users.
private
statistics() : mixed
tempStorage()
Housekeeping: remove any rows in temp_storage older than 3 days
private
tempStorage() : mixed