summaryrefslogtreecommitdiff
path: root/inc/Form/Element.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2015-05-08 19:12:21 +0200
committerAndreas Gohr <andi@splitbrain.org>2015-05-08 19:12:21 +0200
commitde19515f04567db78bd41d5bff68a88bfb8c2a22 (patch)
treee478b1cdf6a186c162f6b62b8dce5addd2f7c17d /inc/Form/Element.php
parent6d0ceaf93ca31dfb83fd4325ef2eecd9cef733c0 (diff)
downloadrpg-de19515f04567db78bd41d5bff68a88bfb8c2a22.tar.gz
rpg-de19515f04567db78bd41d5bff68a88bfb8c2a22.tar.bz2
started with the compatibility layer
Diffstat (limited to 'inc/Form/Element.php')
-rw-r--r--inc/Form/Element.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/inc/Form/Element.php b/inc/Form/Element.php
index 3fd170a80..7938ee009 100644
--- a/inc/Form/Element.php
+++ b/inc/Form/Element.php
@@ -1,7 +1,6 @@
<?php
namespace dokuwiki\Form;
-
/**
* Class Element
*
@@ -31,6 +30,15 @@ abstract class Element {
}
/**
+ * Type of this element
+ *
+ * @return string
+ */
+ public function getType() {
+ return $this->type;
+ }
+
+ /**
* Gets or sets an attribute
*
* When no $value is given, the current content of the attribute is returned.