+
+ public static function getHandlers($name)
+ {
+ return Event::$_handlers[$name];
+ }
+
+ /**
+ * Disables any and all handlers that have been set up so far;
+ * use only if you know it's safe to reinitialize all plugins.
+ */
+ public static function clearHandlers() {
+ Event::$_handlers = array();
+ }