Verzeichnisstruktur phpBB-3.1.0


Veröffentlicht
27.10.2014

So funktioniert es


Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück

Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

      (Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

dispatcher_interface.php

Zuletzt modifiziert: 09.10.2024, 12:51 - Dateigröße: 1016.00 Bytes


 01  <?php
 02  /**
 03  *
 04  * This file is part of the phpBB Forum Software package.
 05  *
 06  * @copyright (c) phpBB Limited <https://www.phpbb.com>
 07  * @license GNU General Public License, version 2 (GPL-2.0)
 08  *
 09  * For full copyright and license information, please see
 10  * the docs/CREDITS.txt file.
 11  *
 12  */
 13   
 14  namespace phpbb\event;
 15   
 16  /**
 17  * Extension of the Symfony2 EventDispatcher
 18  *
 19  * It provides an additional `trigger_event` method, which
 20  * gives some syntactic sugar for dispatching events. Instead
 21  * of creating the event object, the method will do that for
 22  * you.
 23  *
 24  * Example:
 25  *
 26  * $vars = array('page_title');
 27  * extract($phpbb_dispatcher->trigger_event('core.index', compact($vars)));
 28  *
 29  */
 30  interface dispatcher_interface extends \Symfony\Component\EventDispatcher\EventDispatcherInterface
 31  {
 32      /**
 33      * Construct and dispatch an event
 34      *
 35      * @param string $eventName    The event name
 36      * @param array $data        An array containing the variables sending with the event
 37      * @return mixed
 38      */
 39      public function trigger_event($eventName, $data = array());
 40  }
 41