summaryrefslogtreecommitdiff
path: root/framework/Web/UI/IBroadcastEventReceiver.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/IBroadcastEventReceiver.php')
-rw-r--r--framework/Web/UI/IBroadcastEventReceiver.php33
1 files changed, 33 insertions, 0 deletions
diff --git a/framework/Web/UI/IBroadcastEventReceiver.php b/framework/Web/UI/IBroadcastEventReceiver.php
new file mode 100644
index 00000000..d0d86e8e
--- /dev/null
+++ b/framework/Web/UI/IBroadcastEventReceiver.php
@@ -0,0 +1,33 @@
+<?php
+/**
+ * TControl, TControlCollection, TEventParameter and INamingContainer 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
+ */
+
+/**
+ * IBroadcastEventReceiver interface
+ *
+ * If a control wants to check broadcast event, it must implement this interface.
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @package System.Web.UI
+ * @since 3.0
+ */
+interface IBroadcastEventReceiver
+{
+ /**
+ * Handles broadcast event.
+ * This method is invoked automatically when an event is broadcasted.
+ * Within this method, you may check the event name given in
+ * the event parameter to determine whether you should respond to
+ * this event.
+ * @param TControl sender of the event
+ * @param TBroadCastEventParameter event parameter
+ */
+ public function broadcastEventReceived($sender,$param);
+} \ No newline at end of file