summaryrefslogtreecommitdiff
path: root/includes/htmlform/HTMLApiField.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/htmlform/HTMLApiField.php')
-rw-r--r--includes/htmlform/HTMLApiField.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/includes/htmlform/HTMLApiField.php b/includes/htmlform/HTMLApiField.php
new file mode 100644
index 00000000..f988e622
--- /dev/null
+++ b/includes/htmlform/HTMLApiField.php
@@ -0,0 +1,19 @@
+<?php
+
+class HTMLApiField extends HTMLFormField {
+ public function getTableRow( $value ) {
+ return '';
+ }
+
+ public function getDiv( $value ) {
+ return $this->getTableRow( $value );
+ }
+
+ public function getRaw( $value ) {
+ return $this->getTableRow( $value );
+ }
+
+ public function getInputHTML( $value ) {
+ return '';
+ }
+}