diff options
Diffstat (limited to 'app/Core')
-rw-r--r-- | app/Core/Event.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Core/Event.php b/app/Core/Event.php index ac81bf87..0e6df5e8 100644 --- a/app/Core/Event.php +++ b/app/Core/Event.php @@ -128,6 +128,17 @@ class Event } /** + * Flush the list of triggered events + * + * @access public + */ + public function clearTriggeredEvents() + { + $this->events = array(); + $this->lastEvent = ''; + } + + /** * Check if a listener bind to an event * * @access public |