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 |
UnsafeTemplateException.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\Exceptions;
09 use DOMNode;
10 use s9e\TextFormatter\Configurator\Helpers\TemplateHelper;
11 class UnsafeTemplateException extends InvalidTemplateException
12 {
13 protected $node;
14 public function __construct($msg, DOMNode $node)
15 {
16 parent::__construct($msg);
17 $this->node = $node;
18 }
19 public function getNode()
20 {
21 return $this->node;
22 }
23 public function highlightNode($prepend = '<span style="background-color:#ff0">', $append = '</span>')
24 {
25 return TemplateHelper::highlightNode($this->node, $prepend, $append);
26 }
27 public function setNode(DOMNode $node)
28 {
29 $this->node = $node;
30 }
31 }