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 |
Unparser.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;
09
10 use DOMDocument;
11
12 abstract class Unparser
13 {
14 /**
15 * Transform an intermediate representation back to its original form
16 *
17 * @param string $xml Intermediate representation
18 * @return string Original text
19 */
20 public static function unparse($xml)
21 {
22 return html_entity_decode(strip_tags($xml), ENT_QUOTES, 'UTF-8');
23 }
24 }