summaryrefslogtreecommitdiff
path: root/framework/IBindable.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/IBindable.php')
-rw-r--r--framework/IBindable.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/framework/IBindable.php b/framework/IBindable.php
new file mode 100644
index 00000000..e6ee32fa
--- /dev/null
+++ b/framework/IBindable.php
@@ -0,0 +1,27 @@
+<?php
+/**
+ * Core interfaces essential for TApplication class.
+ *
+ * @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
+ */
+
+/**
+ * IBindable interface.
+ *
+ * This interface must be implemented by classes that are capable of performing databinding.
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @package System
+ * @since 3.0
+ */
+interface IBindable
+{
+ /**
+ * Performs databinding.
+ */
+ public function dataBind();
+} \ No newline at end of file