<?php/** * To use just include this at the very beginning of each script.**/deferer::initialize();deferer::registerAction(function () { // register user actions // log user actions // send email // track page load times // etc});// more script stuffdeferer::registerAction(function() { // send the admin an email of some action});