WIKINDX API trunk

HOUSEKEEPING
in package

HOUSEKEEPING

Housekeeping tasks on startup

Table of Contents

Properties

$db  : mixed
object
$session  : mixed
object

Methods

cleanRegistration()  : mixed
Clean out the user registration database (remove entries older than one week)
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

Methods

cleanRegistration()

Clean out the user registration database (remove entries older than one week)

private cleanRegistration() : mixed

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.

Also purges error logs.

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

        
On this page

Search results