Atomik Event Browser

Atomik::run()

Atomik::Start

Fired once the bootstrap file has been loaded and all plugins are ready.

  1. 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).

  1. Exception $exception

    The thrown exception

function myAtomikErrorHandler($exception)
{
    // your code
}

Atomik::listenEvent('Atomik::Error', 'myAtomikErrorHandler');