Shutdown management class.
More...
|
static array | $callbacks = array() |
| list of custom callbacks
|
|
static bool | $registered = false |
| is this manager already registered?
|
|
Shutdown management class.
- Copyright
- 2013 Petr Skoda http://skodak.org
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ initialize()
static core_shutdown_manager::initialize |
( |
| ) |
|
|
static |
Register self as main shutdown handler.
to be called from lib/setup.php only!
◆ register_function()
static core_shutdown_manager::register_function |
( |
|
$callback, |
|
|
array |
$params = null |
|
) |
| |
|
static |
Register custom shutdown function.
- Parameters
-
callable | $callback | |
array | $params | |
◆ signal_handler()
static core_shutdown_manager::signal_handler |
( |
|
$signo | ) |
|
|
static |
Signal handler for SIGINT, and SIGTERM.
- Parameters
-
int | $signo | The signal being handled |
The documentation for this class was generated from the following file: