Verzeichnisstruktur phpBB-3.3.15
- Veröffentlicht
- 28.08.2024
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 |
AttributePreprocessor.php
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\Items;
09
10 use InvalidArgumentException;
11 use s9e\TextFormatter\Configurator\Items\Regexp;
12
13 class AttributePreprocessor extends Regexp
14 {
15 /**
16 * Return all the attributes created by the preprocessor along with the regexp that matches them
17 *
18 * @return array Array of [attribute name => regexp]
19 */
20 public function getAttributes()
21 {
22 return $this->getNamedCaptures();
23 }
24
25 /**
26 * Return the regexp this preprocessor is based on
27 *
28 * @return string
29 */
30 public function getRegexp()
31 {
32 return $this->regexp;
33 }
34 }