/** * Registers the shutdown function. * @see eZExpiryHandler::shutdown() */ public static function registerShutdownFunction() { if (!eZExpiryHandler::$isShutdownFunctionRegistered) { register_shutdown_function(array('eZExpiryHandler', 'shutdown')); eZExpiryHandler::$isShutdownFunctionRegistered = true; } }