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