HOUSEKEEPING
in package
HOUSEKEEPING
Housekeeping tasks on startup
Table of Contents
- $db : mixed
- object
- $session : mixed
- object
- 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.
Return values
mixed —statistics()
Check if statistics need compiling and emailing out to registered users.
private
statistics() : mixed
Return values
mixed —tempStorage()
Housekeeping: remove any rows in temp_storage older than 3 days
private
tempStorage() : mixed