about summary refs log tree commit diff stats
path: root/wiki/inc/Form/HTMLElement.php
diff options
context:
space:
mode:
Diffstat (limited to 'wiki/inc/Form/HTMLElement.php')
-rw-r--r--wiki/inc/Form/HTMLElement.php29
1 files changed, 0 insertions, 29 deletions
diff --git a/wiki/inc/Form/HTMLElement.php b/wiki/inc/Form/HTMLElement.php
deleted file mode 100644
index 591cf47..0000000
--- a/wiki/inc/Form/HTMLElement.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-namespace dokuwiki\Form;
-
-/**
- * Class HTMLElement
- *
- * Holds arbitrary HTML that is added as is to the Form
- *
- * @package dokuwiki\Form
- */
-class HTMLElement extends ValueElement {
-
-
-    /**
-     * @param string $html
-     */
-    public function __construct($html) {
-        parent::__construct('html', $html);
-    }
-
-    /**
-     * The HTML representation of this element
-     *
-     * @return string
-     */
-    public function toHTML() {
-        return $this->val();
-    }
-}