Verzeichnisstruktur phpBB-3.2.0
- Veröffentlicht
- 06.01.2017
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. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
AttributeList.php
01 <?php
02
03 /*
04 * @package s9e\TextFormatter
05 * @copyright Copyright (c) 2010-2016 The s9e Authors
06 * @license http://www.opensource.org/licenses/mit-license.php The MIT License
07 */
08 namespace s9e\TextFormatter\Configurator\Collections;
09 use s9e\TextFormatter\Configurator\Validators\AttributeName;
10 class AttributeList extends NormalizedList
11 {
12 public function normalizeValue($attrName)
13 {
14 return AttributeName::normalize($attrName);
15 }
16 public function asConfig()
17 {
18 $list = \array_unique($this->items);
19 \sort($list);
20 return $list;
21 }
22 }