Verzeichnisstruktur phpBB-3.3.16


Veröffentlicht
27.04.2026

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

quote_helper.php

Zuletzt modifiziert: 01.05.2026, 11:25 - Dateigröße: 724.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\feed;
 15   
 16  /**
 17   * Modified quote_helper for feeds (basically just removing all attributes)
 18   */
 19  class quote_helper extends \phpbb\textformatter\s9e\quote_helper
 20  {
 21      /**
 22       * {@inheritdoc}
 23       */
 24      public function inject_metadata($xml)
 25      {
 26          // In feeds we don't want any attributes, so delete all of them
 27          return \s9e\TextFormatter\Utils::replaceAttributes(
 28              $xml,
 29              'QUOTE',
 30              function ()
 31              {
 32                  return [];
 33              }
 34          );
 35      }
 36  }
 37