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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user