Feature/events#1
Conversation
Add a ledge that will allow listeners to override the build in `page_header` function. http://area51.phpbb.com/phpBB/viewtopic.php?f=111&t=42741&p=237037 PHPBB3-9550
There was a problem hiding this comment.
the phpbb_dispatcher global should be on a new line.
Add a ledge that will allow listeners to override the build in `page_footer` function. http://area51.phpbb.com/phpBB/viewtopic.php?f=111&t=42741&p=237037 PHPBB3-9550
|
If many listeners try to override, they will all be called. |
|
Well that is the case with every listener. I'm not sure I'm seeing your point. |
|
The point is: you might not want multiple listeners to be called in this case. |
|
hm... How can we deal with that issue though? As this is needed for STK. |
|
Extending phpbb_event_data to add some kind of stop_propagation() method (or similar) would be one approach. |
|
@igorw a yes. However I'm not sure whether this will pose a real problem I think that these events will only be used in very specific cases where one is designing a larger system around the phpBB core. |
Add ledges that allow listeners to override the phpBB
page_headerandpage_footerfunctions.