[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/phpbb/event/ -> dispatcher_interface.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 50 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

dispatcher_interface:: (3 methods):

Interface: dispatcher_interface  - X-Ref

Extension of the Symfony2 EventDispatcher

It provides an additional `trigger_event` method, which
gives some syntactic sugar for dispatching events. Instead
of creating the event object, the method will do that for


$vars = array('page_title');
extract($phpbb_dispatcher->trigger_event('core.index', compact($vars)));

trigger_event($eventName, $data = array()   X-Ref
Construct and dispatch an event

param: string $eventName    The event name
param: array $data        An array containing the variables sending with the event
return: mixed

disable()   X-Ref
Disable the event dispatcher.

enable()   X-Ref
Enable the event dispatcher.

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1