blob: 2abe12258ea6d1a44e4dea8e2b72af76c378881f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<?php
/**
* Core interfaces essential for TApplication class.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @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 <weizhuo[at]gamil[dot]com>
* @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);
}
|