Atomik::redirect()
Atomik::Redirect
Fired before a redirection
-
string &$url
The url to redirect to
-
boolean &$className
Whether to apply Atomik::url() on the $url
-
int &$httpCode
The redirection HTTP code
function myAtomikRedirectHandler(&$url, &$className, &$httpCode)
{
// your code
}
Atomik::listenEvent('Atomik::Redirect', 'myAtomikRedirectHandler');

