Commit | Line | Data |
---|---|---|
60a35505 AE |
1 | <?php |
2 | namespace wcf\system\html\node; | |
3 | ||
1d5f9363 MS |
4 | /** |
5 | * TOOD documentation | |
6 | * @since 2.2 | |
7 | */ | |
60a35505 AE |
8 | abstract class AbstractHtmlNode implements IHtmlNode { |
9 | protected $tagName = ''; | |
10 | ||
81011521 AE |
11 | const PLACEHOLDER = '<!-- META_CODE_INNER_CONTENT -->'; |
12 | ||
60a35505 AE |
13 | public function getTagName() { |
14 | return $this->tagName; | |
15 | } | |
16 | ||
17 | public function replaceTag(array $data) { | |
18 | throw new \BadMethodCallException("Method replaceTag() is not supported by ".get_class($this)); | |
19 | } | |
20 | } |