Index: trunk/kernel/constants.php =================================================================== diff -u -r4467 -r4627 --- trunk/kernel/constants.php (.../constants.php) (revision 4467) +++ trunk/kernel/constants.php (.../constants.php) (revision 4627) @@ -17,6 +17,12 @@ safeDefine('stTREE', 1); safeDefine('stTAB', 2); + // event statuses + define('erSUCCESS', 0); // event finished working succsessfully + define('erFAIL', -1); // event finished working, but result is unsuccsessfull + define('erFATAL', -2); // event experienced FATAL error - no hooks should continue! + define('erPERM_FAIL', -3); // event failed on internal permission checking (user has not permission) + $application =& kApplication::Instance(); $spacer_url = $application->BaseURL().'kernel/admin_templates/img/spacer.gif'; define('SPACER_URL', $spacer_url);