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 |
UrlFilter.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\AttributeFilters;
09
10 use s9e\TextFormatter\Configurator\Items\AttributeFilter;
11
12 class UrlFilter extends AttributeFilter
13 {
14 /**
15 * Constructor
16 */
17 public function __construct()
18 {
19 parent::__construct('s9e\\TextFormatter\\Parser\\AttributeFilters\\UrlFilter::filter');
20
21 $this->resetParameters();
22 $this->addParameterByName('attrValue');
23 $this->addParameterByName('urlConfig');
24 $this->addParameterByName('logger');
25 $this->setJS('UrlFilter.filter');
26 }
27
28 /**
29 * {@inheritdoc}
30 */
31 public function isSafeInCSS()
32 {
33 return true;
34 }
35
36 /**
37 * {@inheritdoc}
38 */
39 public function isSafeInJS()
40 {
41 return true;
42 }
43
44 /**
45 * {@inheritdoc}
46 */
47 public function isSafeAsURL()
48 {
49 return true;
50 }
51 }