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

Custom.php

Zuletzt modifiziert: 01.05.2026, 11:28 - Dateigröße: 762.00 Bytes


 01  <?php
 02   
 03  /**
 04  * @package   s9e\TextFormatter
 05  * @copyright Copyright (c) 2010-2022 The s9e authors
 06  * @license   http://www.opensource.org/licenses/mit-license.php The MIT License
 07  */
 08  namespace s9e\TextFormatter\Configurator\TemplateNormalizations;
 09   
 10  use DOMElement;
 11   
 12  class Custom extends AbstractNormalization
 13  {
 14      /**
 15      * @var callable Normalization callback
 16      */
 17      protected $callback;
 18   
 19      /**
 20      * Constructor
 21      *
 22      * @param callable $callback Normalization callback
 23      */
 24      public function __construct(callable $callback)
 25      {
 26          $this->callback = $callback;
 27      }
 28   
 29      /**
 30      * Call the user-supplied callback
 31      *
 32      * @param  DOMElement $template <xsl:template/> node
 33      * @return void
 34      */
 35      public function normalize(DOMElement $template)
 36      {
 37          call_user_func($this->callback, $template);
 38      }
 39  }