summaryrefslogtreecommitdiff
path: root/framework/interfaces.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/interfaces.php')
-rw-r--r--framework/interfaces.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/framework/interfaces.php b/framework/interfaces.php
index 2a407696..eb9084b3 100644
--- a/framework/interfaces.php
+++ b/framework/interfaces.php
@@ -280,4 +280,41 @@ interface IBindable
public function dataBind();
}
+/**
+ * IActiveControl interface.
+ *
+ * Active controls must implement IActiveControl interface.
+ *
+ * @author Wei Zhuo <weizhuo[at]gamil[dot]com>
+ * @version $Revision: $ $Date: $
+ * @package System
+ * @since 3.0
+ */
+interface IActiveControl
+{
+
+}
+
+/**
+ * ICallbackEventHandler interface.
+ *
+ * If a control wants to respond to callback event, it must implement this
+ * interface.
+ *
+ * @author Wei Zhuo <weizhuo[at]gamil[dot]com>
+ * @version $Revision: $ $Date: $
+ * @package System
+ * @since 3.0
+ */
+interface ICallbackEventHandler
+{
+ /**
+ * Raises callback event. The implementation of this function should raise
+ * appropriate event(s) (e.g. OnClick, OnCommand) indicating the component
+ * is responsible for the callback event.
+ * @param TCallbackEventParameter the parameter associated with the callback event
+ */
+ public function raiseCallbackEvent($eventArgument);
+}
+
?> \ No newline at end of file