1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 11:13:59 +02:00

[ticket/13059] Add core event to generate_page_link()

Add core event to generate_page_link() to allow
overriding/modifying pagination URLs.
Event request: http://area51.phpbb.com/phpBB/viewtopic.php?f=111&t=45905

PHPBB3-13059
This commit is contained in:
rxu
2014-09-13 13:02:50 +08:00
parent 84e68b3a73
commit ce4035fdd3
4 changed files with 56 additions and 8 deletions

View File

@@ -11,9 +11,18 @@
*
*/
class phpbb_mock_event_dispatcher
class phpbb_mock_event_dispatcher extends \phpbb\event\dispatcher
{
public function trigger_event($eventName, $data)
/**
* Constructor.
*
* Overwrite the constructor to get rid of ContainerInterface param instance
*/
public function __construct()
{
}
public function trigger_event($eventName, $data = array())
{
return array();
}