Atomik::run()
Atomik::Start
Fired once the bootstrap file has been loaded and all plugins are ready.
-
boolean &$cancel
Set to true to cancel the dispatch process. Will exit Atomik.
function myAtomikStartHandler(&$cancel)
{
// your code
}
Atomik::listenEvent('Atomik::Start', 'myAtomikStartHandler');
Atomik::Error
Fired when an error occurs (catch_errors needs to ne true).
-
Exception $exception
The thrown exception
function myAtomikErrorHandler($exception)
{
// your code
}
Atomik::listenEvent('Atomik::Error', 'myAtomikErrorHandler');

