summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TButtonType.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TButtonType.php')
-rw-r--r--framework/Web/UI/WebControls/TButtonType.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/framework/Web/UI/WebControls/TButtonType.php b/framework/Web/UI/WebControls/TButtonType.php
new file mode 100644
index 00000000..c4aff275
--- /dev/null
+++ b/framework/Web/UI/WebControls/TButtonType.php
@@ -0,0 +1,30 @@
+<?php
+/**
+ * TButton class file.
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @link http://www.pradosoft.com/
+ * @copyright Copyright &copy; 2005-2014 PradoSoft
+ * @license http://www.pradosoft.com/license/
+ * @package System.Web.UI.WebControls
+ */
+
+/**
+ * TButtonType class.
+ * TButtonType defines the enumerable type for the possible types that a {@link TButton} can take.
+ *
+ * The following enumerable values are defined:
+ * - Submit: a normal submit button
+ * - Reset: a reset button
+ * - Button: a client button (normally does not perform form submission)
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @package System.Web.UI.WebControls
+ * @since 3.0.4
+ */
+class TButtonType extends TEnumerable
+{
+ const Submit='Submit';
+ const Reset='Reset';
+ const Button='Button';
+} \ No newline at end of file