1 | <?php |
||
20 | class DBTags extends DBBaseModule implements ModuleInterface{ |
||
21 | |||
22 | /** |
||
23 | * An array of tags the module is able to process |
||
24 | * |
||
25 | * @var array |
||
26 | * @see \chillerlan\bbcode\Modules\Tagmap::$tags |
||
27 | */ |
||
28 | protected $tags = []; |
||
29 | |||
30 | /** |
||
31 | * An optional array of tags contained in self::$tags which are marked as "noparse" |
||
32 | * |
||
33 | * @var array |
||
34 | * @see \chillerlan\bbcode\Modules\Tagmap::$noparse_tags |
||
35 | */ |
||
36 | protected $noparse_tags = []; |
||
37 | |||
38 | /** |
||
39 | * An optional array of tags contained in self::$tags which are marked as "single tag" |
||
40 | * |
||
41 | * @var array |
||
42 | * @see \chillerlan\bbcode\Modules\Tagmap::$singletags |
||
43 | */ |
||
44 | protected $singletags = []; |
||
45 | |||
46 | /** |
||
47 | * DBTags constructor. |
||
48 | * |
||
49 | * @param \chillerlan\bbcode\BBTemp $bbtemp |
||
50 | */ |
||
51 | public function __construct(BBTemp $bbtemp){ |
||
58 | |||
59 | /** |
||
60 | * Transforms the bbcode, called from BaseModuleInterface |
||
61 | * |
||
62 | * @see \chillerlan\bbcode\Modules\BaseModuleInterface::transform() |
||
63 | * @internal |
||
64 | */ |
||
65 | public function __transform():string{ |
||
68 | } |
||
69 |