import raise function into internal static method

to complete originnal

http://svn.coderepos.org/share/events/phpframework/plain_php/trunk/default.php