From 5230f8f8a86fc1ae5d90f8c74ae65c93e197502b Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Thu, 22 Jan 2015 09:14:12 +0100 Subject: Apply namespaces to class inheritances (pt1) --- .../UI/ActiveControls/ICallbackEventHandler.php | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 framework/Web/UI/ActiveControls/ICallbackEventHandler.php (limited to 'framework/Web/UI/ActiveControls/ICallbackEventHandler.php') diff --git a/framework/Web/UI/ActiveControls/ICallbackEventHandler.php b/framework/Web/UI/ActiveControls/ICallbackEventHandler.php new file mode 100644 index 00000000..2abe1225 --- /dev/null +++ b/framework/Web/UI/ActiveControls/ICallbackEventHandler.php @@ -0,0 +1,33 @@ + + * @link http://www.pradosoft.com/ + * @copyright Copyright © 2005-2014 PradoSoft + * @license http://www.pradosoft.com/license/ + * @package Prado\Web\UI\ActiveControls + */ + +namespace Prado\Web\UI\ActiveControls; + +/** + * ICallbackEventHandler interface. + * + * If a control wants to respond to callback event, it must implement this + * interface. + * + * @author Wei Zhuo + * @package Prado\Web\UI\ActiveControls + * @since 3.1 + */ +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 -- cgit v1.2.3