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

AttributeList.php

Zuletzt modifiziert: 01.05.2026, 11:28 - Dateigröße: 779.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\Collections;
 09   
 10  use s9e\TextFormatter\Configurator\Validators\AttributeName;
 11   
 12  /**
 13  * Hosts a list of attribute names. The config array it returns contains the names, deduplicated and
 14  * sorted
 15  */
 16  class AttributeList extends NormalizedList
 17  {
 18      /**
 19      * Normalize the name of an attribute
 20      *
 21      * @param  string $attrName
 22      * @return string
 23      */
 24      public function normalizeValue($attrName)
 25      {
 26          return AttributeName::normalize($attrName);
 27      }
 28   
 29      /**
 30      * {@inheritdoc}
 31      */
 32      public function asConfig()
 33      {
 34          $list = array_unique($this->items);
 35          sort($list);
 36   
 37          return $list;
 38      }
 39  }