Atomik Event Browser

Console

Console::Start

Fired when the console starts

  1. string &$command

    The command

  2. array &$arguments

    Arguments from the command line

function myConsoleStartHandler(&$command, &$arguments)
{
    // your code
}

Atomik::listenEvent('Console::Start', 'myConsoleStartHandler');

Console::End

Fired when the console ends

  1. string $command

    The command

  2. array $arguments

    Arguments from the command line

function myConsoleEndHandler($command, $arguments)
{
    // your code
}

Atomik::listenEvent('Console::End', 'myConsoleEndHandler');

Console::Init

Fired when the init command is called after all default actions has been executed

  1. array $arguments

    Arguments from the command line

function myConsoleInitHandler($arguments)
{
    // your code
}

Atomik::listenEvent('Console::Init', 'myConsoleInitHandler');

Console::Generate

Fired when the generate command is called

  1. string $action

    The action for which the generate command has been called

function myConsoleGenerateHandler($action)
{
    // your code
}

Atomik::listenEvent('Console::Generate', 'myConsoleGenerateHandler');