Elgg
Version master
|
Shutdown handler. More...
Public Member Functions | |
__construct (protected Application $app) | |
Constructor. More... | |
__invoke () | |
{} More... | |
shutdownDatabase () | |
Shutdown the database, execute delayed queries and do some logging. More... | |
shutdownApplication () | |
Emits a shutdown:system event upon PHP shutdown, but before database connections are dropped. More... | |
persistCaches () | |
Persist some of the core caches. More... | |
Shutdown handler.
Definition at line 14 of file ShutdownHandler.php.
Elgg\Application\ShutdownHandler::__construct | ( | protected Application | $app | ) |
Constructor.
Application | $app | Application |
Definition at line 23 of file ShutdownHandler.php.
Elgg\Application\ShutdownHandler::__invoke | ( | ) |
{}
Definition at line 29 of file ShutdownHandler.php.
Elgg\Application\ShutdownHandler::persistCaches | ( | ) |
Elgg\Application\ShutdownHandler::shutdownApplication | ( | ) |
Emits a shutdown:system event upon PHP shutdown, but before database connections are dropped.
Register for the shutdown:system event to perform functions at the end of page loads.
Definition at line 69 of file ShutdownHandler.php.
Elgg\Application\ShutdownHandler::shutdownDatabase | ( | ) |
Shutdown the database, execute delayed queries and do some logging.
Definition at line 43 of file ShutdownHandler.php.