Atomik::dispatchPluggableApplication()
Atomik::Dispatchpluginapplication::Ready
Fired when a pluggable application configuration has been computed
-
string &$plugin
App's name
-
string &$uri
The uri that will be used for the app
-
array $config
App's configuration
-
boolean &$cancel
To cancel the dispatch
function myAtomikDispatchpluginapplicationReadyHandler(&$plugin, &$uri, $config, &$cancel)
{
// your code
}
Atomik::listenEvent('Atomik::Dispatchpluginapplication::Ready', 'myAtomikDispatchpluginapplicationReadyHandler');
Atomik::Dispatchpluginapplication::Start
Fired before a pluggable application is going to be dispatched, after the Application.php file has been included
-
string &$plugin
App's name
-
string &$uri
The uri that will be used for the app
-
array $config
App's configuration
-
boolean &$cancel
To cancel the dispatch
function myAtomikDispatchpluginapplicationStartHandler(&$plugin, &$uri, $config, &$cancel)
{
// your code
}
Atomik::listenEvent('Atomik::Dispatchpluginapplication::Start', 'myAtomikDispatchpluginapplicationStartHandler');

