Atomik Event Browser

Atomik::execute()

Atomik::Execute::Start

Fired at the beginning of a call to the Atomik::execute() method.

  1. string &$action

    The action name

  2. array &$context

    The context associated to the action

  3. boolean &$triggerError

    Whether to throw an exception when the action and the view files are missing

function myAtomikExecuteStartHandler(&$action, &$context, &$triggerError)
{
    // your code
}

Atomik::listenEvent('Atomik::Execute::Start', 'myAtomikExecuteStartHandler');

Atomik::Execute::Before

Fired before the inclusion of the action file.

  1. string &$action

    The action name

  2. array &$context

    The context associated to the action

  3. string &$actionFilename

    The action file's name

  4. string &$methodActionFilename

    The method action file's name

  5. boolean &$triggerError

    Whether to throw an exception when the action and the view files are missing

function myAtomikExecuteBeforeHandler(&$action, &$context, &$actionFilename, &$methodActionFilename, &$triggerError)
{
    // your code
}

Atomik::listenEvent('Atomik::Execute::Before', 'myAtomikExecuteBeforeHandler');

Atomik::Execute::After

Fired after the inclusion of the action file.

  1. string $action

    The action name

  2. array &$context

    The context associated to the action

  3. array &$vars

    Variables defined in the action file

  4. boolean &$triggerError

    Whether to throw an exception when the action and the view files are missing

function myAtomikExecuteAfterHandler($action, &$context, &$vars, &$triggerError)
{
    // your code
}

Atomik::listenEvent('Atomik::Execute::After', 'myAtomikExecuteAfterHandler');